2006-02-15 10:22:28 +08:00
|
|
|
function __fish_print_filesystems -d "Print a list of all known filesystem types"
|
2017-12-11 01:35:11 +08:00
|
|
|
set -l fs adfs affs autofs coda coherent cramfs devpts efs ext ext2 ext3 ffs
|
2017-08-05 09:02:24 +08:00
|
|
|
set -a fs hfs hpfs iso9660 jfs minix msdos ncpfs nfs ntfs proc qnx4 ramfs
|
|
|
|
set -a fs reiserfs romfs smbfs sysv tmpfs udf ufs umsdos vfat xenix xfs xiafs
|
2016-11-28 13:27:22 +08:00
|
|
|
# Mount has helper binaries to mount filesystems
|
|
|
|
# These are called mount.* and are placed somewhere in $PATH
|
2017-02-13 09:13:14 +08:00
|
|
|
set -l mountfs $PATH/mount.* $PATH/mount_*
|
|
|
|
printf '%s\n' $fs (string replace -ra '.*/mount[._]' '' -- $mountfs)
|
2006-02-15 10:22:28 +08:00
|
|
|
end
|