Re: [reiserfs-dev] [PATCH] UUID & volume labels support for reiserfs

Oleg Drokin
2002-01-11T09:24:00Z

Hello!

On Wed, Jan 09, 2002 at 12:14:28PM -0500, Chris Mason wrote:

> > In fact, current reiserfsprogs understands these fields (look into the
> > the struct super_block definition in reiserfsprogs). It just cannot
> > change content of the fields.
> /* Structure of super block on disk */
> struct reiserfs_super_block
> {
> /* 0 */ struct reiserfs_super_block_v1 s_v1;
> /* 76 */ char sb_mnt_version[16];
> /* 92 */ char sb_mkfs_version[16];
> /*108 */ char sb_fsck_version[16];
> /*124 */ char sb_unused[204-16-16-16-SB_SIZE_V1] ;
> /* zero filled by mkreiserfs */ };

> Show me the part where it knows what a uuid is. It should at least be able
> to show the uuid set by the kernel.
It does not know about uuid per se, but it know in that area some text data is stored.
(BTW, we are started to fix reiserfsprogs, so that struct superblock will be the same in kernel and in reiserfsprogs.
It is already almost close in cvs ;) )
I see MArcello have not applied this patch to 2.4.18-pre3, so we have some more time to prepare reiserfsprogs ;)

Bye,
Oleg