Re: [PATCH] debugfs: ignore auto and noauto options if given

From: Geert Uytterhoeven
Date: Mon May 27 2024 - 06:23:40 EST


Hi Wolfram,

On Mon, May 27, 2024 at 12:08 PM Wolfram Sang
<wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
> > Afaict, the "auto" option has either never existent or it was removed before
> > the new mount api conversion time ago for debugfs.
>
> Frankly, I have no idea why I put this 'auto' in my fstab ages ago. But
> it seems, I am not the only one[1].

fstab(5):

defaults
use default options: rw, suid, dev, exec, auto, nouser, and async.

noauto
do not mount when mount -a is given (e.g., at boot time)

So I assume "auto" is still passed when using "defaults"?

However, nowadays (since +10y?), debugfs etc. tend to no longer be
put in /etc/fstab, but be mounted automatically by some initscript.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds