[issue762] missing 's0' in device use

Nicolas Thery nthery at gmail.com
Sat Aug 11 05:55:30 PDT 2007


2007/8/11, Simon 'corecode' Schubert <corecode at fs.ei.tum.de>:
> Nicolas Thery wrote:
[...]
> > However, I've just put /dev/vkd0a in /etc/fstab and it works too.
> >
> > Is 's0' somehow added by mount or the kernel?
>
> The root mount information does not come from /etc/fstab :)

Fair enough. I forgot I'm passing -r /var/vkernel/rootimg.01 to
vkernel everytime I'm starting it :-).

According to init_disk() in src/sys/platform/vkernel/platform/init.c,
the root virtual disk is associated with vkd0s0a.  So I reckon my
patch makes sense.

Anybody knows what /etc/fstab is used for in the vkernel env?

Cheers,
Nicolas





More information about the Bugs mailing list