tech-userlevel archive

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

Re: Specifying root device in /etc/fstab

Jared McNeill wrote:

> I came up with this simple patch to getfsspecname that allows ROOT=<part> 
> syntax for fs_spec. It uses the value of the kern.root_device sysctl to 
> construct a device path, so my fstab can have entries like this:
>    ROOT=a          /               ffs     rw,noatime      1 1
>    ROOT=b          none            swap    sw      0 0
>    ROOT=e          /boot           msdos   rw      1 1
> Thoughts? Suggestions?


What about just "a", "b", or "e" instead of "ROOT="? It'd be more
consistent with the rest of the file.


Home | Main Index | Thread Index | Old Index