Hi Martin,
On Sun, Aug 07, 2011 at 08:52:39PM +0100, Martin Halford wrote:
My question is regarding replacing labels by
UUID's. Output of cat
/etc/fstab:
LABEL=root / ext3 defaults,relatime 0 1
/var/lib/swapfile swap swap defaults 0 0
proc /proc proc defaults,noexec,nosuid 0 0
Output of blkid:
/dev/xvda1: LABEL="/" UUID="09dd100a-4bfa-47c5-9c3e-559068bafb2c"
TYPE="ext3"
/dev/xvda2: UUID="195f7eaf-ec5e-4e3c-92d3-c0171200ff00" TYPE="swap"
/dev/xvda: LABEL="root" UUID="814d97eb-aee6-4af0-bc94-eb56188b65b5"
TYPE="ext3"
I'm a bit confused by the fact that blkid sees both xvda and xvda1,
and that it thinks there is swap on xvda2 and well as on a swap file.
What is the output of "cat /proc/mounts" please?
Cheers,
Andy