NetBSD-Users archive

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

Re: How to make /etc/fstab "portable"?



Hi,

On Mon, Feb 08, 2016 at 12:03:57PM +0100, Benny Siegert wrote:

> This may be a stupid question but: Is there a way to make the entry
> for the root filesystem in /etc/fstab just match whatever the kernel
> used as the root FS?

use /kern/rootdev, after mounting kernfs on /kern

Caveat: this won't work on systems where the kernel doesn't know
the NetBSD name of the device it was booted from.

Regards,
	-is


Home | Main Index | Thread Index | Old Index