[systemd-devel] using /dev/root in fstab
Mantas Mikulėnas
grawity at gmail.com
Mon Jul 7 00:40:41 PDT 2014
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.
(Besides, how does fsck even work if /dev/root is NFS?)
--
Mantas Mikulėnas <grawity at gmail.com>
More information about the systemd-devel
mailing list