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

Bug#1033630: debian-installer: should fstab swap entries use "sw" as option?



On Wed, 2023-03-29 at 02:25 +0000, David wrote:
> My thought process is as follows:
> Field 4 is for mount options. This is just the same as providing
> options to the 'mount' command issued at the command line.
> And it is ok to use the 'mount' command without options.

Well that's clear and it probably just works like that in the end.

But still, if the manpage is considered the "formal specification" of
the fstab format, than 4th field seems to be needed.
That even says: "contains at least the type of mount (ro or rw)", which
would be fulfilled by default (as that implies rw).

That's what I've meant by strictly speaking before... parsers of fstab
could in principle rely on that.


I guess a simpler way might be to use:
… rw,auto,nouser 0 0

cause that what it effectively seems to be.


Or... improve the fstab manpage... because it doesn't make sense IMO to
say that it "contains at least the type of mount (ro or rw)" while
leaving auto/noauto optional (with a default).



Cheers,
Chris.


Reply to: