> The solution for this is to use the UUID of the drive (which is unique
> to the drive, I think) rather than the device node.
>

snip

> But I looked up the UUID of each filesystem, and now my fstab looks like
> this:
>
> UUID=8948fa53-af4f-4db2-b3f7-f256e33ad20e
> /b                   reiserfs   defaults              0 0
> UUID=98ce791e-93a7-4c84-9652-5d1a1a8c437d
> /b1                  ext3       acl,user_xattr        0 0
>
> and it works perfectly every time!
>
> To get the UUID, have the (currently assigned) device node (I'll use
> /dev/sde1 as an example) and as root do:
>
> (For ext3)
> tune2fs -l /dev/sde1
>
> (For reiser - partition must be unmounted first)
> reiserfstune /dev/sde1
>
> These printouts will display your filesystems' UUIDs, which you can then
> sub in as shown above.

Cool.  Thanks.  I'm saving this one for future use :-)


C
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to