/var on a USB disk
Florian Diesch
diesch at spamfence.net
Thu Aug 7 16:41:41 UTC 2008
Teemu Nikkilä <teemu.nikkila at innovativeideasoy.com> wrote:
> I'd like to keep /var on a USB disk,
Why do you want that?
> but there are serious problems since
> the /dev/sdX entries are dynamically changed as I plug in an another
> drive.
>
> The fstab entry is based on the disk uuid:
> # /dev/sdc1
> UUID=b443310d-5a1a-43df-9731-038cbf61a2ea /var ext3 relatime 0 2
>
> Here /dev/sdc1 is wrong:
/dev/sdc1 is just a comment, it isn't used by the system.
[...]
> Is there a way to mount the drive based on the uuid only?
It's the default since AFAIR Ubuntu 7.04
Florian
--
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
** Hi! I'm a signature virus! Copy me into your signature, please! **
-----------------------------------------------------------------------
More information about the ubuntu-users
mailing list