tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Autoconfiguring root device and fstab(5) (wedges?)



On Sat, 26 Mar 2011, Jean-Yves Migeon wrote:
Thing is: the root device is different for domU and native/dom0 (xbd0 vs wd0). This causes failures everywhere during boot, due to improper fstab(5) entry for /.

I am not sure if this will help you, but there's a magic string, "from_mount", which can be used in the first field of the fstab entry, like this:

# fs_spec       fs_file fs_vfstype fs_mntops fs_freq fs_passno
from_mount      /       ffs        rw,log    1       0

This does not seem to be documented in fstab(5), but it is documented in mount(8).

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index