| /linux/fs/ |
| A D | pnode.c | 17 static inline struct mount *next_peer(struct mount *p) in next_peer() 22 static inline struct mount *first_slave(struct mount *p) in first_slave() 27 static inline struct mount *last_slave(struct mount *p) in last_slave() 32 static inline struct mount *next_slave(struct mount *p) in next_slave() 37 static struct mount *get_peer_under_root(struct mount *mnt, in get_peer_under_root() 62 struct mount *m; in get_dominating_id() 94 struct mount *m; in do_make_slave() 149 static struct mount *propagation_next(struct mount *m, in propagation_next() 170 static struct mount *skip_propagation_subtree(struct mount *m, in skip_propagation_subtree() 183 static struct mount *next_group(struct mount *m, struct mount *origin) in next_group() [all …]
|
| A D | pnode.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 *); 47 int mnt_get_count(struct mount *mnt); 49 struct mount *); 51 struct mount *mnt); 52 struct mount *copy_tree(struct mount *, struct dentry *, int); [all …]
|
| A D | mount.h | 10 struct mount * root; 35 struct mount { struct 37 struct mount *mnt_parent; argument 62 struct mount *mnt_master; /* slave is on master->mnt_slave_list */ argument 84 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() argument 86 return container_of(mnt, struct mount, mnt); in real_mount() 89 static inline int mnt_has_parent(struct mount *mnt) in mnt_has_parent() 100 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *); 106 struct mount *m = __lookup_mnt(path->mnt, path->dentry); in __path_is_mountpoint() 148 static inline void move_from_ns(struct mount *mnt, struct list_head *dt_list) in move_from_ns() [all …]
|
| A D | namespace.c | 804 struct mount *p; in __lookup_mnt() 1057 static void __attach_mnt(struct mount *mnt, struct mount *parent) in __attach_mnt() 1086 static void attach_mnt(struct mount *mnt, struct mount *parent, in attach_mnt() 1147 struct mount *m; in commit_tree() 1167 static struct mount *next_mnt(struct mount *p, struct mount *root) in next_mnt() 1183 static struct mount *skip_mnt_tree(struct mount *p) in skip_mnt_tree() 1356 struct mount *m; in cleanup_mnt() 1525 struct mount *p; in mnt_clone_internal() 1640 struct mount *p; in may_umount_tree() 1690 struct mount *m; in namespace_unlock() [all …]
|
| /linux/Documentation/filesystems/ |
| A D | sharedsubtree.rst | 86 2b) A slave mount is like a shared mount except that mount and umount events 290 mount --make-slave mount 310 mount --make-shared mount 385 1. 'A' is a shared mount and 'B' is a shared mount. A new mount 'C' 394 2. 'A' is a private mount and 'B' is a shared mount. A new mount 'C' 402 3. 'A' is a slave mount of mount 'Z' and 'B' is a shared mount. A new 424 7. 'A' is a slave mount of mount 'Z' and 'B' is a non-shared mount. A 513 propagation from mount 'B'. The mount 'A' becomes a shared mount and a 518 3. 'A' is a slave mount of mount 'Z' and 'B' is a shared mount. The 535 unbindable) mount. The mount 'A' is mounted on mount 'B' at dentry 'b'. [all …]
|
| A D | autofs-mount-control.rst | 28 from the mount tree. 105 above and so the mount points can be covered by a mount. 141 in the mount table. An operation to lookup the mount status of a mount 202 The ioctlfd field is a mount point file descriptor of an autofs mount 274 the autofs mount. The device number can be obtained from the mount options 300 to a existing mount we need to use this to tell the autofs mount about 316 Make the autofs mount point catatonic. The autofs mount will no longer 391 set to an autofs mount type. The call returns 1 if this is a mount point 400 a mountpoint or contains a mount, such as a multi-mount without a root 401 mount. In this case we return 1 if the descriptor corresponds to a mount [all …]
|
| A D | tmpfs.rst | 17 mount. tmpfs also supports THP. 62 This mount is _not_ needed for SYSV shared memory. The internal 63 mount is used for that. (In the 2.3 kernel versions it was 67 3) Some people (including me) find it very convenient to mount it 75 tmpfs has three mount options for sizing: 104 tmpfs has a mount option to disable its use of swap: 114 The mount options for this are: 129 tmpfs also supports quota with the following mount options 136 on the mount. 138 on the mount. [all …]
|
| A D | gfs2-uevents.rst | 7 During the lifetime of a GFS2 mount, a number of uevents are generated. 17 The ADD event occurs at mount time. It will always be the first 18 uevent generated by the newly created filesystem. If the mount 23 and RDONLY=[0|1] that specify the spectator status (a read-only mount 42 nodes in the cluster to mount the filesystem. 49 for every journal recovered, whether it is during the initial mount 58 uevent for a successful mount or remount. 71 The REMOVE uevent is generated at the end of an unsuccessful mount 84 The LOCKTABLE is a string, as supplied on the mount command 86 as well as providing the information for a lock_dlm mount to be [all …]
|
| A D | autofs.rst | 78 and whether the mount was *indirect* or not. 103 mount has already happened. The VFS doesn't try to mount anything but 104 follows down the mount that is already there. 135 causing the directory not be a mount trap after all. 141 caught in the mount trap. 183 reason that it might not be is if an expiry of the mount is 321 be passed using the 'fd=' mount option. autofs will write 550 The "ignore" mount option 555 mount information. 558 space based on the kernel mount list a no-op mount option ("ignore" is [all …]
|
| A D | fuse.rst | 18 Non-privileged mount (or user mount): 64 mount system call is interpreted as the name of the device. 78 The numeric user id of the mount owner. 81 The numeric group id of the mount owner. 89 'allow_other' mount option. 111 mount -t fusectl none /sys/fs/fuse/connections 132 Only the owner of the mount may read or write these files. 226 A) The mount owner could gain elevated privileges by either: 275 monitored or manipulated by the mount owner. Since if the 276 mount owner can ptrace a process, it can do all of the above [all …]
|
| A D | devpts.rst | 7 Each mount of the devpts filesystem is now distinct such that ptys 8 and their indices allocated in one mount are independent from ptys 21 to bind mount ``/dev/ptx/ptmx`` to ``/dev/ptmx``. If you opt for using 28 kernel.pty.reserve = 1024 - reserved for filesystems mounted from the initial mount namespace 31 Per-instance limit could be set by adding mount option ``max=<count>``.
|
| A D | ecryptfs.rst | 37 then copy the files back into the new eCryptfs mount to migrate the 45 files (i.e., /root/crypt). Then, create the mount point directory 46 (i.e., /mnt/crypt). Now it's time to mount eCryptfs:: 48 mount -t ecryptfs /root/crypt /mnt/crypt 65 Then umount /mnt/crypt and mount again per the instructions given 78 mount a directory that has pre-existing files not created by eCryptfs,
|
| A D | overlayfs.rst | 120 At mount time, the two directories given as mount options "lowerdir" and 123 mount -t overlay overlay -olowerdir=/lower,upperdir=/upper,\ 330 mount --bind /upper /merged 358 fsconfig syscall from new mount api. For example:: 383 metacopy=on/off to enable/disable this feature per mount. 433 the "datadir+" mount options and the fsconfig syscall from new mount api. 516 lower root origin, mount will fail with ESTALE. An overlayfs mount with 522 mount time. So if same upper is mounted with different set of lower, mount 546 mount, so to support storing an effective whiteout file in an overlayfs mount an 715 read-write mount and will result in an error. [all …]
|
| A D | 9p.rst | 41 mount -t 9p 10.10.1.2 /mnt/9 45 mount -t 9p `namespace`/acme /mnt/9 -o trans=unix,uname=$USER 49 mount -t 9p -o trans=virtio <mount_tag> /mnt/9 53 associated "mount_tag" property. Available mount tags can be 59 To mount a 9p FS on a USB Host accessible via the gadget at runtime:: 61 mount -t 9p -o trans=usbg,aname=/path/to/fs <device> /mnt/9 119 unix specifying a named pipe mount point 168 have an exclusive mount and the server will modify the filesystem 206 dfltuid attempt to mount as a particular uid 208 dfltgid attempt to mount with a particular gid [all …]
|
| A D | idmappings.rst | 707 VFS ids in the mount's idmapping:: 713 make_kuid(mount, uid) = kuid 722 from_kuid(mount, kid) = uid 736 mount idmapping: u0:v10000:r10000 805 mount idmapping: u0:v10000:r10000 839 mount idmapping: u0:v10000:r10000 872 mount idmapping: u0:v10000:r10000 909 mount idmapping: u0:v10000:r10000 956 and files on a per-mount basis. 981 mount idmapping: u1000:v1125:r1 [all …]
|
| /linux/security/tomoyo/ |
| A D | mount.c | 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() 57 tomoyo_compare_name_union(r->param.mount.dir, in tomoyo_check_mount_acl() 59 (!r->param.mount.need_dev || in tomoyo_check_mount_acl() 159 r->param.mount.need_dev = need_dev; in tomoyo_mount_acl() 160 r->param.mount.dev = &rdev; in tomoyo_mount_acl() 161 r->param.mount.dir = &rdir; in tomoyo_mount_acl() 162 r->param.mount.type = &rtype; in tomoyo_mount_acl() [all …]
|
| /linux/Documentation/admin-guide/cifs/ |
| A D | usage.rst | 62 domain to the proper network user. The mount.cifs mount helper can be 103 in order to reduce risks, the ``nosuid`` mount flag is passed in on mount to 166 disabled on a per-mount basis by specifying ``nouser_xattr`` on mount. 172 ``noacl`` on mount. 213 mount helper display the mount steps more verbosely. 289 mount. 308 who executed the mount (root, except when mount.cifs 412 when the cifs mount helper cifs.mount (version 1.1 or later) 435 the mount helper, mount.cifs. When mount.cifs is installed it 476 under nfsd requires this mount option on the cifs mount. [all …]
|
| A D | introduction.rst | 19 Storage vendors, so this network filesystem client can mount to a 36 This filesystem has a mount utility (mount.cifs) and various user space 45 mount.cifs should be installed in the directory with the other mount helpers.
|
| /linux/tools/testing/selftests/move_mount_set_group/ |
| A D | move_mount_set_group_test.c | 118 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns() 198 if (mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in move_mount_set_group_supported() 202 if (mount(NULL, "/tmp", NULL, MS_PRIVATE, 0)) in move_mount_set_group_supported() 211 if (mount("testing", SET_GROUP_FROM, "tmpfs", MS_NOATIME | MS_NODEV, in move_mount_set_group_supported() 215 if (mount(SET_GROUP_FROM, SET_GROUP_TO, NULL, MS_BIND, NULL)) in move_mount_set_group_supported() 218 if (mount(NULL, SET_GROUP_FROM, NULL, MS_SHARED, 0)) in move_mount_set_group_supported() 246 ASSERT_EQ(mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 251 ASSERT_EQ(mount("testing", SET_GROUP_A, "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 319 ret = mount(NULL, SET_GROUP_A, NULL, MS_SHARED, 0); in get_nestedns_mount_cb()
|
| /linux/Documentation/admin-guide/nfs/ |
| A 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 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: 94 $ sudo cp utils/mount/mount.nfs /sbin/mount.nfs 97 by the system mount command. 283 command to mount the NFS/RDMA server: [all …]
|
| /linux/Documentation/filesystems/smb/ |
| A D | cifsroot.rst | 15 which will tell the kernel to mount the root file system over the 18 In order to mount, the network stack will also need to be set up by 22 A CIFS root mount currently requires the use of SMB1+UNIX Extensions 31 to use can nonetheless be changed via the 'vers=' mount option. This 52 This is just a virtual device that basically tells the kernel to mount 59 Enables the kernel to mount the root file system via SMB that are 62 The default mount options are set in fs/smb/client/cifsroot.c. 71 Optional mount options. For more information, see mount.cifs(8).
|
| /linux/security/ |
| A D | inode.c | 25 static struct vfsmount *mount; variable 121 error = simple_pin_fs(&fs_type, &mount, &mount_count); in securityfs_create_dentry() 126 parent = mount->mnt_root; in securityfs_create_dentry() 171 simple_release_fs(&mount, &mount_count); in securityfs_create_dentry() 312 simple_release_fs(&mount, &mount_count); in securityfs_remove() 318 simple_release_fs(&mount, &mount_count); in remove_one() 335 simple_pin_fs(&fs_type, &mount, &mount_count); in securityfs_recursive_remove() 337 simple_release_fs(&mount, &mount_count); in securityfs_recursive_remove()
|
| /linux/tools/testing/selftests/wireguard/qemu/ |
| A D | init.c | 92 if (mount("none", "/dev", "devtmpfs", 0, NULL)) in mount_filesystems() 94 if (mount("none", "/proc", "proc", 0, NULL)) in mount_filesystems() 96 if (mount("none", "/sys", "sysfs", 0, NULL)) in mount_filesystems() 98 if (mount("none", "/tmp", "tmpfs", 0, NULL)) in mount_filesystems() 100 if (mount("none", "/run", "tmpfs", 0, NULL)) in mount_filesystems() 102 if (mount("none", "/sys/kernel/debug", "debugfs", 0, NULL)) in mount_filesystems()
|
| /linux/tools/testing/selftests/firmware/ |
| A D | fw_namespace.c | 68 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns() 101 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) == -1) in test_fw_in_ns() 105 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns() 124 if (mount("test", "/lib/firmware", "tmpfs", 0, NULL) == -1) in main()
|
| /linux/Documentation/translations/zh_CN/filesystems/ |
| A D | tmpfs.rst | 19 页面swap出去。它具有最大限制,可以通过“mount -o remount ...”调整。 73 可以通过“mount -o remount ...”调整 109 可以在以后通过“mount -o remount,mpol=Policy:NodeList MountPoint”添加到挂载点。 134 所以'mount -t tmpfs -o size=10G,nr_inodes=10k,mode=700 tmpfs /mytmpfs'将在
|