| /freebsd/share/man/man5/ |
| H A D | mount.conf.5 | 28 .Dt MOUNT.CONF 5 31 .Nm mount.conf 32 .Nd root file system mount configuration file 34 .Pa /.mount.conf 38 kernel will try to mount the root file system 43 The root mount logic can be described as follows: 52 The kernel will first mount 57 and try to mount the actual root file system. 69 .Pa /.mount.conf 71 just mounted, the root mount logi [all...] |
| /freebsd/lib/libsys/ |
| H A D | mount.2 | 32 .Nm mount , 35 .Nd mount or dismount a file system 42 .Fn mount "const char *type" "const char *dir" "int flags" "void *data" 50 .Fn mount 66 become available through the new mount point 71 of a successful mount are swept under the carpet so to speak, and 77 .Fn mount , 78 except that the mount options (file system type name, device to mount, 79 mount-point name, etc.) are passed as an array of name-value pairs 90 .Li fspath Ta mount point pathname (e.g., Dq Li /proc ) [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/ |
| H A D | delegate_common.kshlib | 215 mount) 401 log_must zfs allow $user mount $fs 403 log_must zfs unallow $user mount $fs 408 log_must zfs allow $user mount,create $fs 410 log_must zfs unallow $user mount,create $fs 452 log_must zfs allow $user create,mount,canmount $fs 454 log_must zfs unallow $user create,mount,canmount $fs 459 log_must zfs allow $user create,mount,canmount $fs 461 log_must zfs unallow $user create,mount,canmount $fs 571 log_must zfs allow $user mount $fs [all …]
|
| /freebsd/sys/sys/ |
| H A D | mount.h | 51 * NOTE: When changing statfs structure, mount structure, MNT_* flags or 52 * MNTK_* flags also update DDB show mount command in vfs_subr.c. 88 uint64_t f_flags; /* copy of mount exported flags */ 96 uint64_t f_syncwrites; /* count of sync writes since mount */ 97 uint64_t f_asyncwrites; /* count of async writes since mount */ 98 uint64_t f_syncreads; /* count of sync reads since mount */ 99 uint64_t f_asyncreads; /* count of async reads since mount */ 117 uint64_t f_flags; /* copy of mount exported flags */ 125 uint64_t f_syncwrites; /* count of sync writes since mount */ 126 uint64_t f_asyncwrites; /* count of async writes since mount */ [all …]
|
| /freebsd/sys/contrib/openzfs/man/man8/ |
| H A D | zfs-mount.8 | 38 .Nm zfs-mount 39 .Nd manage mount state of ZFS filesystems 42 .Cm mount 45 .Cm mount 58 .Cm mount 68 .Cm mount 73 Mount ZFS filesystem on a path described by its 81 .Xr mount 8 . 84 Perform an overlay mount. 88 .Xr mount 8 [all …]
|
| H A D | zfs-unmount.8 | 34 .Dt ZFS-MOUNT 8 38 .Nm zfs-mount 39 .Nd manage mount state of ZFS filesystems 42 .Cm mount 45 .Cm mount 58 .Cm mount 68 .Cm mount 73 Mount ZFS filesystem on a path described by its 81 .Xr mount 8 . 84 Perform an overlay mount [all...] |
| H A D | zfs-mount-generator.8.in | 31 .Nm zfs-mount-generator 32 .Nd generate systemd mount units for ZFS filesystems 34 .Pa @systemdgeneratordir@/zfs-mount-generator 41 .Xr systemd.mount 5 61 Used to generate mount options equivalent to 62 .Nm zfs Cm mount . 65 If the dataset is an encryption root, its mount unit will bind to 83 as the mount unit. 86 .No Sets Sy Requires Ns = for the mount- and key-loading unit. 89 .No Sets Sy RequiresMountsFor Ns = for the mount- and key-loading unit. [all …]
|
| H A D | mount.zfs.8 | 29 .Nm mount.zfs 30 .Nd mount ZFS filesystem 42 .Xr mount 8 43 to mount filesystem snapshots and 51 .Xr mount 8 58 .Em Temporary Mount Point Properties 72 Ignore unknown (sloppy) mount options. 79 Print resolved mount options and parser state. 84 .Xr mount 8 92 .Xr mount 8 , [all …]
|
| /freebsd/sbin/mount_fusefs/ |
| H A D | mount_fusefs.8 | 40 .Nd mount a Fuse file system daemon 85 argument will normally be treated as the path of the special file to mount. 109 mount flag. 129 Mount on 136 Mount options are specified via 177 Besides the above mount options, there is a set of pseudo-mount options which 208 (eg, run the daemon at a low privilege level but mount it as root). 214 This is applied for Fuse mounts by default and only root can mount without 217 mount option). 224 are concerned) by doing their own secondary mount (See [all …]
|
| /freebsd/sbin/mdmfs/ |
| H A D | mdmfs.8 | 32 .Nd configure and mount an in-memory file system using the 52 .Op Fl o Ar mount-options 59 .Ar mount-point 82 .Xr mount 8 . 108 size option, if present, into a `-o size=' mount option. 113 mount. 133 .Ar mount-point . 199 .Ar mount-point . 232 .It Fl o Ar mount-options 233 Specify the mount option [all...] |
| /freebsd/sbin/mount/ |
| H A D | mount.8 | 35 .Nm mount 36 .Nd mount file systems 115 a file system mount status from read-write to read-only. 117 forces the R/W mount of an unclean file system (dangerous; use with 122 option, mount 129 option, also mount those file systems which are marked as 170 Mount the file system read-write. 172 then automatically try to mount the file system read-only. 179 Require that the mount point directory be empty. 184 a file system mount status from read-write to read-only. [all …]
|
| /freebsd/sbin/mount_nfs/ |
| H A D | mount_nfs.8 | 33 .Nd mount NFS file systems 58 .Xr mount 8 . 60 it implements the mount protocol as described in RFC 1094, Appendix A and 67 keeps retrying until the mount succeeds. 94 .Xr mount 8 125 trying the mount in the background. 128 where the file system mount is not critical to multiuser operation. 132 fork off a child to keep trying the mount in the background, 133 but do not attempt to mount in the foreground first. 161 It allows the mount to be performed by [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | mountu.sh | 31 # Change mount point from rw to ro with a file mapped rw 55 if mount | grep $mntpoint | grep -q "read-only"; then 59 mount | grep $mntpoint 60 printf "RW mount mapping and RO mount mapping:\n%s\n" "$r" 65 echo "$1 mount point RO did not succeed" 66 mount | grep $mntpoint 74 mount | grep -q "$mntpoint " && umount $mntpoint 81 mount /dev/md${mdstart}$part $mntpoint 92 mount -u -o ro $mntpoint 2>/dev/null || mount -fu -o ro $mntpoint 94 mount -u -o rw $mntpoint [all …]
|
| H A D | nullfs30.sh | 30 # Parallel mount and umount test of file mounts, 51 mount /dev/md$md1 $mp1 54 mount /dev/md$md2 $mp2 62 mount -t nullfs $mp1/f1 $mp2/m1 || { 67 echo "File mount not implemented" 76 while mount | grep -q "on $mp2/m1 "; do umount $mp2/m1; done 2> /dev/null 77 mount -t nullfs $mp1/f1 $mp2/m1 80 while mount | grep -q "on $mp2/m2 "; do umount $mp2/m2; done 2> /dev/null 81 mount -t nullfs $mp1/f2 $mp2/m2 84 while mount | grep -q "on $mp2/m3 "; do umount $mp2/m3; done 2> /dev/null [all …]
|
| /freebsd/sys/contrib/openzfs/cmd/ |
| H A D | mount_zfs.c | 31 #include <sys/mount.h> 56 * current working directory was named 'dataset' then mount(8) in parse_dataset() 90 * available otherwise fallback to legacy mode. The mount(8) utility will 193 (void) fprintf(stderr, gettext("Usage: mount.zfs " in main() 212 (void) fprintf(stderr, "usage: mount <dataset> <mountpoint>\n"); in main() 218 /* canonicalize the mount point */ in main() 226 /* validate mount options and set mntflags */ in main() 241 "to ignore the bad mount option.\n")); in main() 264 /* try to open the dataset to access the mount point */ in main() 277 /* treat all snapshots as legacy mount points */ in main() [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
| H A D | zfs_mount_010_neg.ksh | 37 # Verify that zfs mount should fail when mounting a mounted zfs filesystem or 38 # the mountpoint is busy. On Linux the mount should succeed. 42 # 2. Use zfs mount to mount the filesystem 43 # 3. Verify that zfs mount succeeds on Linux and fails for other platforms 51 log_must zfs mount $fs 55 log_assert "zfs mount fails with mounted filesystem or busy mountpoint" 60 log_must zfs mount $fs 63 log_mustnot zfs mount $fs 70 log_must zfs mount $fs 72 log_mustnot zfs mount $fs [all …]
|
| H A D | zfs_mount_test_race.ksh | 24 # Verify parallel mount ordering is consistent. 27 # under race condition which resulted in undefined mount order. The purpose 28 # of this test is to verify `zfs unmount -a` succeeds (not `zfs mount -a` 29 # succeeds, it always does) after `zfs mount -a`, which could fail if threads 34 # 2. Set same mount point for >1 datasets. 36 # 4. Mount all datasets. 67 log_note "Verify parallel mount ordering is consistent" 81 # Note that unmount can fail (due to race condition on `zfs mount -a`) with or 83 # but turn it off for convenience of mount layout used in this test case. 88 # Previously, on next `zfs mount -a`, pthreads assigned to TESTFS1 and TESTFS2 [all …]
|
| H A D | zfs_mount_011_neg.ksh | 37 # Verify that zfs mount should fail with bad parameters 41 # 2. Use zfs mount to mount the filesystem 42 # 3. Verify that zfs mount returns error 57 log_assert "zfs mount fails with bad parameters" 64 log_mustnot eval "zfs mount $arg $fs >/dev/null 2>&1" 67 #verify that zfs mount fails with invalid dataset 69 log_mustnot eval "zfs mount $opt /$fs >/dev/null 2>&1" 72 #verify that zfs mount fails with volume and snapshot 74 log_mustnot eval "zfs mount $TESTPOOL/$TESTFS@$TESTSNAP >/dev/null 2>&1" 78 log_mustnot eval "zfs mount $TESTPOOL/$TESTVOL >/dev/null 2>&1" [all …]
|
| H A D | zfs_mount_remount.ksh | 37 # 2. Verify we can (re)mount the dataset readonly/read-write 38 # 3. Verify we can mount the snapshot and it's mounted readonly 91 options=$(mount -p | awk -v ds="$dataset" '$1 == ds { print $4 }') 119 # 2. Verify we can (re)mount the dataset readonly/read-write 122 log_must mount $RO $TESTFS $MNTPFS 125 log_must mount $RW $TESTFS $MNTPFS 130 # 3. Verify we can (re)mount the snapshot readonly 131 log_must mount -t zfs $TESTSNAP $MNTPSNAP 134 log_must mount $RO $TESTSNAP $MNTPSNAP 141 # The "mount -o rw" command will succeed but the snapshot is mounted readonly. [all …]
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | mntent.h | 40 #define MOUNT_SOFTWARE 0x04 /* Internal mount bug */ 43 #define MOUNT_FAIL 0x20 /* Mount failed */ 44 #define MOUNT_SOMEOK 0x40 /* At least on mount succeeded */ 45 #define MOUNT_BUSY 0x80 /* Mount failed due to EBUSY */ 64 #define MNTOPT_GROUP "group" /* allow group mount */ 65 #define MNTOPT_NOGROUP "nogroup" /* do not allow group mount */ 86 #define MNTOPT_OWNER "owner" /* allow owner mount */ 87 #define MNTOPT_NOOWNER "noowner" /* do not allow owner mount */ 88 #define MNTOPT_REMOUNT "remount" /* change mount options */ 92 #define MNTOPT_USER "user" /* allow user mount */ [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/delegate/ |
| H A D | delegate_common.kshlib | 234 mount) 456 log_must $ZFS allow $user mount $fs 458 log_must $ZFS unallow $user mount $fs 463 log_must $ZFS allow $user mount,create $fs 465 log_must $ZFS unallow $user mount,create $fs 588 log_must $ZFS allow $user mount $fs 590 log_must $ZFS unallow $user mount $fs 597 # mount permission is required for sparse volume 603 log_must $ZFS allow $user mount $fs 605 log_must $ZFS unallow $user mount $fs [all …]
|
| /freebsd/sbin/devfs/ |
| H A D | devfs.8 | 34 .Op Fl m Ar mount-point 63 .It Fl m Ar mount-point 65 .Ar mount-point , 68 mount. 80 Each DEVFS mount-point has a 85 all the rules in the ruleset associated with each mount-point are applied 104 specified mount-point. 123 to the mount-point. 127 in the mount-point and the actions taken if they match. 129 Apply all the rules in the ruleset to the mount [all...] |
| /freebsd/usr.sbin/mountd/ |
| H A D | exports.5 | 33 .Nd define remote mount points for 35 mount requests 41 file specifies remote mount points for the 43 mount protocol per the 53 specifies the mount point(s) and export flags within one local server 66 In a mount entry, 75 mount points on the server. 80 is not a file system mount point, then clients will be able to access arbitrary 83 to limit exported directories to server local file system mount points. 95 mount point. [all …]
|
| /freebsd/sys/ufs/ffs/ |
| H A D | ffs_extern.h | 45 struct mount; 74 int ffs_flushfiles(struct mount *, int, struct thread *); 81 int ffs_inotovp(struct mount *, ino_t, uint64_t, int, struct vnode **, 87 int ffs_own_mount(const struct mount *mp); 93 int ffs_reload(struct mount *, int); 103 int ffs_snapshot(struct mount *mp, char *snapfile); 104 void ffs_snapshot_mount(struct mount *mp); 105 void ffs_snapshot_unmount(struct mount *mp); 108 void ffs_sync_snap(struct mount *, int); 117 int ffs_vgetf(struct mount *, ino_t, int, struct vnode **, int); [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
| H A D | zfs_mount_011_neg.ksh | 36 # Verify that zfs mount should fail with bad parameters 40 # 2. Use zfs mount to mount the filesystem 41 # 3. Verify that zfs mount returns error 66 log_assert "zfs mount fails with bad parameters" 73 log_mustnot eval "$ZFS mount $arg $fs >/dev/null 2>&1" 76 #verify that zfs mount fails with invalid dataset 78 log_mustnot eval "$ZFS mount $opt /$fs >/dev/null 2>&1" 81 #verify that zfs mount fails with volume and snapshot 83 log_mustnot eval "$ZFS mount $TESTPOOL/$TESTFS@$TESTSNAP >/dev/null 2>&1" 87 log_mustnot eval "$ZFS mount $TESTPOOL/$TESTVOL >/dev/null 2>&1" [all …]
|