Hi, since coreutils-6.2 mkdir behaves imho not correct when using the -pv switch. Just let me explain it with an example: with mkdir of <coreutils-6.2 when creating a directory-tree you get the following output when using the -v switch: gamemaster:~ # mkdir -pv foo/bar/foobar/barfoo mkdir: created directory `foo' mkdir: created directory `foo/bar' mkdir: created directory `foo/bar/foobar' mkdir: created directory `foo/bar/foobar/barfoo' gamemaster:~ # but with mkdir of >=coreutils-6.2 the -v switch omits leadings directories except for the last leaf in the tree: gamemaster:~ # mkdir -pv foo/bar/foobar/barfoo mkdir: created directory `foo' mkdir: created directory `bar' mkdir: created directory `foobar' mkdir: created directory `foo/bar/foobar/barfoo' gamemaster:~ # I don't know if this is a bug or a wanted behaviour. For me it looks like a bug because if mkdir tells me that it created bar and not foo/bar I assume bar was created in ${PWD} and not in ${PWD}/foo as I told mkdir. Cheers Poly-C
this is because they rewrote mkdir to fork children when creating directories ... ive e-mailed upstream about it to see what they think
ok, upstream has fixed this up ... it'll be in the next release i wont bother backporting the fix since the behavior change is so trivial ;)
No problem. Thanks for your work anyway :) Cheers Poly-C