From: Steve Kenton <skenton@ou.edu>
To: util-linux@vger.kernel.org
Cc: Steve Kenton <skenton@ou.edu>
Subject: [PATCH 1/1] Update mount options for UDF
Date: Tue, 27 Feb 2018 12:44:07 -0600 [thread overview]
Message-ID: <20180227184407.5945-1-skenton@ou.edu> (raw)
Signed-off-by: Steve Kenton <skenton@ou.edu>
Acked-by: Jan Kara <jack@suse.cz>
---
sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 67 insertions(+), 22 deletions(-)
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index c040730a2..2f9890aae 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -2034,20 +2034,51 @@ still possible to read compressed files if mounted with the
option.
.SS "Mount options for udf"
-udf is the "Universal Disk Format" filesystem defined by the Optical
-Storage Technology Association, and is often used for DVD-ROM.
+UDF is the "Universal Disk Format" filesystem defined by OSTA, the Optical
+Storage Technology Association, and is often used for DVD-ROM, frequently
+in the form of a hybrid UDF/ISO-9660 filesystem. It is, however,
+perfectly usable by itself on disk drives, flash drives and other block devices.
See also
.IR iso9660 .
.TP
+.B uid=
+Make all files in the filesystem belong to the given user.
+uid=forget can be specified independently of (or usually in
+addition to) uid=<user> and results in UDF
+not storing uids to the media. In fact the recorded uid
+is the 32-bit overflow uid -1 as defined by the UDF standard.
+The value is given as either <user> which is a valid user name or the corresponding
+decimal user id, or the special string "forget".
+.TP
.B gid=
-Set the default group.
+Make all files in the filesystem belong to the given group.
+gid=forget can be specified independently of (or usually in
+addition to) gid=<group> and results in UDF
+not storing gids to the media. In fact the recorded gid
+is the 32-bit overflow gid -1 as defined by the UDF standard.
+The value is given as either <group> which is a valid group name or the corresponding
+decimal group id, or the special string "forget".
.TP
.B umask=
-Set the default umask.
+Mask out the given permissions from all inodes read from the filesystem.
The value is given in octal.
.TP
-.B uid=
-Set the default user.
+.B mode=
+If mode= is set the permissions of all non-directory inodes read from the
+filesystem will be set to the given mode. The value is given in octal.
+.TP
+.B dmode=
+If dmode= is set the permissions of all directory inodes read from the
+filesystem will be set to the given dmode. The value is given in octal.
+.TP
+.B bs=
+Set the block size. Default value prior to kernel version 2.6.30 was
+2048. Since 2.6.30 and prior to 4.11 it was logical device block size with
+fallback to 2048. Since 4.11 it is logical block size with fallback to
+any valid block size between logical device block size and 4096.
+
+For other details see the updated mkudffs.8 manpage, section
+COMPATIBILITY and BLOCK SIZE.
.TP
.B unhide
Show otherwise hidden files.
@@ -2055,41 +2086,55 @@ Show otherwise hidden files.
.B undelete
Show deleted files in lists.
.TP
+.B adinicb
+Embed data in the inode. (default)
+.TP
+.B noadinicb
+Don't embed data in the inode.
+.TP
+.B shortad
+Use short UDF address descriptors.
+.TP
+.B longad
+Use long UDF address descriptors. (default)
+.TP
.B nostrict
Unset strict conformance.
-.\" .TP
-.\" .B utf8
-.\" (unused).
.TP
.B iocharset
Set the NLS character set.
-.TP
-.B bs=
-Set the block size. (May not work unless 2048.)
+.SS Mount options for debugging and disaster recovery
.TP
.B novrs
-Skip volume sequence recognition.
+Ignore the Volume Recognition Sequence and attempt to mount anyway.
.TP
.B session=
-Set the CDROM session counting from 0. Default: last session.
+Select the session number for multi-session recorded optical media. (default= last session)
.TP
.B anchor=
-Override standard anchor location. Default: 256.
+Override standard anchor location. (default= 256)
+.TP
+.B lastblock=
+Set the last block of the filesystem.
+.SS Unused historical mount options that may be encountered and should be removed
+.TP
+.B uid=ignore
+use uid=<user> instead.
+.TP
+.B gid=ignore
+use gid=<group> instead.
.TP
.B volume=
-Override the VolumeDesc location. (unused)
+Override the VolumeDesc location.
.TP
.B partition=
-Override the PartitionDesc location. (unused)
-.TP
-.B lastblock=
-Set the last block of the filesystem.
+Override the PartitionDesc location.
.TP
.B fileset=
-Override the fileset block location. (unused)
+Override the fileset block location.
.TP
.B rootdir=
-Override the root directory location. (unused)
+Override the root directory location.
.SS "Mount options for ufs"
.TP
--
2.16.1.72.g5be1f00
next reply other threads:[~2018-02-27 19:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-27 18:44 Steve Kenton [this message]
2018-02-28 13:08 ` [PATCH 1/1] Update mount options for UDF Karel Zak
2018-02-28 13:32 ` Jan Kara
2018-02-28 22:03 ` Pali Rohár
2018-03-01 11:08 ` Karel Zak
2018-03-01 17:24 ` Pali Rohár
2018-04-19 15:25 ` Pali Rohár
2018-04-20 8:27 ` Karel Zak
2018-05-06 10:35 ` Michael Kerrisk (man-opages)
2018-05-06 11:15 ` Pali Rohár
2018-08-08 13:52 ` Pali Rohár
2018-08-13 10:01 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180227184407.5945-1-skenton@ou.edu \
--to=skenton@ou.edu \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).