Web lists-archives.com

Re: Logitech "unifying" receiver buttons aren't?




On Fri, Oct 13, 2017 at 10:17:39AM +1300, Ben Caradoc-Davies wrote:
On 13/10/17 09:43, David Wright wrote:
On Thu 12 Oct 2017 at 16:22:27 (-0400), Gene Heskett wrote:
There used to be a filename you could "touch" on the root of a disk that
would force an e2fsck on the next reboot, do you recall it?
That's out of date. Nowadays you add the word   forcefsck
to the linux line in grub.cfg by pressing
<any key at boot> to get the Grub menu,
<e> to edit an entry,
scroll and add the word,
<return> to boot the ephemerally modified entry.

Does this work with systemd? Only "fsck.mode=force" is documented.

Yes, but grudgingly:

https://sources.debian.net/src/systemd/234-2/src/fsck/fsck.c/

#ifdef HAVE_SYSV_COMPAT
       else if (streq(key, "fastboot") && !value) {
               log_warning("Please pass 'fsck.mode=skip' rather than 'fastboot' on the kernel command line.");
               arg_skip = true;

       } else if (streq(key, "forcefsck") && !value) {
               log_warning("Please pass 'fsck.mode=force' rather than 'forcefsck' on the kernel command line.");
               arg_force = true;
       }
#endif