Skip to contentSkip to conversation

Reiserfs labels/uuid in 2.5.X

DISCUSSION Jordan Breeding 3 participants 3 messages May 16, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

I noticed that reiserfstune can now generate uuids and place labels
in the superblock. When will the reiserfs code in 2.5.X be able to use those fields to do things like mount -L "/usr" /usr? Right now that command simply states that it can not find a suitable partition. Thanks for any information.

Jordan

#1 lore raw

Hello!

Quoted 3 lines · Jordan Breeding

I noticed that reiserfstune can now generate uuids and place labels
in the superblock. When will the reiserfs code in 2.5.X be able to use those fields to do things like mount -L "/usr" /usr? Right now that

AFAIK, this have nothing to do with kernel at all. Label decoding is done by mount itself. Andreas Dilger can shed moer light on this topic,

Quoted 2 lines

command simply states that it can not find a suitable partition. Thanks for any information.

Perhaps your mount is not recent enough (or support for reiserfs was not coded yet).

Bye,
Oleg

#2 lore raw
Quoted 8 lines · Oleg Drokin
Quoted 3 lines · Jordan Breeding

I noticed that reiserfstune can now generate uuids and place labels
in the superblock. When will the reiserfs code in 2.5.X be able to use those fields to do things like mount -L "/usr" /usr? Right now that

AFAIK, this have nothing to do with kernel at all. Label decoding is done by mount itself. Andreas Dilger can shed moer light on this topic,

You are correct - the support needs to go into mount itself. Sadly, while I have a working version of libblkid available (which understands labels and UUIDs in reiserfs), I have never finished the work to integrate this into the mount program.

The blkid library is available at the below URL if anyone is interested in working on this. I have agreement from Andries Brouwer (mount maintainer) that he would accept this change, but I have never gotten around to doing it.

http://www-mddsp.enel.ucalgary.ca/People/adilger/blkid/

Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/