LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Determining filesystem type in use (https://www.linuxquestions.org/questions/linux-newbie-8/determining-filesystem-type-in-use-304447/)

chriscore 03-21-2005 05:29 PM

Determining filesystem type in use
 
Hi guys,

I have started to install gentoo, with '/boot' as ext2 and ext3(at least I thought) for '/' , however when I opened up fstab to create the appropriate entrys , I found it had automatically been completed, however '/' was listed as XFS and not ext3..?

So, as per the title, I need to determine what FS '/' is really using.. any ideas on how to go about this?

thanks guys.

Tinkster 03-21-2005 05:34 PM

mount

masonm 03-21-2005 07:50 PM

Mount the drives as outlined in the handbook. When you mount the system will report back what filesystem it finds.

ginda 03-22-2005 07:28 PM

You could also use fdisk -l

Tinkster 03-22-2005 07:44 PM

Quote:

Originally posted by ginda
You could also use fdisk -l
That won't give you a file-system, just partition types.

chriscore 03-22-2005 08:05 PM

Thanks for your help guys, but it seems mount did not give me the correct FS type, and as Tinkster said in his reply, 'fdisk -l' only reported the partition types, in the end I found out by using 'cfdisk' which reported that my root was indeed ext3.

thanks again.

homey 03-22-2005 08:19 PM

How about : cat /etc/fstab


All times are GMT -5. The time now is 12:23 AM.