3

How can I get list of all filesystems, that Ubuntu can create on a disk ?

  • 3
    Please be more specific. Why do you need it? Filesystems usable by Linux are well known. – Pilot6 Feb 8 '19 at 20:13
  • 2
    Type mkfs. and see which commands tab autocompletion has to offer? – Byte Commander Feb 8 '19 at 20:23
  • This works, but does not contain all filesystems. I find out, that after using parted then mkpart, you will be asked what FS you want to use, then you click tabulator, and it show all filesystems. – John Ronald Feb 8 '19 at 20:27
  • @ByteCommander compgen -c mkfs. does the same programmatically – wjandrea Feb 8 '19 at 20:44
4

You can start gparted and try to format a partition. You'll get a drop down list of all available filesystems.

In addition you can format to exfat that is not supported by gparted.

2

Try this:

Open Terminal

Paste this and hit Enter:

ls /lib/modules/$(uname -r)/kernel/fs

It lists all filesystems available with your Kernel

More complete list:

https://unix.stackexchange.com/a/219188

  • Thanks for answer, but that is not exactly I was looking for. Most of these are unusable with mkfs. – John Ronald Feb 8 '19 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.