Re: Exporting ext4-specific information through fsinfo attributes

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

 



On Wed, Apr 01, 2020 at 08:39:07AM +0100, David Howells wrote:
> Hi Ted,
> 
> Whilst we were at Vault, I asked you if there was any live ext4 information
> that it could be useful to export through fsinfo().  I've implemented a patch
> that exports six superblock timestamps:
> 
> 	FSINFO_ATTR_EXT4_TIMESTAMPS: 
> 		mkfs    : 2016-02-26 00:37:03
> 		mount   : 2020-03-31 21:57:30
> 		write   : 2020-03-31 21:57:28
> 		fsck    : 2018-12-17 23:32:45
> 		1st-err : -
> 		last-err: -
> 
> but is there anything else that could be of interest?

The entire superblock as a binary blob? :)

This way we can begin moving dumpe2fs/tune2fs away from reading the raw
disk on live filesystems.

(I'd make the same noises about xfs, but less urgently since we already
have ioctls for that purpose.)

--D

> 
> Thanks,
> David
> 



[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