/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...] |
H A D | msdosfs.5 |
|
/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/sys/ |
H A D | mount.h | 47 * NOTE: When changing statfs structure, mount structure, MNT_* flags or 48 * MNTK_* flags also update DDB show mount command in vfs_subr.c. 84 uint64_t f_flags; /* copy of mount exported flags */ 92 uint64_t f_syncwrites; /* count of sync writes since mount */ 93 uint64_t f_asyncwrites; /* count of async writes since mount */ 94 uint64_t f_syncreads; /* count of sync reads since mount */ 95 uint64_t f_asyncreads; /* count of async reads since mount */ 113 uint64_t f_flags; /* copy of mount exported flags */ 121 uint64_t f_syncwrites; /* count of sync writes since mount */ 122 uint64_t f_asyncwrites; /* count of async writes since mount */ [all …]
|
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zfs-mount.8 | 37 .Nm zfs-mount 38 .Nd manage mount state of ZFS filesystems 41 .Cm mount 44 .Cm mount 57 .Cm mount 67 .Cm mount 72 Mount ZFS filesystem on a path described by its 80 .Xr mount 8 . 83 Perform an overlay mount. 87 .Xr mount 8 [all …]
|
H A D | zfs-unmount.8 | 33 .Dt ZFS-MOUNT 8 37 .Nm zfs-mount 38 .Nd manage mount state of ZFS filesystems 41 .Cm mount 44 .Cm mount 57 .Cm mount 67 .Cm mount 72 Mount ZFS filesystem on a path described by its 80 .Xr mount 8 . 83 Perform an overlay mount [all...] |
H A D | zfs-mount-generator.8.in | 30 .Nm zfs-mount-generator 31 .Nd generate systemd mount units for ZFS filesystems 33 .Pa @systemdgeneratordir@/zfs-mount-generator 40 .Xr systemd.mount 5 60 Used to generate mount options equivalent to 61 .Nm zfs Cm mount . 64 If the dataset is an encryption root, its mount unit will bind to 82 as the mount unit. 85 .No Sets Sy Requires Ns = for the mount- and key-loading unit. 88 .No Sets Sy RequiresMountsFor Ns = for the mount- and key-loading unit. [all …]
|
H A D | mount.zfs.8 | 28 .Nm mount.zfs 29 .Nd mount ZFS filesystem 41 .Xr mount 8 42 to mount filesystem snapshots and 50 .Xr mount 8 57 .Em Temporary Mount Point Properties 71 Ignore unknown (sloppy) mount options. 78 Print resolved mount options and parser state. 83 .Xr mount 8 91 .Xr mount 8 , [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/ |
H A D | delegate_common.kshlib | 214 mount) 397 log_must zfs allow $user mount $fs 399 log_must zfs unallow $user mount $fs 404 log_must zfs allow $user mount,create $fs 406 log_must zfs unallow $user mount,create $fs 528 log_must zfs allow $user mount $fs 530 log_must zfs unallow $user mount $fs 538 # mount permission is required for sparse volume 545 log_must zfs allow $user mount $fs 547 log_must zfs unallow $user mount $fs [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/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/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_010_neg.ksh | 36 # Verify that zfs mount should fail when mounting a mounted zfs filesystem or 37 # the mountpoint is busy. On Linux the mount should succeed. 41 # 2. Use zfs mount to mount the filesystem 42 # 3. Verify that zfs mount succeeds on Linux and fails for other platforms 50 log_must zfs mount $fs 54 log_assert "zfs mount fails with mounted filesystem or busy mountpoint" 59 log_must zfs mount $fs 62 log_mustnot zfs mount $fs 69 log_must zfs mount $fs 71 log_mustnot zfs mount $fs [all …]
|
H A D | zfs_mount_test_race.ksh | 23 # Verify parallel mount ordering is consistent. 26 # under race condition which resulted in undefined mount order. The purpose 27 # of this test is to verify `zfs unmount -a` succeeds (not `zfs mount -a` 28 # succeeds, it always does) after `zfs mount -a`, which could fail if threads 33 # 2. Set same mount point for >1 datasets. 35 # 4. Mount all datasets. 68 log_note "Verify parallel mount ordering is consistent" 82 # Note that unmount can fail (due to race condition on `zfs mount -a`) with or 84 # but turn it off for convenience of mount layout used in this test case. 89 # Previously, on next `zfs mount -a`, pthreads assigned to TESTFS1 and TESTFS2 [all …]
|
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 56 log_assert "zfs mount fails with bad parameters" 63 log_mustnot eval "zfs mount $arg $fs >/dev/null 2>&1" 66 #verify that zfs mount fails with invalid dataset 68 log_mustnot eval "zfs mount $opt /$fs >/dev/null 2>&1" 71 #verify that zfs mount fails with volume and snapshot 73 log_mustnot eval "zfs mount $TESTPOOL/$TESTFS@$TESTSNAP >/dev/null 2>&1" 77 log_mustnot eval "zfs mount $TESTPOOL/$TESTVOL >/dev/null 2>&1" [all …]
|
H A D | zfs_mount_remount.ksh | 36 # 2. Verify we can (re)mount the dataset readonly/read-write 37 # 3. Verify we can mount the snapshot and it's mounted readonly 90 options=$(mount -p | awk -v ds="$dataset" '$1 == ds { print $4 }') 118 # 2. Verify we can (re)mount the dataset readonly/read-write 121 log_must mount $RO $TESTFS $MNTPFS 124 log_must mount $RW $TESTFS $MNTPFS 129 # 3. Verify we can (re)mount the snapshot readonly 130 log_must mount -t zfs $TESTSNAP $MNTPSNAP 133 log_must mount $RO $TESTSNAP $MNTPSNAP 140 # The "mount -o rw" command will succeed but the snapshot is mounted readonly. [all …]
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | mount_zfs.c | 30 #include <sys/mount.h> 55 * current working directory was named 'dataset' then mount(8) in parse_dataset() 89 * available otherwise fallback to legacy mode. The mount(8) utility will 192 (void) fprintf(stderr, gettext("Usage: mount.zfs " in main() 211 (void) fprintf(stderr, "usage: mount <dataset> <mountpoint>\n"); in main() 217 /* canonicalize the mount point */ in main() 225 /* validate mount options and set mntflags */ in main() 240 "to ignore the bad mount option.\n")); in main() 263 /* try to open the dataset to access the mount point */ in main() 276 /* treat all snapshots as legacy mount points */ in main() [all …]
|
/freebsd/sbin/mount/ |
H A D | mount.8 | 32 .Nm mount 33 .Nd mount file systems 112 a file system mount status from read-write to read-only. 114 forces the R/W mount of an unclean file system (dangerous; use with 119 option, mount 126 option, also mount those file systems which are marked as 167 Mount the file system read-write. 169 then automatically try to mount the file system read-only. 176 Require that the mount point directory be empty. 181 a file system mount status from read-write to read-only. [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | mntent.h | 39 #define MOUNT_SOFTWARE 0x04 /* Internal mount bug */ 42 #define MOUNT_FAIL 0x20 /* Mount failed */ 43 #define MOUNT_SOMEOK 0x40 /* At least on mount succeeded */ 44 #define MOUNT_BUSY 0x80 /* Mount failed due to EBUSY */ 63 #define MNTOPT_GROUP "group" /* allow group mount */ 64 #define MNTOPT_NOGROUP "nogroup" /* do not allow group mount */ 85 #define MNTOPT_OWNER "owner" /* allow owner mount */ 86 #define MNTOPT_NOOWNER "noowner" /* do not allow owner mount */ 87 #define MNTOPT_REMOUNT "remount" /* change mount options */ 91 #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/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 t [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/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 …]
|
/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 **, 86 int ffs_own_mount(const struct mount *mp); 92 int ffs_reload(struct mount *, int); 102 int ffs_snapshot(struct mount *mp, char *snapfile); 103 void ffs_snapshot_mount(struct mount *mp); 104 void ffs_snapshot_unmount(struct mount *mp); 107 void ffs_sync_snap(struct mount *, int); 116 int ffs_vgetf(struct mount *, ino_t, int, struct vnode **, int); [all …]
|