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, Sep 26, 2010 at 09:06:31PM +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.

 Applied with some minor changes, thanks.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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