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.
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.
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.