Dmytro Taranovsky <[EMAIL PROTECTED]> writes: > mkdir: cannot create directory `new/new': No such file or directory
Here's another good one: $ mkdir /bin/sh/foo mkdir: cannot create directory `/bin/sh/foo': Not a directory > mkdir should print a more accurate error message, Well, the existing messages are accurate, it's just that one needs to know what they mean. (:-) Unfortunately nicening up the messages wouldn't be that easy, as the most natural implementation of mkdir is to use the mkdir system call and to use perror when it fails. It's not easy to see how mkdir could do a better job in general. I suppose it could poke around in the file system, but it'd be vulnerable to printing the wrong diagnostic if some other process is modifying the file system at the same time. _______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils