0

I have been looking for the right command to display the name of the file system used for boot on Linux but have not been able to find anything. I have tried stat/boot but I am not sure that it is the answer that I am looking for.

Thanks in advance.

Ian
  • 27
  • 2
  • Possible duplicate of [Find all storage devices attached to a Linux machine](http://stackoverflow.com/questions/200960/find-all-storage-devices-attached-to-a-linux-machine) – LuFFy Apr 06 '17 at 06:28

1 Answers1

0

There are various ways to do it, but

stat -f -c %T /boot

is one. Note that the -f parameter which is used to request filesystem information as opposed to file information.

ephemient
  • 198,619
  • 38
  • 280
  • 391