Re: [PATCH] namei: parse all path arguments when an optarg path will fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2010-09-26 at 21:06 +0200, Sami Kerola wrote:
> Old implementation of namei listed path all the way to non-existing
> file or directory, something like:
> 
> # namei /usr/bin/nxdir/file
> f: /usr/bin/nxdir/file
>  d /
>  d usr
>  d bin
>  ? nxdir - No such file or directory (2)
> 
> whiles the current implementation prints:
> 
> # namei /usr/bin/nxdir/file
> namei: failed to stat: /usr/bin/nxdir/file: No such file or directory
> 
> The new output it's not helpful. I am especially interested see where
> the path is broken when a path is symlink to other path with symlink,
> and few more like that, and something somewhere is broken.
> 

Never thought of it like that, seems like a nice addition.

PS: Please use
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=blob_plain;f=README.devel;hb=master for sending patches, instead of file attachments.


--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux