2006-02-15 02:22:28 +00:00
|
|
|
|
|
|
|
function __fish_print_filesystems -d "Print a list of all known filesystem types"
|
2010-09-18 02:18:26 +00:00
|
|
|
set -l fs adfs affs autofs coda coherent cramfs devpts efs ext ext2 ext3
|
|
|
|
set fs $fs hfs hpfs iso9660 jfs minix msdos ncpfs nfs ntfs proc qnx4 ramfs
|
2006-02-15 02:22:28 +00:00
|
|
|
set fs $fs reiserfs romfs smbfs sysv tmpfs udf ufs umsdos vfat xenix xfs xiafs
|
2015-12-30 18:02:03 +00:00
|
|
|
# Mount has helper binaries to mount filesystems
|
|
|
|
# These are called mount.* and are placed somewhere in $PATH
|
|
|
|
printf "%s\n" $fs (string replace -ra ".*/mount." "" -- $PATH/mount.*)
|
2006-02-15 02:22:28 +00:00
|
|
|
end
|