* libblkid: ID_FS_VERSION
@ 2017-07-05 11:49 Pali Rohár
2017-07-10 11:08 ` Karel Zak
0 siblings, 1 reply; 5+ messages in thread
From: Pali Rohár @ 2017-07-05 11:49 UTC (permalink / raw)
To: Karel Zak; +Cc: util-linux
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
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.
--
Pali Rohár
pali.rohar@gmail.com
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libblkid: ID_FS_VERSION
2017-07-05 11:49 libblkid: ID_FS_VERSION Pali Rohár
@ 2017-07-10 11:08 ` Karel Zak
2017-07-10 11:15 ` Pali Rohár
0 siblings, 1 reply; 5+ messages in thread
From: Karel Zak @ 2017-07-10 11:08 UTC (permalink / raw)
To: Pali Rohár; +Cc: util-linux
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
:-)
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.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libblkid: ID_FS_VERSION
2017-07-10 11:08 ` Karel Zak
@ 2017-07-10 11:15 ` Pali Rohár
2017-07-10 11:52 ` Karel Zak
0 siblings, 1 reply; 5+ messages in thread
From: Pali Rohár @ 2017-07-10 11:15 UTC (permalink / raw)
To: Karel Zak; +Cc: util-linux
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@gmail.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libblkid: ID_FS_VERSION
2017-07-10 11:15 ` Pali Rohár
@ 2017-07-10 11:52 ` Karel Zak
2017-07-10 17:48 ` Pali Rohár
0 siblings, 1 reply; 5+ messages in thread
From: Karel Zak @ 2017-07-10 11:52 UTC (permalink / raw)
To: Pali Rohár; +Cc: util-linux
On Mon, Jul 10, 2017 at 01:15:09PM +0200, Pali Rohár wrote:
> 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?
It seems blkid_probe_set_version() is nowhere used for UD now, so we have
absolute freedom to use it in some way.
> 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.
Yes, sounds good.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libblkid: ID_FS_VERSION
2017-07-10 11:52 ` Karel Zak
@ 2017-07-10 17:48 ` Pali Rohár
0 siblings, 0 replies; 5+ messages in thread
From: Pali Rohár @ 2017-07-10 17:48 UTC (permalink / raw)
To: Karel Zak; +Cc: util-linux
[-- Attachment #1: Type: Text/Plain, Size: 1646 bytes --]
On Monday 10 July 2017 13:52:36 Karel Zak wrote:
> On Mon, Jul 10, 2017 at 01:15:09PM +0200, Pali Rohár wrote:
> > 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?
>
> It seems blkid_probe_set_version() is nowhere used for UD now, so we
> have absolute freedom to use it in some way.
>
> > 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.
>
> Yes, sounds good.
>
> Karel
https://github.com/karelzak/util-linux/pull/483
--
Pali Rohár
pali.rohar@gmail.com
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-07-10 17:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-05 11:49 libblkid: ID_FS_VERSION Pali Rohár
2017-07-10 11:08 ` Karel Zak
2017-07-10 11:15 ` Pali Rohár
2017-07-10 11:52 ` Karel Zak
2017-07-10 17:48 ` Pali Rohár
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).