Home
last modified time | relevance | path

Searched full:mount (Results 1 – 25 of 1519) sorted by relevance

12345678910>>...61

/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dsharedsubtree.rst10 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 …]
H A Dautofs-mount-control.rst17 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 …]
H A Dautofs.rst46 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 …]
H A Dfuse.rst18 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 …]
H A Dtmpfs.rst17 be adjusted on the fly via 'mount -o remount ...'
33 1) There is always a kernel internal mount which you will not see at
37 This mount does not depend on CONFIG_TMPFS. If CONFIG_TMPFS is not
47 Remember to create the directory that you intend to mount tmpfs on
50 This mount is _not_ needed for SYSV shared memory. The internal
51 mount is used for that. (In the 2.3 kernel versions it was
52 necessary to mount the predecessor of tmpfs (shm fs) to use SYSV
55 3) Some people (including me) find it very convenient to mount it
63 tmpfs has three mount options for sizing:
84 mount with such options, since it allows any user with write access to
[all …]
H A Dgfs2-uevents.rst7 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
30 The ONLINE uevent is generated after a successful mount or remount. It
40 successful mount of the filesystem by the first node (FIRSTMOUNT=Done).
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
[all …]
/OK3568_Linux_fs/kernel/fs/
H A Dpnode.c9 #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 …]
H A Dnamespace.c30 #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 …]
H A Dpnode.h11 #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 …]
H A Dmount.h2 #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 …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/udev/udev-extraconf/
H A Dmount.sh5 # Attempt to mount any added block devices and umount any removed devices
12 # systemd as init uses systemd-mount to mount block devices
13 MOUNT="/usr/bin/systemd-mount"
16 if [ -x $MOUNT ] && [ -x $UMOUNT ];
18 logger "Using systemd-mount to finish mount"
20 logger "Linux init is using systemd, so please install systemd-mount to finish mount"
24 MOUNT="/bin/mount"
30 for line in `grep -h -v ^# /etc/udev/mount.ignorelist /etc/udev/mount.ignorelist.d/*`
34 logger "udev/mount.sh" "[$DEVNAME] is marked to ignore"
43 … /run/systemd/transient/$(echo $MOUNT_BASE | cut -d '/' -f 2- | sed 's#/#-#g')-*$name.mount ]; then
[all …]
/OK3568_Linux_fs/buildroot/board/forlinx/ok3568/fs-overlay/etc/udev/scripts/
H A Dmount.sh5 # Attempt to mount any added block devices and umount any removed devices
11 # systemd as init uses systemd-mount to mount block devices
12 MOUNT="/usr/bin/systemd-mount"
15 if [ -x $MOUNT ] && [ -x $UMOUNT ];
17 logger "Using systemd-mount to finish mount"
19 logger "Linux init is using systemd, so please install systemd-mount to finish mount"
23 MOUNT="/bin/mount"
29 for line in `grep -h -v ^# /etc/udev/mount.blacklist /etc/udev/mount.blacklist.d/*`
33 logger "udev/mount.sh" "[$DEVNAME] is blacklisted, ignoring"
42 if [ -f /run/systemd/transient/run-media-$name.mount ]; then
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/initrdscripts/files/
H A Dinit-live.sh7 MOUNT="/bin/mount"
32 mount -t proc proc /proc
33 mount -t sysfs sysfs /sys
34 mount -t devtmpfs none /dev
89 mount -n --move "/run/media/${ROOT_DISK}" ${ROOT_MOUNT}/media/realroot
91 # Move the mount points of some filesystems over to
95 # in the mount points to actual ASCII chars
98 mount -n --move "$dir" "${ROOT_MOUNT}/media/${dir##*/}"
100 mount -n --move /proc ${ROOT_MOUNT}/proc
101 mount -n --move /sys ${ROOT_MOUNT}/sys
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/cifs/
H A Dusage.rst54 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 …]
/OK3568_Linux_fs/kernel/security/tomoyo/
H A Dmount.c3 * 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 …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/initrdscripts/initramfs-framework/
H A Doverlayroot7 # Simple initramfs module intended to mount a read-write (RW)
17 # It relies on the initramfs-module-rootfs to mount the original
23 # since it relies on it to mount the filesystem at initramfs startup
60 # Tweak the mount option and fs_passno for rootfs in fstab
65 # Tweak the "mount -o remount,rw /" command in busybox-inittab inittab
67 sed -i 's|/bin/mount -o remount,rw /|/bin/mount -o remount,ro /|' ${OLDROOT}/etc/inittab
77 exit_gracefully "rootrw= kernel parameter doesn't exist and its required to mount the overlayfs"
82 # Mount RW device
83 if mount -n -t ${bootparam_rootfstype:-ext4} -o ${bootparam_rootflags:-defaults} ${bootparam_rootrw…
92 mount -o bind ${OLDROOT} ${ROMOUNT}
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/nfs/
H A Dnfs-rdma.rst55 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 …]
/OK3568_Linux_fs/buildroot/package/usbmount/
H A D0002-use-udev-environment-instead-of-blkid.patch22 trap '( lockfile-remove /var/run/usbmount/.mount )' 0
23 log debug "acquired lock /var/run/usbmount/.mount.lock"
39 log info "executing command: mount $DEVNAME"
40 mount $DEVNAME || log err "mount by DEVNAME with $DEVNAME wasn't successful; return code $?"
43 - log info "executing command: mount -U $UUID"
44 - mount -U $UUID || log err "mount by UUID with $UUID wasn't successful; return code $?"
46 + log info "executing command: mount -U $ID_FS_UUID"
47 + mount -U $ID_FS_UUID || log err "mount by UUID with $ID_FS_UUID wasn't successful; return code $?"
56 # types to mount.
69 log info "executing command: run-parts /etc/usbmount/mount.d"
[all …]
/OK3568_Linux_fs/kernel/fs/autofs/
H A Ddev-ioctl.c20 * an ioctl file descriptor on an autofs mount that may be covered by
21 * another mount. This situation arises when starting automount(8)
23 * mounts (used for autofs lazy mount/umount of nested mount trees),
181 /* Find the topmost mount satisfying test() */
223 * Open a file descriptor on the autofs mount point corresponding
256 /* Open a file descriptor on an autofs mount point */
296 * Send "ready" status for an existing wait (either a mount or an expire
310 * Send "fail" status for an existing wait (either a mount or an expire
328 * Normally this is set at mount using an option but if we
329 * are reconnecting to a busy mount then we need to use this
[all …]
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Doverlayfs.bbclass1 # Class for generation of overlayfs mount units
12 # Set a mount point for a partition overlayfs is going to use as upper layer
20 # mount unit (data.mount in this case) for this mount point installed on the
23 # If the mount point is handled somewhere else, e.g. custom boot or preinit
25 # mount-configured to the related OVERLAYFS_QA_SKIP flag:
27 # OVERLAYFS_QA_SKIP[data] = "mount-configured"
34 # To support several mount points you can use a different variable flag. Assume we
36 # survive a reboot. Then we could have a mnt-overlay.mount unit for a tmpfs file system:
53 OVERLAYFS_MOUNT_UNIT_TEMPLATE ??= "${COREBASE}/meta/files/overlayfs-unit.mount.in"
101 bb.note("No mount points defined for %s flag, skipping" % (mountPoint))
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Doverlayfs.py51 Summary: Test QA check that we have required mount units in the image
52 Expected: Fail because mount unit for overlay partition is not installed
65 …line = getline(res, " Mount path /mnt/overlay not found in fstab and unit mnt-overlay.mount not fo…
67 line = getline(res, "Not all mount paths and units are installed in the image")
80 OVERLAYFS_QA_SKIP[mnt-overlay] = "mount-configured"
90 Summary: Test whether mount unit was set properly
91 Expected: Fail because mount unit was not set
108 Summary: Test whether mount unit was set properly
109 Expected: Fail because not the correct flag used for mount unit
126 …line = getline(res, "Missing required mount point for OVERLAYFS_MOUNT_POINT[mnt-overlay] in your M…
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/udev/
H A Dudev-extraconf_1.1.bb9 file://mount.sh \
10 file://mount.ignorelist \
27 install -d ${D}${sysconfdir}/udev/mount.ignorelist.d
28 install -m 0644 ${WORKDIR}/mount.ignorelist ${D}${sysconfdir}/udev/
32 install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh
33 sed -i 's|@systemd_unitdir@|${systemd_unitdir}|g' ${D}${sysconfdir}/udev/scripts/mount.sh
34 sed -i 's|@base_sbindir@|${base_sbindir}|g' ${D}${sysconfdir}/udev/scripts/mount.sh
35 sed -i 's|@MOUNT_BASE@|${MOUNT_BASE}|g' ${D}${sysconfdir}/udev/scripts/mount.sh
53 CONFFILES:${PN} = "${sysconfdir}/udev/mount.ignorelist"
/OK3568_Linux_fs/debian/overlay/usr/bin/
H A Dmount-helper3 # Provides: mount-all
6 # Description: Mount all internal partitions in /etc/fstab
17 LOGFILE=/tmp/mount-all.log
35 # Setup check/mount tools and do some prepare
52 # Mount partition
64 echo "Will now mount all partitions in /etc/fstab"
89 # Mount basic file systems firstly
90 mount -a -t "proc,devpts,tmpfs,sysfs,debugfs,pstore"
96 echo "Usage: mount-helper start" >&2
/OK3568_Linux_fs/external/rkscript/
H A Dmount-helper3 # Provides: mount-all
6 # Description: Mount all internal partitions in /etc/fstab
17 LOGFILE=/tmp/mount-all.log
35 # Setup check/mount tools and do some prepare
52 # Mount partition
64 echo "Will now mount all partitions in /etc/fstab"
89 # Mount basic file systems firstly
90 mount -a -t "proc,devpts,tmpfs,sysfs,debugfs,pstore"
96 echo "Usage: mount-helper start" >&2
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Dsysfs.sh12 # Short-Description: Mount kernel virtual file systems.
13 # Description: Mount initial set of virtual filesystems the kernel
18 mount -t proc proc /proc
22 mount -t sysfs sysfs /sys
26 mount -t debugfs debugfs /sys/kernel/debug
30 mount -t configfs configfs /sys/kernel/config
34 mount -t efivarfs efivarfs /sys/firmware/efi/efivars
38 mount -n -t devtmpfs devtmpfs /dev

12345678910>>...61