/Linux-v5.4/fs/ |
D | pnode.c | 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() 37 static struct mount *get_peer_under_root(struct mount *mnt, in get_peer_under_root() 41 struct mount *m = mnt; in get_peer_under_root() [all …]
|
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 *); 46 int get_dominating_id(struct mount *mnt, const struct path *root); 47 unsigned int mnt_get_count(struct mount *mnt); 48 void mnt_set_mountpoint(struct mount *, struct mountpoint *, 49 struct mount *); [all …]
|
D | namespace.c | 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 unsigned 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() 252 static inline void mnt_inc_writers(struct mount *mnt) in mnt_inc_writers() 261 static inline void mnt_dec_writers(struct mount *mnt) in mnt_dec_writers() [all …]
|
D | mount.h | 11 struct mount * root; 34 struct mount { struct 36 struct mount *mnt_parent; argument 58 struct mount *mnt_master; /* slave is on master->mnt_slave_list */ argument 79 static inline struct mount *real_mount(struct vfsmount *mnt) in real_mount() argument 81 return container_of(mnt, struct mount, mnt); in real_mount() 84 static inline int mnt_has_parent(struct mount *mnt) in mnt_has_parent() 95 extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *); 102 struct mount *m = __lookup_mnt(path->mnt, path->dentry); in __path_is_mountpoint()
|
/Linux-v5.4/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 | 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 …]
|
D | fuse.txt | 14 Non-privileged mount (or user mount): 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. 85 The numeric user id of the mount owner. 89 The numeric group id of the mount owner. 98 'allow_other' mount option. 123 mount -t fusectl none /sys/fs/fuse/connections [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 | devpts.txt | 1 Each mount of the devpts filesystem is now distinct such that ptys 2 and their indicies allocated in one mount are independent from ptys 15 to bind mount /dev/ptx/ptmx to /dev/ptmx. If you opt for using 21 kernel.pty.reserve = 1024 - reserved for filesystems mounted from the initial mount namespace 24 Per-instance limit could be set by adding mount option "max=<count>".
|
D | ecryptfs.txt | 32 then copy the files back into the new eCryptfs mount to migrate the 39 files (i.e., /root/crypt). Then, create the mount point directory 40 (i.e., /mnt/crypt). Now it's time to mount eCryptfs: 42 mount -t ecryptfs /root/crypt /mnt/crypt 59 Then umount /mnt/crypt and mount again per the instructions given 69 mount a directory that has pre-existing files not created by eCryptfs,
|
D | 9p.txt | 36 mount -t 9p 10.10.1.2 /mnt/9 40 mount -t 9p `namespace`/acme /mnt/9 -o trans=unix,uname=$USER 44 mount -t 9p -o trans=virtio <mount_tag> /mnt/9 47 mount points. Each 9P export is seen by the client as a virtio device with an 48 associated "mount_tag" property. Available mount tags can be 56 unix - specifying a named pipe mount point 64 uname=name user name to attempt mount as on the remote server. The 110 dfltuid attempt to mount as a particular uid 112 dfltgid attempt to mount with a particular gid
|
D | afs.txt | 89 mount -t afs "%cambridge.redhat.com:root.afs." /afs 90 mount -t afs "#cambridge.redhat.com:root.cell." /afs/cambridge 91 mount -t afs "#root.afs." /afs 92 mount -t afs "#root.cell." /afs/cambridge 101 The name of the cell is optional, and if not given during a mount, then the 112 symbolic links (of the same form as the "device name" passed to mount). kAFS 135 A mount option is available to create a serverless mount that is only usable 136 for dynamic lookup. Creating such a mount can be done by, for example: 138 mount -t afs none /afs -o dyn 140 This creates a mount that just has an empty directory at the root. Attempting
|
/Linux-v5.4/security/tomoyo/ |
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() 53 return tomoyo_compare_number_union(r->param.mount.flags, in tomoyo_check_mount_acl() 55 tomoyo_compare_name_union(r->param.mount.type, in tomoyo_check_mount_acl() 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() 60 tomoyo_compare_name_union(r->param.mount.dev, in tomoyo_check_mount_acl() 159 r->param.mount.need_dev = need_dev; in tomoyo_mount_acl() [all …]
|
/Linux-v5.4/Documentation/admin-guide/cifs/ |
D | usage.rst | 55 If you do not have the utility mount.cifs (in the Samba 4.x source tree and on 56 the CIFS VFS web site) copy it to the same directory in which mount helpers 58 required, mount.cifs is recommended. Most distros include a ``cifs-utils`` 63 domain to the proper network user. The mount.cifs mount helper can be 79 the new default. To use old dialects (e.g. to mount Windows XP) use "vers=1.0" 80 on mount (or vers=2.0 for Windows Vista). Note that the CIFS (vers=1.0) is 84 There are additional mount options that may be helpful for SMB3 to get 92 To permit users to mount and unmount over directories they own is possible 93 with the cifs vfs. A way to enable such mounting is to mark the mount.cifs 94 utility as suid (e.g. ``chmod +s /sbin/mount.cifs``). To enable users to [all …]
|
D | introduction.rst | 20 filesystem client can mount to a wide variety of systems. 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-v5.4/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 …]
|
/Linux-v5.4/Documentation/filesystems/cifs/ |
D | cifsroot.txt | 11 which will tell the kernel to mount the root file system over the 14 In order to mount, the network stack will also need to be set up by 18 A CIFS root mount currently requires the use of SMB1+UNIX Extensions 27 to use can nonetheless be changed via the 'vers=' mount option. This 46 This is just a virtual device that basically tells the kernel to mount 51 Enables the kernel to mount the root file system via SMB that are 54 The default mount options are set in fs/cifs/cifsroot.c. 63 Optional mount options. For more information, see mount.cifs(8).
|
/Linux-v5.4/security/ |
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()
|
/Linux-v5.4/Documentation/cdrom/ |
D | packet-writing.rst | 25 - Now you can mount /dev/pktcdvd/dev_name and copy files to it. Enjoy:: 27 # mount /dev/pktcdvd/dev_name /cdrom -t udf -o rw,noatime 42 # mount /dev/pktcdvd/dev_name /cdrom -t udf -o rw,noatime 56 # mount /dev/hdc /cdrom -t udf -o rw,noatime 69 # mount /dev/pktcdvd/dev_name /cdrom -t udf -o rw,noatime 85 use the noatime mount option. 111 # mount -t udf -o rw,noatime /dev/pktcdvd/dev_name /dvdram
|
/Linux-v5.4/fs/fat/ |
D | Kconfig | 8 to include FAT support. You will then be able to mount partitions or 24 Linux box, say Y here, mount the floppy under Linux with an MSDOS 40 This allows you to mount MSDOS partitions of your hard drive (unless 84 It can be overridden with the "codepage" mount option. 95 with the "iocharset" mount option for FAT filesystems. 109 Set this if you would like to have "utf8" mount option set 113 particular mount by adding "utf8=0" to mount options.
|
/Linux-v5.4/tools/perf/trace/beauty/ |
D | mount_flags.sh | 8 egrep $regex ${header_dir}/mount.h | egrep -v '(MSK|VERBOSE|MGC_VAL)\>' | \ 12 egrep $regex ${header_dir}/mount.h | \
|
/Linux-v5.4/drivers/staging/exfat/ |
D | Kconfig | 14 By default, the exFAT driver will only mount exFAT filesystems, and refuse 15 to mount fat/vfat filesystems. Set this to 'n' to allow the exFAT driver 16 to mount these filesystems.
|
/Linux-v5.4/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 216 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { in test_unpriv_remount() 230 if (mount("/tmp", "/tmp", "none", in test_unpriv_remount() 237 if (mount("/tmp", "/tmp", "none", in test_unpriv_remount() 297 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL); in test_priv_mount_unpriv_remount() 303 ret = mount(dest_path, dest_path, "none", in test_priv_mount_unpriv_remount()
|
/Linux-v5.4/tools/testing/selftests/filesystems/ |
D | devpts_pts.c | 210 ret = mount("devpts", mntpoint, "devpts", MS_NOSUID | MS_NOEXEC, in verify_non_standard_devpts_mount() 238 ret = mount("/dev/pts/ptmx", "/dev/ptmx", NULL, MS_BIND, NULL); in verify_ptmx_bind_mount() 265 ret = mount("/dev/pts/ptmx", ptmx, NULL, MS_BIND, NULL); in verify_invalid_ptmx_bind_mount() 296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
|