Am Freitag, den 25.04.2008, 21:27 +0100 schrieb R Kimber:
> Is this new assignment permanent? Can I rely on it being /dev/sdd1, as
> it now is, from reboot to reboot?
no, it isnt, the linux kernel uses partition UUIDs by default for
identifying devices now, the /dev/sddX and /dev/hddX devices can change
all the time, use a UUID entry in your fstab to identify the drive. this
ID stamp gets written at formatting time and will only change if you
change the formatting of your partition. to get the UUID of a partition
use the command:
blkid <partition name>
where partition name is /dev/sddX or hddX ...
in your fstab have a line like (indeed adjust the filesystem if you dont
UUID=f8c42a53-f50b-4d40-a56f-d1463ba0e822 /backups ext3 defaults 0 0
with the UUID output the first command gave you.
while gvfs/nautilus shows labels on the desktop if they are available,
using labels is not the best idea in an fstab.
your label might be "backups" and guess the USB key your friend gave you
yesterday with the cool new holiday photos you want to copy has the same
label.... will be fun if your backup scrpts run overnight while the key
is plugged in and overwrite all the stuff of your friend
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users