/freebsd-src/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
H A D | StdTsSymbolMap.inc | 1 // These are derived from N4100[fs.filesystem.synopsis], final draft for 2 // experimental filesystem. 3 SYMBOL(absolute, std::experimental::filesystem::, <experimental/filesystem>) 4 SYMBOL(canonical, std::experimental::filesystem::, <experimental/filesystem>) 5 SYMBOL(copy, std::experimental::filesystem::, <experimental/filesystem>) 6 SYMBOL(copy_file, std::experimental::filesystem::, <experimental/filesystem>) 7 SYMBOL(copy_options, std::experimental::filesystem::, <experimental/filesystem>) 8 SYMBOL(copy_symlink, std::experimental::filesystem::, <experimental/filesystem>) 9 SYMBOL(create_directories, std::experimental::filesystem::, <experimental/filesystem>) 10 SYMBOL(create_directory, std::experimental::filesystem::, <experimental/filesystem>) [all …]
|
/freebsd-src/contrib/llvm-project/libcxx/modules/std/ |
H A D | filesystem.inc | 10 export namespace std::filesystem { 12 using std::filesystem::path; 15 using std::filesystem::hash_value; 16 using std::filesystem::swap; 18 // [fs.class.filesystem.error], filesystem errors 19 using std::filesystem::filesystem_error; 23 using std::filesystem::directory_entry; 26 using std::filesystem::directory_iterator; 29 using std::filesystem::begin; 30 using std::filesystem::end; [all …]
|
/freebsd-src/share/doc/papers/fsinterface/ |
H A D | fsinterface.ms | 40 Toward a Compatible Filesystem Interface 54 several stylized interfaces between the filesystem implementation 63 Notable among these are Sun Microsystems' Virtual Filesystem interface (VFS) 66 Each design attempts to isolate filesystem-dependent details 75 and uses a different set of primitive operations provided by the filesystem. 76 The current study compares the various filesystem interfaces. 80 As a result of this comparison, a proposal for a new filesystem interface 87 as an early step toward convergence on a compatible filesystem interface. 103 the LOCUS distributed filesystem [Walker85], 104 and Masscomp's extended filesystem [Cole85]. [all …]
|
/freebsd-src/share/doc/smm/01.setup/ |
H A D | 2.t | 77 (SPARC) image of the root filesystem 83 filesystem 89 filesystem 116 Transfer a bootable root filesystem from the tape to a disk 241 Copy a root filesystem from the 246 (Optional) Build a root filesystem optimized for your disk. 282 .Sh 4 "Step 2: copying the root filesystem from tape to disk" 286 command under HP-UX to copy the root filesystem image from 288 For HP's, the root filesystem image is the first file on the tape. 289 It includes a disklabel and bootblock along with the root filesystem. [all …]
|
/freebsd-src/contrib/llvm-project/lldb/source/Host/common/ |
H A D | FileSystem.cpp | 1 //===-- FileSystem.cpp ----------------------------------------------------===// 9 #include "lldb/Host/FileSystem.h" 16 #include "llvm/Support/FileSystem.h" 45 FileSystem &FileSystem::Instance() { return *InstanceImpl(); } in Instance() 47 void FileSystem::Terminate() { in Terminate() 52 std::optional<FileSystem> &FileSystem::InstanceImpl() { in InstanceImpl() 53 static std::optional<FileSystem> g_fs; in InstanceImpl() 57 vfs::directory_iterator FileSystem::DirBegin(const FileSpec &file_spec, in DirBegin() 67 vfs::directory_iterator FileSystem::DirBegin(const Twine &dir, in DirBegin() 73 FileSystem::GetStatus(const FileSpec &file_spec) const { in GetStatus() [all …]
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/ |
H A D | reservation_010_pos.ksh | 38 # In pool with a full filesystem and a filesystem with a reservation 39 # destroying another filesystem should allow more data to be written to 40 # the full filesystem 44 # 1) Create a filesystem as dataset 45 # 2) Create a filesystem at the same level 46 # 3) Set a reservation on the dataset filesystem 47 # 4) Fill up the second filesystem 48 # 5) Destroy the dataset filesystem 49 # 6) Verify can write more data to the full filesystem 54 log_assert "Destroying top level filesystem with reservation allows more " \ [all …]
|
H A D | reservation_009_pos.ksh | 38 # In pool with a full filesystem and another filesystem with a reservation 39 # setting the reservation on the second filesystem to 'none' should allow more 40 # data to be written to the first filesystem. 44 # 1) Create a filesystem as a dataset 45 # 2) Create a filesystem at the same level 46 # 3) Set a reservation on the dataset filesystem 47 # 4) Fill up the filesystem 48 # 5) Set the reservation on the dataset filesystem to 'none' 49 # 6) Verify we can write more data to the first filesystem 55 "to be written to top level filesystem" [all …]
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/ |
H A D | zfs_unshare_001_pos.ksh | 36 # Verify that 'zfs unshare <filesystem|mountpoint>' unshares a given shared 37 # filesystem. 41 # 2. Invoke 'zfs unshare <filesystem|mountpoint>' to unshare zfs file system 79 # unshare the filesystem via <filesystem|mountpoint> argument 82 function test_unshare # <mntp> <filesystem> 85 typeset filesystem=$2 88 prop_value=$(get_prop "sharenfs" $filesystem) 93 log_must zfs set sharenfs=on $filesystem 96 "file system $filesystem shared." 99 is_shared $mntp || log_must zfs share $filesystem [all …]
|
H A D | zfs_unshare_002_pos.ksh | 36 # Verify that 'zfs unshare [-a] <filesystem|mountpoint>' is aware of legacy share. 40 # 2. Use 'share' to share given filesystem 41 # 3. Verify that 'zfs unshare <filesystem|mountpoint>' is aware of legacy share 84 function test_legacy_unshare # <mntp> <filesystem> 87 typeset filesystem=$2 89 log_must zfs set sharenfs=off $filesystem 92 "filesystem $filesystem unshared." 98 # Verify 'zfs unshare <filesystem>' is aware of legacy share. 100 log_mustnot zfs unshare $filesystem 102 log_fail "'zfs unshare <filesystem>' fails to be aware" \ [all …]
|
/freebsd-src/tests/sys/cddl/zfs/tests/reservation/ |
H A D | reservation_010_pos.ksh | 38 # In pool with a full filesystem and a filesystem with a reservation 39 # destroying another filesystem should allow more data to be written to 40 # the full filesystem 44 # 1) Create a filesystem as dataset 45 # 2) Create a filesystem at the same level 46 # 3) Set a reservation on the dataset filesystem 47 # 4) Fill up the second filesystem 48 # 5) Destroy the dataset filesystem 49 # 6) Verify can write more data to the full filesystem 63 log_assert "Destroying top level filesystem with reservation allows more data to" \ [all …]
|
H A D | reservation_009_pos.ksh | 38 # In pool with a full filesystem and another filesystem with a reservation 39 # setting the reservation on the second filesystem to 'none' should allow more 40 # data to be written to the first filesystem. 44 # 1) Create a filesystem as a dataset 45 # 2) Create a filesystem at the same level 46 # 3) Set a reservation on the dataset filesystem 47 # 4) Fill up the filesystem 48 # 5) Set the reservation on the dataset filesystem to 'none' 49 # 6) Verify we can write more data to the first filesystem 64 " be written to top level filesystem" [all …]
|
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/ |
H A D | zfs_unshare_001_pos.ksh | 36 # Verify that 'zfs unshare <filesystem|mountpoint>' unshares a given shared 37 # filesystem. 41 # 2. Invoke 'zfs unshare <filesystem|mountpoint>' to unshare zfs file system 91 # unshare the filesystem via <filesystem|mountpoint> argument 94 function test_unshare # <mntp> <filesystem> 97 typeset filesystem=$2 100 prop_value=$(get_prop "sharenfs" $filesystem) 105 log_must $ZFS set sharenfs=on $filesystem 108 "file system $filesystem shared." 112 log_must $ZFS share $filesystem [all …]
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_004_pos.ksh | 37 # Invoke "zfs mount <filesystem>" with a filesystem 42 # 1. Make sure that the ZFS filesystem is unmounted. 43 # 2. Invoke 'zfs mount <filesystem>'. 44 # 3. Verify that the filesystem is mounted. 45 # 4. Invoke 'zfs mount <filesystem>' the second times. 59 log_assert "Verify that 'zfs $mountcmd <filesystem>' " \ 60 "with a mounted filesystem will fail with return code 1." 70 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted" 78 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is mounted" 80 log_fail Filesystem $TESTPOOL/$TESTFS is unmounted [all …]
|
H A D | zfs_mount_001_pos.ksh | 37 # Invoke "zfs mount <filesystem>" with a regular name of filesystem, 38 # will mount that filesystem successfully. 41 # 1. Make sure that the ZFS filesystem is unmounted. 42 # 2. Invoke 'zfs mount <filesystem>'. 43 # 3. Verify that the filesystem is mounted. 54 log_assert "Verify that 'zfs $mountcmd <filesystem>' succeeds as root." 63 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is mounted" 65 log_fail Filesystem $TESTPOOL/$TESTFS is unmounted 67 log_pass "'zfs $mountcmd <filesystem>' succeeds as root."
|
H A D | zfs_mount_006_pos.ksh | 38 # Invoke "zfs mount <filesystem>" with a filesystem mountpoint that is 44 # 1. Prepare an existing mounted filesystem. 45 # 2. Setup a new filesystem with overlay=off and make sure that it is 48 # 4. Mount the new filesystem using the various combinations 49 # - zfs set mountpoint=<identical path> <filesystem> 50 # - zfs set mountpoint=<top path> <filesystem> 75 log_assert "Verify that 'zfs $mountcmd <filesystem>'" \ 106 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted" 115 log_note "Verify that 'zfs $mountcmd <filesystem>'" \ 134 log_fail "Filesystem $TESTPOOL/$TESTFS1 is mounted." [all …]
|
H A D | zfs_mount_005_pos.ksh | 37 # Invoke "zfs mount <filesystem>" with a filesystem but its mountpoint 43 # 1. Make sure that the ZFS filesystem is unmounted. 44 # 2. Apply 'zfs set mountpoint=path <filesystem>'. 46 # 3. Invoke 'zfs mount <filesystem>'. 63 log_assert "Verify that 'zfs $mountcmd' with a filesystem " \ 88 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is unmounted" 91 log_fail Filesystem $TESTPOOL/$TESTFS is unmounted 94 log_fail Filesystem $TESTPOOL/$TESTFS is mounted 97 log_pass "'zfs $mountcmd' with a filesystem " \
|
H A D | zfs_mount_003_pos.ksh | 37 # Invoke "zfs mount <filesystem>" with a filesystem whose mountpoint property 42 # 1. Make sure that the ZFS filesystem is unmounted. 43 # 2. Mount the filesystem using the various combinations 44 # - zfs set mountpoint=legacy <filesystem> 45 # - zfs set mountpoint=none <filesystem> 58 log_assert "Verify that 'zfs $mountcmd' with a filesystem " \ 81 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is unmounted" 83 log_fail Filesystem $TESTPOOL/$TESTFS is mounted 88 log_pass "Verify that 'zfs $mountcmd' with a filesystem " \
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_share/ |
H A D | zfs_share_concurrent_shares.ksh | 32 # run concurrently. The test creates 50 filesystem and 50 threads. 38 # 3. Invoke 'zfs unshare' and verify filesystem is no longer shared 41 # 5. Verify that a shared filesystem cannot be shared again. 91 function test_share # filesystem 93 typeset filesystem=$1 94 typeset mntp=$(get_prop mountpoint $filesystem) 97 sub_fail "File system $filesystem is already shared." 99 zfs set sharenfs=on $filesystem || \ 100 sub_fail "zfs set sharenfs=on $filesystem failed." 113 sub_fail "File system $filesystem is not shared (set sharenfs)." [all …]
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_012_pos.ksh | 32 # 1. Create a filesystem. 34 # 3. Snapshot the filesystem. 35 # 4. Send a replication stream to a new filesystem. 36 # 5. On the original filesystem, fill it up to its quota. 37 # 6. Snapshot the original filesystem again. 38 # 7. Send an incremental stream to the same new filesystem. 59 # 1. Create a filesystem. 66 # 3. Snapshot the filesystem. 69 # 4. Send a replication stream to a new filesystem. 73 # 5. On the original filesystem, fill it up to its quota. [all …]
|
/freebsd-src/sys/contrib/openzfs/man/man8/ |
H A D | zfs-mount.8 | 47 .Fl a Ns | Ns Fl R Ar filesystem Ns | Ns Ar filesystem 51 .Fl a Ns | Ns Ar filesystem Ns | Ns Ar mountpoint 70 .Fl a Ns | Ns Fl R Ar filesystem Ns | Ns Ar filesystem 72 Mount ZFS filesystem on a path described by its 79 the filesystem should be instead mounted using 94 .It Ar filesystem 95 Mount the specified filesystem. 109 Note that if a filesystem ha [all...] |
H A D | zfs-unmount.8 | 47 .Fl a Ns | Ns Fl R Ar filesystem Ns | Ns Ar filesystem 51 .Fl a Ns | Ns Ar filesystem Ns | Ns Ar mountpoint 70 .Fl a Ns | Ns Fl R Ar filesystem Ns | Ns Ar filesystem 72 Mount ZFS filesystem on a path described by its 79 the filesystem should be instead mounted using 94 .It Ar filesystem 95 Mount the specified filesystem. 109 Note that if a filesystem ha [all...] |
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
H A D | zfs_mount_004_pos.ksh | 37 # Invoke "zfs mount <filesystem>" with a filesystem 42 # 1. Make sure that the ZFS filesystem is unmounted. 43 # 2. Invoke 'zfs mount <filesystem>'. 44 # 3. Verify that the filesystem is mounted. 45 # 4. Invoke 'zfs mount <filesystem>' the second times. 68 log_assert "Verify that '$ZFS $mountcmd <filesystem>' " \ 69 "with a mounted filesystem will fail with return code 1." 79 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted" 87 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is mounted" 89 log_fail Filesystem $TESTPOOL/$TESTFS is unmounted [all …]
|
H A D | zfs_mount_006_pos.ksh | 37 # Invoke "zfs mount <filesystem>" with a filesystem 42 # 1. Prepare an existing mounted filesystem. 43 # 2. Setup a new filesystem and make sure that it is unmounted. 44 # 3. Mount the new filesystem using the various combinations 45 # - zfs set mountpoint=<identical path> <filesystem> 46 # - zfs set mountpoint=<top path> <filesystem> 78 log_assert "Verify that '$ZFS $mountcmd <filesystem>' " \ 103 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted" 112 log_note "Verify that '$ZFS $mountcmd <filesystem>' " \ 120 log_fail "Filesystem $TESTPOOL/$TESTFS1 is mounted." [all …]
|
H A D | zfs_mount_001_pos.ksh | 37 # Invoke "zfs mount <filesystem>" with a regular name of filesystem, 38 # will mount that filesystem successfully. 41 # 1. Make sure that the ZFS filesystem is unmounted. 42 # 2. Invoke 'zfs mount <filesystem>'. 43 # 3. Verify that the filesystem is mounted. 63 log_assert "Verify that '$ZFS $mountcmd <filesystem>' succeeds as root." 72 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is mounted" 74 log_fail Filesystem $TESTPOOL/$TESTFS is unmounted 76 log_pass "'$ZFS $mountcmd <filesystem>' succeeds as root."
|
/freebsd-src/sys/sys/ |
H A D | mount.h | 51 typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */ 62 * These are unique per filesystem on a single machine. 76 * filesystem statistics 83 uint32_t f_type; /* type of filesystem */ 85 uint64_t f_bsize; /* filesystem fragment size */ 87 uint64_t f_blocks; /* total data blocks in filesystem */ 88 uint64_t f_bfree; /* free blocks in filesystem */ 90 uint64_t f_files; /* total file nodes in filesystem */ 100 uid_t f_owner; /* user that mounted the filesystem */ 101 fsid_t f_fsid; /* filesystem i [all...] |