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

Re: file system analogue of blkid.



On 8/21/2013 10:48 AM, Sven Joachim wrote:
> On 2013-08-21 16:49 +0200, peasthope@shaw.ca wrote:
> 
>> blkid gives the salient parameters of a partition.
>> Is there an analogous command yielding parameters 
>> of a filesystem?  Hypothetically, 
>> fsid /dev/sda1
>> yielding type of filesystem, whether it is bootable, 
>> number of inodes, size of blocks & etc.

Filesystem do not have bootable flags AFAIK, though partitions certainly do.

> I'm not aware of a generic utility, but for ext[234] filesystems
> dumpe2fs(8) gives quite a lot of useful information.

For XFS filesystems use xfs_info(8).

-- 
Stan



Reply to: