diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-05 22:17:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-05 22:17:50 -0400 |
commit | be88751f320a716a4327596adfe834e162c14532 (patch) | |
tree | 4015f6d1da204e6228dfcbc3984ac9ddf7d988de /Documentation/filesystems | |
parent | 5e4d659713f52c1c9dfc2fea9d319b80a53d4bc9 (diff) | |
parent | b91ed9d8082c394dda63f94f935219cd0a565938 (diff) |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull misc filesystem updates from Jan Kara:
"udf, ext2, quota, fsnotify fixes & cleanups:
- udf fixes for handling of media without uid/gid
- udf fixes for some corner cases in parsing of volume recognition
sequence
- improvements of fsnotify handling of ENOMEM
- new ioctl to allow setting of watch descriptor id for inotify (for
checkpoint - restart)
- small ext2, reiserfs, quota cleanups"
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
quota: Kill an unused extern entry form quota.h
reiserfs: Remove VLA from fs/reiserfs/reiserfs.h
udf: fix potential refcnt problem of nls module
ext2: change return code to -ENOMEM when failing memory allocation
udf: Do not mark possibly inconsistent filesystems as closed
fsnotify: Let userspace know about lost events due to ENOMEM
fanotify: Avoid lost events due to ENOMEM for unlimited queues
udf: Remove never implemented mount options
udf: Update mount option documentation
udf: Provide saner default for invalid uid / gid
udf: Clean up handling of invalid uid/gid
udf: Apply uid/gid mount options also to new inodes & chown
udf: Ignore [ug]id=ignore mount options
udf: Fix handling of Partition Descriptors
udf: Unify common handling of descriptors
udf: Convert descriptor index definitions to enum
udf: Allow volume descriptor sequence to be terminated by unrecorded block
udf: Simplify handling of Volume Descriptor Pointers
udf: Fix off-by-one in volume descriptor sequence length
inotify: Extend ioctl to allow to request id of new watch descriptor
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/udf.txt | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/Documentation/filesystems/udf.txt b/Documentation/filesystems/udf.txt index d3d0e3218f86..e2f2faf32f18 100644 --- a/Documentation/filesystems/udf.txt +++ b/Documentation/filesystems/udf.txt | |||
@@ -36,18 +36,14 @@ The following mount options are supported: | |||
36 | iocharset= Set the NLS character set | 36 | iocharset= Set the NLS character set |
37 | 37 | ||
38 | The uid= and gid= options need a bit more explaining. They will accept a | 38 | The uid= and gid= options need a bit more explaining. They will accept a |
39 | decimal numeric value which will be used as the default ID for that mount. | 39 | decimal numeric value and all inodes on that mount will then appear as |
40 | They will also accept the string "ignore" and "forget". For files on the disk | 40 | belonging to that uid and gid. Mount options also accept the string "forget". |
41 | that are owned by nobody ( -1 ), they will instead look as if they are owned | 41 | The forget option causes all IDs to be written to disk as -1 which is a way |
42 | by the default ID. The ignore option causes the default ID to override all | 42 | of UDF standard to indicate that IDs are not supported for these files . |
43 | IDs on the disk, not just -1. The forget option causes all IDs to be written | ||
44 | to disk as -1, so when the media is later remounted, they will appear to be | ||
45 | owned by whatever default ID it is mounted with at that time. | ||
46 | 43 | ||
47 | For typical desktop use of removable media, you should set the ID to that | 44 | For typical desktop use of removable media, you should set the ID to that of |
48 | of the interactively logged on user, and also specify both the forget and | 45 | the interactively logged on user, and also specify the forget option. This way |
49 | ignore options. This way the interactive user will always see the files | 46 | the interactive user will always see the files on the disk as belonging to him. |
50 | on the disk as belonging to him. | ||
51 | 47 | ||
52 | The remaining are for debugging and disaster recovery: | 48 | The remaining are for debugging and disaster recovery: |
53 | 49 | ||
@@ -57,16 +53,8 @@ The following expect a offset from 0. | |||
57 | 53 | ||
58 | session= Set the CDROM session (default= last session) | 54 | session= Set the CDROM session (default= last session) |
59 | anchor= Override standard anchor location. (default= 256) | 55 | anchor= Override standard anchor location. (default= 256) |
60 | volume= Override the VolumeDesc location. (unused) | ||
61 | partition= Override the PartitionDesc location. (unused) | ||
62 | lastblock= Set the last block of the filesystem/ | 56 | lastblock= Set the last block of the filesystem/ |
63 | 57 | ||
64 | The following expect a offset from the partition root. | ||
65 | |||
66 | fileset= Override the fileset block location. (unused) | ||
67 | rootdir= Override the root directory location. (unused) | ||
68 | WARNING: overriding the rootdir to a non-directory may | ||
69 | yield highly unpredictable results. | ||
70 | ------------------------------------------------------------------------------- | 58 | ------------------------------------------------------------------------------- |
71 | 59 | ||
72 | 60 | ||