Re: [PATCH] debugfs: print "Xst" bits of file mode via stat

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

 



On Tue, Oct 10, 2017 at 04:38:50PM -0600, Andreas Dilger wrote:
> Currently, debugfs does not print the Xst high-order mode bits
> in the "stat" output.  While "ls -l" shows these bits are set:
> 
>   # ls -il /mnt/tmp/O/0/d2/406306
>   1588 0 -rwSrwSrw- 1 root root 0 Dec 31  1969 /mnt/tmp/O/0/d2/406306
> 
> debugfs currently only prints the low nine "ugo" mode bits:
> 
>   # debugfs -c -R "stat O/0/d2/406306" /dev/vgmyth/lvmythost4
>   Inode: 1588   Type: regular    Mode:  0666   Flags: 0x80000
> 
> Fix debugfs so that the high-order mode bits are also printed,
> if available, otherwise only print the standard low mode bits.
> 
>   # debugfs -c -R "stat O/0/d2/406306" /dev/vgmyth/lvmythost4
>   Inode: 1588   Type: regular    Mode:  06666   Flags: 0x80000
> 
> Signed-off-by: Andreas Dilger <adilger@xxxxxxxxx>

Thanks, applied.

					- Ted



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux