Update mount options for UDF
PATCH 1/1 Update mount options for UDF
--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)
sys-utils/mount.8 +67 -22
@@ -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
Signature · 1 line
2.16.1.72.g5be1f00
Quoted 5 lines · Steve Kenton
Signed-off-by Steve Kenton <[email protected]>Acked-by Jan Kara <[email protected]>--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)
Applied, thanks.
Jan, what about to create udf(5) man page? We already have fs-specific man pages (e.g. ext4, tmpfs, nfs, btrfs, ...). It's usually maintained within fs-specific tools (e.g. ext4 -> e2fsprogs) or together with standard man-pages (CC: to Michael).
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Quoted 7 lines · Karel Zak
Quoted 5 lines · Steve Kenton
Signed-off-by Steve Kenton <[email protected]>Acked-by Jan Kara <[email protected]>--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)
Quoted 6 lines
Applied, thanks.
Jan, what about to create udf(5) man page? We already have fs-specific man pages (e.g. ext4, tmpfs, nfs, btrfs, ...). It's usually maintained within fs-specific tools (e.g. ext4 -> e2fsprogs) or together with standard man-pages (CC: to Michael).
I'm fine with that. Pali is actually the maintainer of udf-tools so if he is willing to take the manpage there, it's probably the best place.
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 10 lines · On Wednesday 28 February 2018 14:32:20 Jan Kara wrote:
Quoted 9 lines · Karel Zak
Quoted 5 lines · Steve Kenton
Signed-off-by Steve Kenton <[email protected]>Acked-by Jan Kara <[email protected]>--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)Applied, thanks.
Quoted 7 lines
Quoted 4 lines
Jan, what about to create udf(5) man page? We already have fs-specific man pages (e.g. ext4, tmpfs, nfs, btrfs, ...). It's usually maintained within fs-specific tools (e.g. ext4 -> e2fsprogs) or together with standard man-pages (CC: to Michael).
I'm fine with that. Pali is actually the maintainer of udf-tools so if he is willing to take the manpage there, it's probably the best place.
Is udftools the best place for kernel udf mount options? Because userspace udftools are not needed for kernel udf driver, nor for mounting existing udf filesystem.
For me it looks like that kernel drivers should have its documentation in kernel itself...
Anyway, I have not know yet that there is e.g. ext4 manpage which describe mount options. I was always looking into mount.8 manpage for filesystem mount parameters.
The only missing filesystem in mount.8 is nfs, but that is probably because mount uses mount.nfs helper.
Signature · 2 lines
Pali Rohár [email protected]
Karel Zak
maintainerQuoted 16 lines · Pali Rohár
Quoted 15 lines · On Wednesday 28 February 2018 14:32:20 Jan Kara wrote:
Quoted 13 lines · Karel Zak
Quoted 5 lines · Steve Kenton
Signed-off-by Steve Kenton <[email protected]>Acked-by Jan Kara <[email protected]>--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)Applied, thanks.
Jan, what about to create udf(5) man page? We already have fs-specific man pages (e.g. ext4, tmpfs, nfs, btrfs, ...). It's usually maintained within fs-specific tools (e.g. ext4 -> e2fsprogs) or together with standard man-pages (CC: to Michael).
Quoted 6 lines
Quoted 2 lines
I'm fine with that. Pali is actually the maintainer of udf-tools so if he is willing to take the manpage there, it's probably the best place.
Is udftools the best place for kernel udf mount options? Because userspace udftools are not needed for kernel udf driver, nor for mounting existing udf filesystem.
This is reason why Michael is in CC: :-)
Quoted 6 lines
For me it looks like that kernel drivers should have its documentation in kernel itself...
Anyway, I have not know yet that there is e.g. ext4 manpage which describe mount options. I was always looking into mount.8 manpage for filesystem mount parameters.
There is no extN stuff anymore in mount.8.
Quoted 2 lines
The only missing filesystem in mount.8 is nfs, but that is probably because mount uses mount.nfs helper.
Unfortunately, it's nothing unusual that mount.8 is ignored by FS devels and not up to date... so the idea is keep FS docs near to the FS developers to improve things ;-)
For example NFS developers have decided to maintain it in nfs-utils, extN in e2fsprogs, tmpfs and procfs in Michaels' man-pages, etc.
Anyway, I have no problem to maintain UDF (or another) mount options in mount.8. It's your choice. Your patches for mount.8 are welcomed.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Quoted 17 lines · On Thursday 01 March 2018 12:08:51 Karel Zak wrote:
Quoted 16 lines · Pali Rohár
Quoted 15 lines · On Wednesday 28 February 2018 14:32:20 Jan Kara wrote:
Quoted 13 lines · Karel Zak
Quoted 5 lines · Steve Kenton
Signed-off-by Steve Kenton <[email protected]>Acked-by Jan Kara <[email protected]>--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)Applied, thanks.
Jan, what about to create udf(5) man page? We already have fs-specific man pages (e.g. ext4, tmpfs, nfs, btrfs, ...). It's usually maintained within fs-specific tools (e.g. ext4 -> e2fsprogs) or together with standard man-pages (CC: to Michael).
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
I'm fine with that. Pali is actually the maintainer of udf-tools so if he is willing to take the manpage there, it's probably the best place.
Is udftools the best place for kernel udf mount options? Because userspace udftools are not needed for kernel udf driver, nor for mounting existing udf filesystem.
This is reason why Michael is in CC: :-)
Ok :-)
Quoted 8 lines
Quoted 6 lines
For me it looks like that kernel drivers should have its documentation in kernel itself...
Anyway, I have not know yet that there is e.g. ext4 manpage which describe mount options. I was always looking into mount.8 manpage for filesystem mount parameters.
There is no extN stuff anymore in mount.8.
Ah, ok. I have Debian stable on servers which has older mount.8 with ext* options.
Quoted 7 lines
Quoted 2 lines
The only missing filesystem in mount.8 is nfs, but that is probably because mount uses mount.nfs helper.
Unfortunately, it's nothing unusual that mount.8 is ignored by FS devels and not up to date... so the idea is keep FS docs near to the FS developers to improve things ;-)
Quoted 5 lines
For example NFS developers have decided to maintain it in nfs-utils, extN in e2fsprogs, tmpfs and procfs in Michaels' man-pages, etc.
Anyway, I have no problem to maintain UDF (or another) mount options in mount.8. It's your choice. Your patches for mount.8 are welcomed.
So wait for Michael answer...
Signature · 2 lines
Pali Rohár [email protected]
Quoted 48 lines · On Thursday 01 March 2018 18:24:08 Pali Rohár wrote:
Quoted 17 lines · On Thursday 01 March 2018 12:08:51 Karel Zak wrote:
Quoted 16 lines · Pali Rohár
Quoted 15 lines · On Wednesday 28 February 2018 14:32:20 Jan Kara wrote:
Quoted 13 lines · Karel Zak
Quoted 5 lines · Steve Kenton
Signed-off-by Steve Kenton <[email protected]>Acked-by Jan Kara <[email protected]>--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)Applied, thanks.
Jan, what about to create udf(5) man page? We already have fs-specific man pages (e.g. ext4, tmpfs, nfs, btrfs, ...). It's usually maintained within fs-specific tools (e.g. ext4 -> e2fsprogs) or together with standard man-pages (CC: to Michael).
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
I'm fine with that. Pali is actually the maintainer of udf-tools so if he is willing to take the manpage there, it's probably the best place.
Is udftools the best place for kernel udf mount options? Because userspace udftools are not needed for kernel udf driver, nor for mounting existing udf filesystem.
This is reason why Michael is in CC: :-)
Ok :-)
Quoted 8 lines
Quoted 6 lines
For me it looks like that kernel drivers should have its documentation in kernel itself...
Anyway, I have not know yet that there is e.g. ext4 manpage which describe mount options. I was always looking into mount.8 manpage for filesystem mount parameters.
There is no extN stuff anymore in mount.8.
Ah, ok. I have Debian stable on servers which has older mount.8 with ext* options.
Quoted 7 lines
Quoted 2 lines
The only missing filesystem in mount.8 is nfs, but that is probably because mount uses mount.nfs helper.
Unfortunately, it's nothing unusual that mount.8 is ignored by FS devels and not up to date... so the idea is keep FS docs near to the FS developers to improve things ;-)
Quoted 7 lines
Quoted 5 lines
For example NFS developers have decided to maintain it in nfs-utils, extN in e2fsprogs, tmpfs and procfs in Michaels' man-pages, etc.
Anyway, I have no problem to maintain UDF (or another) mount options in mount.8. It's your choice. Your patches for mount.8 are welcomed.
So wait for Michael answer...
So do you have any answer?
In the meanwhile I created a small update, check if it is OK:
https://github.com/karelzak/util-linux/pull/622
Signature · 2 lines
Pali Rohár [email protected]
Karel Zak
maintainerQuoted 6 lines · Pali Rohár
Quoted 1 line
So wait for Michael answer...
So do you have any answer?
In the meanwhile I created a small update, check if it is OK:
https://github.com/karelzak/util-linux/pull/622
Merged :-)
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Quoted 19 lines · Pali Rohár
Quoted 10 lines · On Wednesday 28 February 2018 14:32:20 Jan Kara wrote:
Quoted 9 lines · Karel Zak
Quoted 5 lines · Steve Kenton
Signed-off-by Steve Kenton <[email protected]>Acked-by Jan Kara <[email protected]>--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)Applied, thanks.
Quoted 7 lines
Quoted 4 lines
Jan, what about to create udf(5) man page? We already have fs-specific man pages (e.g. ext4, tmpfs, nfs, btrfs, ...). It's usually maintained within fs-specific tools (e.g. ext4 -> e2fsprogs) or together with standard man-pages (CC: to Michael).
I'm fine with that. Pali is actually the maintainer of udf-tools so if he is willing to take the manpage there, it's probably the best place.
Quoted 6 lines
Is udftools the best place for kernel udf mount options? Because userspace udftools are not needed for kernel udf driver, nor for mounting existing udf filesystem.
For me it looks like that kernel drivers should have its documentation in kernel itself...
[way late to the party...]
Or, better, in a man page that describes the kernel interface :-).
Many other filesystems have by now Section 5 pages in the man-pages package that I maintain. A udf(5) page that describes the mount options that the kernel supports for UDF would be best, and I think best lives inside "man-pages" because it is kernel interface stuff.
Or, did such a page already land in udf-tools?
Cheers,
Michael
Quoted 7 lines
Anyway, I have not know yet that there is e.g. ext4 manpage which describe mount options. I was always looking into mount.8 manpage for filesystem mount parameters.
The only missing filesystem in mount.8 is nfs, but that is probably because mount uses mount.nfs helper.
Quoted 27 lines · On Sunday 06 May 2018 12:35:02 Michael Kerrisk (man-opages) wrote:
Quoted 19 lines · Pali Rohár
Quoted 10 lines · On Wednesday 28 February 2018 14:32:20 Jan Kara wrote:
Quoted 9 lines · Karel Zak
Quoted 5 lines · Steve Kenton
Signed-off-by Steve Kenton <[email protected]>Acked-by Jan Kara <[email protected]>--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)Applied, thanks.
Quoted 7 lines
Quoted 4 lines
Jan, what about to create udf(5) man page? We already have fs-specific man pages (e.g. ext4, tmpfs, nfs, btrfs, ...). It's usually maintained within fs-specific tools (e.g. ext4 -> e2fsprogs) or together with standard man-pages (CC: to Michael).
I'm fine with that. Pali is actually the maintainer of udf-tools so if he is willing to take the manpage there, it's probably the best place.
Quoted 6 lines
Is udftools the best place for kernel udf mount options? Because userspace udftools are not needed for kernel udf driver, nor for mounting existing udf filesystem.
For me it looks like that kernel drivers should have its documentation in kernel itself...
Quoted 7 lines
[way late to the party...]
Or, better, in a man page that describes the kernel interface :-). Many other filesystems have by now Section 5 pages in the man-pages package that I maintain. A udf(5) page that describes the mount options that the kernel supports for UDF would be best, and I think best lives inside "man-pages" because it is kernel interface stuff.
Ok, that sounds good.
Quoted 1 line
Or, did such a page already land in udf-tools?
No, there is no such manpage.
Signature · 2 lines
Pali Rohár [email protected]
Quoted 36 lines · On Sunday 06 May 2018 13:15:27 Pali Rohár wrote:
Quoted 27 lines · On Sunday 06 May 2018 12:35:02 Michael Kerrisk (man-opages) wrote:
Quoted 19 lines · Pali Rohár
Quoted 10 lines · On Wednesday 28 February 2018 14:32:20 Jan Kara wrote:
Quoted 9 lines · Karel Zak
Quoted 5 lines · Steve Kenton
Signed-off-by Steve Kenton <[email protected]>Acked-by Jan Kara <[email protected]>--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)Applied, thanks.
Quoted 7 lines
Quoted 4 lines
Jan, what about to create udf(5) man page? We already have fs-specific man pages (e.g. ext4, tmpfs, nfs, btrfs, ...). It's usually maintained within fs-specific tools (e.g. ext4 -> e2fsprogs) or together with standard man-pages (CC: to Michael).
I'm fine with that. Pali is actually the maintainer of udf-tools so if he is willing to take the manpage there, it's probably the best place.
Quoted 6 lines
Is udftools the best place for kernel udf mount options? Because userspace udftools are not needed for kernel udf driver, nor for mounting existing udf filesystem.
For me it looks like that kernel drivers should have its documentation in kernel itself...
Quoted 7 lines
[way late to the party...]
Or, better, in a man page that describes the kernel interface :-). Many other filesystems have by now Section 5 pages in the man-pages package that I maintain. A udf(5) page that describes the mount options that the kernel supports for UDF would be best, and I think best lives inside "man-pages" because it is kernel interface stuff.
Quoted 5 lines
Ok, that sounds good.
Quoted 1 line
Or, did such a page already land in udf-tools?
No, there is no such manpage.
Karel, Michael, has something happened here?
Signature · 2 lines
Pali Rohár [email protected]
Karel Zak
maintainerQuoted 37 lines · Pali Rohár
Quoted 36 lines · On Sunday 06 May 2018 13:15:27 Pali Rohár wrote:
Quoted 34 lines · On Sunday 06 May 2018 12:35:02 Michael Kerrisk (man-opages) wrote:
Quoted 19 lines · Pali Rohár
Quoted 10 lines · On Wednesday 28 February 2018 14:32:20 Jan Kara wrote:
Quoted 9 lines · Karel Zak
Quoted 5 lines · Steve Kenton
Signed-off-by Steve Kenton <[email protected]>Acked-by Jan Kara <[email protected]>--- sys-utils/mount.8 | 89 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 67 insertions(+), 22 deletions(-)Applied, thanks.
Quoted 7 lines
Quoted 4 lines
Jan, what about to create udf(5) man page? We already have fs-specific man pages (e.g. ext4, tmpfs, nfs, btrfs, ...). It's usually maintained within fs-specific tools (e.g. ext4 -> e2fsprogs) or together with standard man-pages (CC: to Michael).
I'm fine with that. Pali is actually the maintainer of udf-tools so if he is willing to take the manpage there, it's probably the best place.
Quoted 6 lines
Is udftools the best place for kernel udf mount options? Because userspace udftools are not needed for kernel udf driver, nor for mounting existing udf filesystem.
For me it looks like that kernel drivers should have its documentation in kernel itself...
[way late to the party...]
Or, better, in a man page that describes the kernel interface :-). Many other filesystems have by now Section 5 pages in the man-pages package that I maintain. A udf(5) page that describes the mount options that the kernel supports for UDF would be best, and I think best lives inside "man-pages" because it is kernel interface stuff.
Quoted 7 lines
Quoted 5 lines
Ok, that sounds good.
Quoted 1 line
Or, did such a page already land in udf-tools?
No, there is no such manpage.
Karel, Michael, has something happened here?
I have thought that the ball is on UDF playground :-) If you create udf.5 (for man-pages or udf-tools) than I'll remove udf stuff from the mount.8 man page.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com