summaryrefslogtreecommitdiff
path: root/bin/mkdir
AgeCommit message (Collapse)Author
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-09-30Fix a problem in the last commit. Upon closer reading of POSIX, inTodd C. Miller
-p mode we only want to change the mode on directories we actually created.
2008-09-30Fix "-m mode" in conjunction with the -p flag. Also simplify the errorTodd C. Miller
handling. Closes PR 5908. OK deraadt@
2008-04-16mkfifo makes fifos, not directories; from Ben CalvertJason McIntyre
while here, make the description of -m more consistent for mkdir, mkfifo, and mknod. add a touch of .Ex for mkdir too.
2008-02-13Rework the fix in 1.20. The original fix causes problems for systraceTodd C. Miller
policies since mkdir(2) will be called for each directory in the path, even things like / or /usr. We now use a hybrid approach uses stat(2) until either we find something missing or we reach that last component. Then we switch to calling mkdir(). Tested by bernd@ and chl@
2008-01-02fix PR 5141:Charles Longeau
race condition in mkdir -p that may lead to an erroneous successful exit status. reported by Ralf Wildenhues <Ralf.Wildenhues at gmx.de> fix based on a suggested patch by Bruno Carnazzi <bcarnazzi at gmail.com>, largely inspired by NetBSD mkdir()s implementation looks OK otto@ OK millert@
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29- consistent STANDARDS blurbJason McIntyre
- note which options are extensions to POSIX discussed w/ deraadt otto millert
2006-08-04Add reference to mkdir(1).Ray Lai
OK jmc@
2006-03-24Make sure `path' variable is always NUL-terminated.Ray Lai
Totally different diff (but functionally equivalent) by Loic Tortay and okayed by tedu@. ``Looks sane to me'' moritz@
2004-12-13standard EXAMPLES;Jason McIntyre
2004-12-13more references to hier(7), from mickey;Jason McIntyre
2004-07-01setmode(3) returns void *, not mode_t *. ok millert@Otto Moerbeek
2003-07-29spacingTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-12more .LiTheo de Raadt
2002-07-04ansiTheo de Raadt
2002-06-09knfTodd T. Fries
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-01-16missed some registers, kill'em!Mike Pechkin
millert@ ok
2001-09-06o) __progname aria;Mike Pechkin
millert@ ok.
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-10-18typoAaron Campbell
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
existing EXAMPLES sections.
2000-03-21Add HISTORY sections; from FreeBSD. Information originally obtained fromAaron Campbell
"A Quarter Centry of UNIX, Peter H. Salus, Page 41".
2000-03-17Remove hard sentence breaks.Aaron Campbell
2000-02-02Make mkdir -m 1777 foo and the like work. From how Netbsd/Freebsd do it.Eric Jackson
1999-09-23Add EXAMPLES. Fix formatting nits.Aaron Campbell
1999-08-17consistencyAaron Campbell
1999-08-16more precise SYNOPSIS syntaxAaron Campbell
1999-07-21use .Ar on later .It Fl linesTheo de Raadt
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneAaron Campbell
it's given)
1998-11-06use .Dq/.Sq macros instead of `` ''s and ` 's (think typesetting and futureAaron Campbell
processing); kill redundant .Pp macros; other misc fixes
1998-09-26more setmode() leaks -- kill 'em allTheo de Raadt
1998-09-14First complete sweep of man pages, bin/. Command/function names previouslyAaron Campbell
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS cleanups, other miscellaneous typos.
1998-01-25Fix a race where a dir might have been created after a stat call, but beforeNiklas Hallqvist
our mkdir
1997-09-21$OpenBSD$Theo de Raadt
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-07-23tabifykstailey
1996-08-14Get mode of last directory right when doing mkdir -p; NetBSD PR #2686Thorsten Lockert
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt