me
/
guix
Archived
1
0
Fork 0

doc: Note the pitfalls of man 8 mount.

* doc/guix.texi (File Systems): Warn against flags presented as options.
master
Tobias Geerinckx-Rice 2022-08-14 02:00:00 +02:00
parent 6983ded42b
commit 6c2e14a43a
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 2 deletions

View File

@ -16430,8 +16430,11 @@ Manual}, for more information on these flags.
@item @code{options} (default: @code{#f}) @item @code{options} (default: @code{#f})
This is either @code{#f}, or a string denoting mount options passed to This is either @code{#f}, or a string denoting mount options passed to
the file system driver. @xref{Mount-Unmount-Remount,,, libc, The GNU C the file system driver. @xref{Mount-Unmount-Remount,,, libc, The GNU C
Library Reference Manual}, for details and run @command{man 8 mount} for Library Reference Manual}, for details.
options for various file systems.
Run @command{man 8 mount} for options for various file systems, but
beware that what it lists as file-system-independent ``mount options'' are
in fact flags, and belong in the @code{flags} field described above.
The @code{file-system-options->alist} and @code{alist->file-system-options} The @code{file-system-options->alist} and @code{alist->file-system-options}
procedures from @code{(gnu system file-systems)} can be used to convert procedures from @code{(gnu system file-systems)} can be used to convert