[systemd-devel] using /dev/root in fstab
microcai
microcai at fedoraproject.org
Mon Jul 7 00:52:02 PDT 2014
在 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 ?
>
> (Besides, how does fsck even work if /dev/root is NFS?)
More information about the systemd-devel
mailing list