Re: Mounting / as writable without in `/etc/fstab`

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

 



On Mo, 23.11.20 16:23, Paul Menzel (pmenzel+systemd-devel@xxxxxxxxxxxxx) wrote:

> Dear systemd folks,
>
> Is an entry for / in `/etc/fstab` still needed, or is there a systemd way of
> doing it?

What Mantas said, really. In a legacy-free system where you#d like to
get rid of /etc/fstab i#d recommend:

1. in your initrd fsck the root fs first

2. then mount it in the initrd, and mount it writable right away

3. remove /etc/fstab

4. systemd-remount-fs will notice that the file is absent, and not do
   anything. (You could even mask the service if you like)

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux