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.

-- 
Alan McKinnnon
alan.mckin...@gmail.com

Reply via email to