[Hampshire] fstab & UUID - sanity check

Top Page

Reply to this message
Author: Brian Chivers
Date:  
To: Hampshire LUG Discussion List
Subject: [Hampshire] fstab & UUID - sanity check
Could some just confirm that if I alter my /etc/fstab file on Debian (8.04) so it doesn't have UUID
but uses /dev/sda1 etc that this is OK.

I'll explain I have a machine that I use to rsync stuff to with an external firewire drive & I just
rebooted with it connected & / when from sda5 to sdb5 and the others map & this caused problems when
I ran the autofs files as it talk to /dev/sdc1 for the first wire & this was now sda1 !!!

This is my current fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda5
UUID=beea7c00-c92c-4271-88e5-1f04604367db /               ext3    relatime,errors=remount-ro 0       1
# /dev/sda1
UUID=af700a2c-e6af-4b78-8e1a-8c2d0b4cda9d /boot           ext3    relatime        0       2
# /dev/sda2
UUID=81b77783-17ff-46f8-a7d6-b86d97ac3870 /home           ext3    relatime        0       2
# /dev/sda3
UUID=79e97d84-595f-474c-b311-155a9ad05ef1 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/sdb1  /home/rsync/extra_drive  ext3  suid,dev,exec  0  0


so I think it'll be OK to change to

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda5    /               ext3    relatime,errors=remount-ro 0       1
/dev/sda1      /boot           ext3    relatime        0       2
/dev/sda2    /home           ext3    relatime        0       2
/dev/sda3    none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/sdb1  /home/rsync/extra_drive  ext3  suid,dev,exec  0  0


Thanks
Brian

------------------------------------------------------------------------------------------------
    The views expressed here are my own and not necessarily


                the views of Portsmouth College