| 11 Apr 2023 |
flokli | Nick Cao: there's too much stuff out there relying on, or editing /etc/fstab | 08:40:27 |
flokli | systemd has systemd-fstab-generator, which will parse /etc/fstab and generate all the .mount units on the fly | 08:41:00 |
flokli | systemd then really only considers the .mount units internally | 08:41:16 |
flokli | But by going the /etc/fstab detour, you ensure that other tooling still works, which is probably why they recommend it | 08:41:36 |
flokli | like, mount (8) can't parse .mount units, but can parse /etc/fstab | 08:42:00 |
@elvishjerricco:matrix.org | and systemd-fstab-generator does kind of a lot more than simply generating units. It has a lot of special options for conveniently adding a lot of nuance to those units | 08:42:09 |
flokli | yes | 08:42:15 |
flokli | Redacted or Malformed Event | 08:42:20 |