| /kernel/linux/linux-5.10/Documentation/filesystems/ |
| D | sharedsubtree.rst | 10 3) Setting mount states 36 a. shared mount 37 b. slave mount 38 c. private mount 39 d. unbindable mount 42 2a) A shared mount can be replicated to as many mountpoints and all the 47 Let's say /mnt has a mount that is shared:: 49 mount --make-shared /mnt 51 Note: mount(8) command now supports the --make-shared flag, 57 # mount --bind /mnt /tmp [all …]
|
| D | autofs-mount-control.rst | 17 are things such as setting an autofs mount catatonic, setting the 20 mount itself which prevents us being able to use open(2) to obtain a 25 needs to walk back up the mount tree to construct a path, such as 28 from the mount tree. 33 because autofs direct mounts and the implementation of "on demand mount 34 and expire" of nested mount trees have the file system mounted directly 35 on top of the mount trigger directory dentry. 39 a direct mount in disguise) and indirect. 62 operation. So we see a mount of shark:/autofs/export1 on /test/g1, for 65 The way that direct mounts are handled is by making an autofs mount on [all …]
|
| D | autofs.rst | 46 symbolic links and mount traps. Mount traps are directories with 51 mount traps are created with `mkdir`. The determination of whether a 52 directory should be a mount trap is based on a master map. This master 53 map is consulted by autofs to determine which directories are mount 54 points. Mount points can be *direct*/*indirect*/*offset*. 57 If neither the *direct* or *offset* mount options are given (so the 58 mount is considered to be *indirect*), then the root directory is 59 always a regular directory, otherwise it is a mount trap when it is 62 directory is a mount trap only if the filesystem is mounted *direct* 65 Directories created in the root directory are mount traps only if the [all …]
|
| D | fuse.rst | 18 Non-privileged mount (or user mount): 31 Mount owner: 41 module (fuse.ko), a userspace library (libfuse.*) and a mount utility 55 The filesystem type given to mount(2) can be one of the following: 58 This is the usual way to mount a FUSE filesystem. The first 59 argument of the mount system call may contain an arbitrary string, 64 mount system call is interpreted as the name of the device. 66 Mount options 78 The numeric user id of the mount owner. 81 The numeric group id of the mount owner. [all …]
|
| /kernel/linux/linux-4.19/Documentation/filesystems/ |
| D | sharedsubtree.txt | 7 3) Setting mount states 33 a. shared mount 34 b. slave mount 35 c. private mount 36 d. unbindable mount 39 2a) A shared mount can be replicated to as many mountpoints and all the 44 Let's say /mnt has a mount that is shared. 45 mount --make-shared /mnt 47 Note: mount(8) command now supports the --make-shared flag, 51 # mount --bind /mnt /tmp [all …]
|
| D | autofs-mount-control.txt | 15 are things such as setting an autofs mount catatonic, setting the 18 mount itself which prevents us being able to use open(2) to obtain a 23 needs to walk back up the mount tree to construct a path, such as 26 from the mount tree. 31 because autofs direct mounts and the implementation of "on demand mount 32 and expire" of nested mount trees have the file system mounted directly 33 on top of the mount trigger directory dentry. 37 a direct mount in disguise) and indirect. 60 operation. So we see a mount of shark:/autofs/export1 on /test/g1, for 63 The way that direct mounts are handled is by making an autofs mount on [all …]
|
| D | 00-INDEX | 8 - info and mount options for the Acorn Advanced Disc Filing System. 12 - info and mount options for the Amiga Fast File System. 13 autofs-mount-control.txt 55 - info, usage, mount options, design about EXOFS. 57 - info, mount options and specifications for the Ext2 filesystem. 59 - info, mount options and specifications for the Ext3 filesystem. 61 - info, mount options and specifications for the Ext4 filesystem. 63 - info and mount options for the F2FS filesystem. 69 - info on the Filesystem in User SpacE including mount options. 81 - info and mount options for the OS/2 HPFS. [all …]
|
| D | autofs.txt | 49 symbolic links and mount traps. Mount traps are directories with 54 mount traps are created with `mkdir`. The determination of whether a 55 directory should be a mount trap or not is quite _ad hoc_, largely for 57 *direct*/*indirect*/*offset* mount options, and the *maxproto* mount option. 59 If neither the *direct* or *offset* mount options are given (so the 60 mount is considered to be *indirect*), then the root directory is 61 always a regular directory, otherwise it is a mount trap when it is 64 directory is a mount trap only if the filesystem is mounted *direct* 67 Directories created in the root directory are mount traps only if the 70 Directories further down the tree depend on the *maxproto* mount [all …]
|
| D | fuse.txt | 14 Non-privileged mount (or user mount): 29 Mount owner: 41 module (fuse.ko), a userspace library (libfuse.*) and a mount utility 57 The filesystem type given to mount(2) can be one of the following: 61 This is the usual way to mount a FUSE filesystem. The first 62 argument of the mount system call may contain an arbitrary string, 68 mount system call is interpreted as the name of the device. 70 Mount options 85 The numeric user id of the mount owner. 89 The numeric group id of the mount owner. [all …]
|
| D | tmpfs.txt | 11 be adjusted on the fly via 'mount -o remount ...' 27 1) There is always a kernel internal mount which you will not see at 31 This mount does not depend on CONFIG_TMPFS. If CONFIG_TMPFS is not 41 Remember to create the directory that you intend to mount tmpfs on 44 This mount is _not_ needed for SYSV shared memory. The internal 45 mount is used for that. (In the 2.3 kernel versions it was 46 necessary to mount the predecessor of tmpfs (shm fs) to use SYSV 49 3) Some people (including me) find it very convenient to mount it 57 tmpfs has three mount options for sizing: 76 mount with such options, since it allows any user with write access to [all …]
|
| D | gfs2-uevents.txt | 4 During the lifetime of a GFS2 mount, a number of uevents are generated. 13 The ADD event occurs at mount time. It will always be the first 14 uevent generated by the newly created filesystem. If the mount 19 and RDONLY=[0|1] that specify the spectator status (a read-only mount 25 The ONLINE uevent is generated after a successful mount or remount. It 34 successful mount of the filesystem by the first node (FIRSTMOUNT=Done). 36 nodes in the cluster to mount the filesystem. 43 for every journal recovered, whether it is during the initial mount 52 uevent for a successful mount or remount. 63 The REMOVE uevent is generated at the end of an unsuccessful mount [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | pnode.c | 9 #include <linux/mount.h> 12 #include <uapi/linux/mount.h> 16 /* return the next shared peer mount of @p */ 17 static inline struct mount *next_peer(struct mount *p) in next_peer() 19 return list_entry(p->mnt_share.next, struct mount, mnt_share); in next_peer() 22 static inline struct mount *first_slave(struct mount *p) in first_slave() 24 return list_entry(p->mnt_slave_list.next, struct mount, mnt_slave); in first_slave() 27 static inline struct mount *last_slave(struct mount *p) in last_slave() 29 return list_entry(p->mnt_slave_list.prev, struct mount, mnt_slave); in last_slave() 32 static inline struct mount *next_slave(struct mount *p) in next_slave() [all …]
|
| D | pnode.h | 11 #include "mount.h" 33 static inline void set_mnt_shared(struct mount *mnt) in set_mnt_shared() 39 void change_mnt_propagation(struct mount *, int); 40 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *, 43 int propagate_mount_busy(struct mount *, int); 44 void propagate_mount_unlock(struct mount *); 45 void mnt_release_group_id(struct mount *); 46 int get_dominating_id(struct mount *mnt, const struct path *root); 47 int mnt_get_count(struct mount *mnt); 48 void mnt_set_mountpoint(struct mount *, struct mountpoint *, [all …]
|
| D | namespace.c | 30 #include <uapi/linux/mount.h> 37 /* Maximum number of mounts in a mount namespace */ 105 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id() 115 static void mnt_free_id(struct mount *mnt) in mnt_free_id() 123 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id() 136 void mnt_release_group_id(struct mount *mnt) in mnt_release_group_id() 145 static inline void mnt_add_count(struct mount *mnt, int n) in mnt_add_count() 159 int mnt_get_count(struct mount *mnt) in mnt_get_count() 175 static struct mount *alloc_vfsmnt(const char *name) in alloc_vfsmnt() 177 struct mount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); in alloc_vfsmnt() [all …]
|
| D | mount.h | 2 #include <linux/mount.h> 11 struct mount * root; 40 struct mount { struct 42 struct mount *mnt_parent; argument 57 struct list_head mnt_instance; /* mount instance on sb->s_mounts */ argument 64 struct mount *mnt_master; /* slave is on master->mnt_slave_list */ argument 76 int mnt_id; /* mount identifier */ argument 85 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() argument 87 return container_of(mnt, struct mount, mnt); in real_mount() 90 static inline int mnt_has_parent(struct mount *mnt) in mnt_has_parent() [all …]
|
| /kernel/linux/linux-4.19/fs/ |
| D | pnode.c | 10 #include <linux/mount.h> 16 /* return the next shared peer mount of @p */ 17 static inline struct mount *next_peer(struct mount *p) in next_peer() 19 return list_entry(p->mnt_share.next, struct mount, mnt_share); in next_peer() 22 static inline struct mount *first_slave(struct mount *p) in first_slave() 24 return list_entry(p->mnt_slave_list.next, struct mount, mnt_slave); in first_slave() 27 static inline struct mount *last_slave(struct mount *p) in last_slave() 29 return list_entry(p->mnt_slave_list.prev, struct mount, mnt_slave); in last_slave() 32 static inline struct mount *next_slave(struct mount *p) in next_slave() 34 return list_entry(p->mnt_slave.next, struct mount, mnt_slave); in next_slave() [all …]
|
| D | pnode.h | 12 #include "mount.h" 35 static inline void set_mnt_shared(struct mount *mnt) in set_mnt_shared() 41 void change_mnt_propagation(struct mount *, int); 42 int propagate_mnt(struct mount *, struct mountpoint *, struct mount *, 45 int propagate_mount_busy(struct mount *, int); 46 void propagate_mount_unlock(struct mount *); 47 void mnt_release_group_id(struct mount *); 48 int get_dominating_id(struct mount *mnt, const struct path *root); 49 unsigned int mnt_get_count(struct mount *mnt); 50 void mnt_set_mountpoint(struct mount *, struct mountpoint *, [all …]
|
| D | namespace.c | 33 /* Maximum number of mounts in a mount namespace */ 99 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id() 109 static void mnt_free_id(struct mount *mnt) in mnt_free_id() 117 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id() 130 void mnt_release_group_id(struct mount *mnt) in mnt_release_group_id() 139 static inline void mnt_add_count(struct mount *mnt, int n) in mnt_add_count() 153 unsigned int mnt_get_count(struct mount *mnt) in mnt_get_count() 171 struct mount *m = container_of(p, struct mount, mnt_umount); in drop_mountpoint() 177 static struct mount *alloc_vfsmnt(const char *name) in alloc_vfsmnt() 179 struct mount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); in alloc_vfsmnt() [all …]
|
| /kernel/linux/linux-4.19/Documentation/filesystems/cifs/ |
| D | README | 47 If you do not have the utility mount.cifs (in the Samba 4.x source tree and on 48 the CIFS VFS web site) copy it to the same directory in which mount helpers 50 required, mount.cifs is recommended. Most distros include a "cifs-utils" 55 domain to the proper network user. The mount.cifs mount helper can be 68 the new default. To use old dialects (e.g. to mount Windows XP) use "vers=1.0" 69 on mount (or vers=2.0 for Windows Vista). Note that the CIFS (vers=1.0) is 73 There are additional mount options that may be helpful for SMB3 to get 79 To permit users to mount and unmount over directories they own is possible 80 with the cifs vfs. A way to enable such mounting is to mark the mount.cifs 81 utility as suid (e.g. "chmod +s /sbin/mount.cifs). To enable users to [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/cifs/ |
| D | usage.rst | 54 If you do not have the utility mount.cifs (in the Samba 4.x source tree and on 55 the CIFS VFS web site) copy it to the same directory in which mount helpers 57 required, mount.cifs is recommended. Most distros include a ``cifs-utils`` 62 domain to the proper network user. The mount.cifs mount helper can be 78 the new default. To use old dialects (e.g. to mount Windows XP) use "vers=1.0" 79 on mount (or vers=2.0 for Windows Vista). Note that the CIFS (vers=1.0) is 83 There are additional mount options that may be helpful for SMB3 to get 91 To permit users to mount and unmount over directories they own is possible 92 with the cifs vfs. A way to enable such mounting is to mark the mount.cifs 93 utility as suid (e.g. ``chmod +s /sbin/mount.cifs``). To enable users to [all …]
|
| /kernel/linux/linux-5.10/security/tomoyo/ |
| D | mount.c | 3 * security/tomoyo/mount.c 9 #include <uapi/linux/mount.h> 12 /* String table for special mount operations. */ 24 * tomoyo_audit_mount_log - Audit mount log. 32 return tomoyo_supervisor(r, "file mount %s %s %s 0x%lX\n", in tomoyo_audit_mount_log() 33 r->param.mount.dev->name, in tomoyo_audit_mount_log() 34 r->param.mount.dir->name, in tomoyo_audit_mount_log() 35 r->param.mount.type->name, in tomoyo_audit_mount_log() 36 r->param.mount.flags); in tomoyo_audit_mount_log() 53 return tomoyo_compare_number_union(r->param.mount.flags, in tomoyo_check_mount_acl() [all …]
|
| /kernel/linux/linux-4.19/security/tomoyo/ |
| D | mount.c | 3 * security/tomoyo/mount.c 11 /* String table for special mount operations. */ 23 * tomoyo_audit_mount_log - Audit mount log. 31 return tomoyo_supervisor(r, "file mount %s %s %s 0x%lX\n", in tomoyo_audit_mount_log() 32 r->param.mount.dev->name, in tomoyo_audit_mount_log() 33 r->param.mount.dir->name, in tomoyo_audit_mount_log() 34 r->param.mount.type->name, in tomoyo_audit_mount_log() 35 r->param.mount.flags); in tomoyo_audit_mount_log() 51 return tomoyo_compare_number_union(r->param.mount.flags, in tomoyo_check_mount_acl() 53 tomoyo_compare_name_union(r->param.mount.type, in tomoyo_check_mount_acl() [all …]
|
| /kernel/liteos_a/fs/include/fs/ |
| D | mount.h | 43 struct Mount { struct 44 LIST_ENTRY mountList; /* mount list */ 45 const struct MountOps *ops; /* operations of mount */ 55 unsigned long mountFlags; /* Flags for mount */ 56 char pathName[PATH_MAX]; /* path name of mount point */ 61 int (*Mount)(struct Mount *mount, struct Vnode *vnode, const void *data); argument 62 int (*Unmount)(struct Mount *mount, struct Vnode **blkdriver); 63 int (*Statfs)(struct Mount *mount, struct statfs *sbp); 64 int (*Sync)(struct Mount *mount); 72 struct Mount* MountAlloc(struct Vnode* vnode, struct MountOps* mop);
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/nfs/ |
| D | nfs-rdma.rst | 55 An NFS/RDMA mount point can be obtained by using the mount.nfs command in 59 mount.nfs you are using, type: 63 $ /sbin/mount.nfs -V 73 these to create an NFS/RDMA enabled mount command), the installation 84 After building the nfs-utils package, there will be a mount.nfs binary in 85 the utils/mount directory. This binary can be used to initiate NFS v2, v3, 86 or v4 mounts. To initiate a v4 mount, the binary must be called 87 mount.nfs4. The standard technique is to create a symlink called 88 mount.nfs4 to mount.nfs. 90 This mount.nfs binary should be installed at /sbin/mount.nfs as follows: [all …]
|
| /kernel/linux/linux-4.19/Documentation/filesystems/nfs/ |
| D | nfs-rdma.txt | 65 An NFS/RDMA mount point can be obtained by using the mount.nfs command in 69 mount.nfs you are using, type: 71 $ /sbin/mount.nfs -V 83 these to create an NFS/RDMA enabled mount command), the installation 92 After building the nfs-utils package, there will be a mount.nfs binary in 93 the utils/mount directory. This binary can be used to initiate NFS v2, v3, 94 or v4 mounts. To initiate a v4 mount, the binary must be called 95 mount.nfs4. The standard technique is to create a symlink called 96 mount.nfs4 to mount.nfs. 98 This mount.nfs binary should be installed at /sbin/mount.nfs as follows: [all …]
|