[systemd-devel] using /dev/root in fstab

Mantas Mikulėnas grawity at gmail.com
Mon Jul 7 00:54:13 PDT 2014


On Mon, Jul 7, 2014 at 10:52 AM, microcai <microcai at fedoraproject.org> wrote:
>
> 在 2014年7月7日 星期一 10:40:41,您写道:
> > On Mon, Jul 7, 2014 at 10:38 AM, microcai <microcai at fedoraproject.org>
> wrote:
> > > 在 2014年7月7日 星期一 08:41:37,您写道:
> > >
> > >> On Mon, Jul 7, 2014 at 7:29 AM, microcai <microcai at fedoraproject.org>
> wrote:
> > >> >  a long ago, /dev/root is an symblic to real root device. no matter it
> > >> >  is
> > >> >  on
> > >> >
> > >> > NFS or HDD, we can use
> > >> >
> > >> > /dev/root / auto defaults     0 0
> > >> >
> > >> > in fstab to mount / as readwrite.
> > >>
> > >> Is it any better than just using 'rw' in the kernel command line?
> > >
> > > fsck will run on it.  if use 1 1 ;)
> >
> > That's... not better, that's worse.
> >
> > Run fsck from the initramfs, not when the root's already mounted.
>
> can you set mount flags without fstab ?

rootfstype=, rootflags=.

("rw" is a separate option, doesn't go in rootflags=.)

-- 
Mantas Mikulėnas <grawity at gmail.com>


More information about the systemd-devel mailing list