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 27.03.2011 13:07, Alan Barrett wrote:
> 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).

Yep; just tested it though, and fsck complains that it can't stat
``from_mount'', reason is... obvious.

I think that this option is not too well supported outside of mount(8),
particularly for tools depending on fstab(5).

Jean-Yves Migeon

Home | Main Index | Thread Index | Old Index