@@ -37,6 +37,61 @@ public abstract class AbstractFileSystem implements FileSystem {
37
37
protected static final List <String > NETWORK_FS_TYPES = Arrays .asList ( "afs" , "cifs" , "smbfs" , "sshfs" , "ncpfs" , "ncp" , "nfs" , "nfs4" ,
38
38
"gfs" , "gds2" , "glusterfs" );
39
39
40
+
41
+ protected static final List <String > PSEUDO_FS_TYPES = Arrays .asList (//
42
+ // Linux defines a set of virtual file systems
43
+ "anon_inodefs" , // anonymous inodes - inodes without filenames
44
+ "autofs" , // automounter file system, used by Linux, Solaris, FreeBSD
45
+ "bdev" , // keep track of block_device vs major/minor mapping
46
+ "binfmt_misc" , // Binary format support file system
47
+ "bpf" , // Virtual filesystem for Berkeley Paket Filter
48
+ "cgroup" , // Cgroup file system
49
+ "cgroup2" , // Cgroup file system
50
+ "configfs" , // Config file system
51
+ "cpuset" , // pseudo-filesystem interface to the kernel cpuset mechanism
52
+ "dax" , // Direct Access (DAX) can be used on memory-backed block devices
53
+ "debugfs" , // Debug file system
54
+ "devpts" , // Dev pseudo terminal devices file system
55
+ "devtmpfs" , // Dev temporary file system
56
+ "drm" , // Direct Rendering Manager
57
+ "ecryptfs" , // POSIX-compliant enterprise cryptographic filesystem for Linux
58
+ "efivarfs" , // (U)EFI variable filesystem
59
+ "fuse" , //
60
+ // NOTE: FUSE's fuseblk is not evalued because used as file system
61
+ // representation of a FUSE block storage
62
+ // "fuseblk" // FUSE block file system
63
+ "fusectl" , // FUSE control file system
64
+ "hugetlbfs" , // Huge pages support file system
65
+ "inotifyfs" , // support inotify
66
+ "mqueue" , // Message queue file system
67
+ "nfsd" , // NFS file system
68
+ "overlay" , // Overlay file system https://wiki.archlinux.org/index.php/Overlay_filesystem
69
+ // "pipefs", // for pipes but only visible inside kernel
70
+ "proc" , // Proc file system, used by Linux and Solaris
71
+ "pstore" , // Pstore file system
72
+ // "ramfs", // Old filesystem used for RAM disks
73
+ "rootfs" , // Minimal fs to support kernel boot
74
+ "rpc_pipefs" , // Sun RPC file system
75
+ "securityfs" , // Kernel security file system
76
+ "selinuxfs" , // SELinux file system
77
+ "sunrpc" , // Sun RPC file system
78
+ "sysfs" , // SysFS file system
79
+ "systemd-1" , // Systemd file system
80
+ // "tmpfs", // Temporary file system
81
+ // NOTE: tmpfs is evaluated apart, because Linux, Solaris, FreeBSD use it for RAMdisks
82
+ "tracefs" , // thin stackable file system for capturing file system traces
83
+ "usbfs" , // removed in linux 3.5 but still seen in some systems
84
+ // FreeBSD / Solaris defines a set of virtual file systems
85
+ "procfs" , // Proc file system
86
+ "devfs" , // Dev temporary file system
87
+ "ctfs" , // Contract file system
88
+ "fdescfs" , // fd
89
+ "objfs" , // Object file system
90
+ "mntfs" , // Mount file system
91
+ "sharefs" , // Share file system
92
+ "lofs" // Library file system
93
+ );
94
+
40
95
@ Override
41
96
public OSFileStore [] getFileStores () {
42
97
return getFileStores (false );
0 commit comments