Re: libblkid: ID_FS_VERSION

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

 



On Monday 10 July 2017 13:08:28 Karel Zak wrote:
> On Wed, Jul 05, 2017 at 01:49:26PM +0200, Pali Rohár wrote:
> > Hi! What is the meaning of the ID_FS_VERSION attribute? I'm trying to 
> > find documentation about libblkid attributes, but seems there is none.
> 
> libblkid/src/superblocks/superblocks.c
> 
>    * @VERSION: filesystem version
> 
> :-)

That does not provide more information :-)

> Well, the field is to provide more details about the filesystem, for
> example we have VERSION="FAT16" TYPE="vfat", and so on. Note that TYPE
> is usually name used by kernel (to be usable for "mount -t <type>").
> 
> I guess the VERSION is used by some userspace stuff (udisks?) to get
> more information (or provide more details to end-users). It's probably
> nothing critical.

I'm thinking if we can provide UDF revision/version of UDF filesystem to
userspace and looks like ID_FS_VERSION is good candidate for it...

What do you think?

E.g. Linux kernel is able to read UDF filesystem up to revision 2.50 and
has read-write support up to revision 2.01. So for userspace this
information can be useful.

-- 
Pali Rohár
pali.rohar@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe util-linux" 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