Page 1 of 1

How do i check file system type

Posted: Tue Nov 25, 2008 10:12 pm
by Pantcho!!
Hi,

As the subject asks, how do i check it on linux?

thanks.

Posted: Wed Nov 26, 2008 12:27 am
by Mistrel
You can parse the command line "fdisk -l". If the user is not root you will need to log them in and use "./sbin/fdisk -l".

I don't know how to do it without root access.

Posted: Wed Nov 26, 2008 1:49 pm
by bembulak
You could try to read /etc/fstab.
Read acces normaly is granted. Just open the file and parse it - this should work too.