Mounting an ext2 partition on a USB storage device with "mount -U [uuid]" with a UUID as reported by tune2fs works. Use reiserfstune to obtain the UUID for a reiserfs partion on a USB storage device and attempt to mount it with the same syntax fails every time. Reproducible: Always Steps to Reproduce: 1. Attach a USB storage device 2. fdisk to create a primary partition 3. mkreiserfs /dev/sda1 4. reiserfstune /dev/sda1 5. mkdir /mnt/sda1 6. mount -U [uuid as reported in #4] /mnt/sda1 Actual Results: mount reports an error "no such partition" Expected Results: Mounted the matching partition on the USB storage device on /mnt/sda1.
neglected to provide `emerge info` also, what version of reiserfsprogs ? please try with 3.6.18
I was working with 3.6.17, but I added ~x86 to reiserfsprogs and re-emerged to get 3.6.17. Short story: I still cannot mount by UUID. mount -U (uuid as reported by reiserfstune) still results in "mount: no such partition found".
sorry...I reemerged to 3.6.18...but all results are as I reported above.
ok, here's a quick test case to reproduce this: # dd if=/dev/zero of=blah count=100000 # mkreiserfs -q -f blah # mkdir -p /mnt/temp # mount -o loop blah /mnt/temp # <- works just fine # umount /mnt/temp # reiserfstune blah | grep ^UUID UUID: 2ddf8152-15be-437e-9992-913346c25acc # mount -o loop -U 2ddf8152-15be-437e-9992-913346c25acc blah /mnt/temp mount: no such partition found so now the question is, where is the problem ? i think the issue lies with util-linux/mount ... i have util-linux-2.12b over here ...
$ mount -V mount: mount-2.12
Additionally: $ qpkg -I -v util-linux sys-apps/util-linux-2.12-r4 *
As of: sys-fs/reiserfsprogs-3.6.19 sys-apps/util-linux-2.12p-r1 This seems to work now, so i'm closing this. process used for testing: 1. cfdisk /dev/hdd 2. make partition 3. partprobe /dev/hdd (to rescan partition table for kernel) 4. mkreiserfs /dev/hdd1 5. reiserfstune /dev/hdd1 6. mkdir /tmp/reisermount 7. mount -U (UUID here) /tmp/reisermount 8. umount /tmp/reisermount 9. mount UUID=(UUID here) /tmp/reisermount 10. umount /tmp/reisermount