Alan McKinnon wrote:
On Sat, 26 Nov 2011 01:31:28 +0700
Pandu Poluan<pa...@poluan.info>  wrote:

I was once somewhat familiar with UUID-based fstab when I was still
using Ubuntu. Too bad I've deleted my last Ubuntu VM a couple of
weeks ago. Let's see if I can still find my installation notes...

That's the easy part.

Column 1 in /etc/fstab identifies which partition is to be mounted.
Identifiers need to be unique.

Device names in /dev/ are no longer stable, they can and do move around
and change.
User-defined labels are a good choice but users can and do re-use the
same labels.
All filesystems generate a GUID for themselves and these are guaranteed
to be unique in the universe, so simply put it in column 1 and mount
will never ever get it wrong.

Ubuntu takes this approach to be able to give guarantees about
installers. It works well. Until you find you want to edit fstab by
hand.


I installed Kubuntu for my brother and I noticed it uses UUID in fstab too. I also like that it commented where the partition was when Kubuntu was originally installed. That helps if you chroot in and are not sure what partition is what but found the fstab file, most likely / at that point. Then you can mount whatever is listed in fstab using UUID or the regular device names if nothing has changed.

I might add, if you chose to use UUID, man blkid will be your friend.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!


Reply via email to