Date: Sun, 23 Feb 1997 10:16:56 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: mpp@freefall.freebsd.org (Mike Pritchard) Cc: freebsd-bugs@freefall.freebsd.org Subject: Re: bin/2304 Message-ID: <Mutt.19970223101656.j@uriah.heep.sax.de> In-Reply-To: <199702230510.VAA17973@freefall.freebsd.org>; from Mike Pritchard on Feb 22, 1997 21:10:01 -0800 References: <199702230510.VAA17973@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
As Mike Pritchard wrote: > Maybe it should only ignore the error if errno == EEXIST? > Does POSIX or the like have anything to say on the matter? -p Create any missing intermediate pathname components. For each dir operand that does not name an existing directory, effects equivalent to those caused by following command shall occur: mkdir -p -m $(umask -S),u+wx $(dirname dir) && mkdir [-m mode] dir where the [-m mode] option represents that option supplied to the original invocation of mkdir, if any. Each dir operand that names an existing directory shall be ignored without error. 4.41.8 Exit Status The mkdir utility shall exit with one of the following values: 0 All the specified directories were created successfully or the -p option was specified and all the specified directories now exist. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970223101656.j>