LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Find out about my drive 's filesystem (https://www.linuxquestions.org/questions/linux-hardware-18/find-out-about-my-drive-s-filesystem-564967/)

ufmale 06-27-2007 08:16 PM

Find out about my drive 's filesystem
 
I have a hard-drive that I can would like to know what the file system is.

1. Do I have to try mounting it with different filesystem option?
2. If I already have that drive mounted, is there a linux cmd to find out the filesystem on that drive, eg. ext2 or ext3?

syg00 06-27-2007 08:43 PM

"file -sL /dev/???"
If it's already mounted, "df -T"

ufmale 06-28-2007 05:04 PM

Quote:

Originally Posted by syg00
"file -sL /dev/???"
If it's already mounted, "df -T"

I format my drive with Redhat using vfat option, then I put it in the enclosure and try to access it via XP, but it did not work. Anyone have a way around?

When I format I used /sbin/mkfs -t vfat /dev/sda1.

syg00 06-29-2007 04:05 AM

Dunno - never had a problem.
What do the above commands (on Linux) reveal ?.


All times are GMT -5. The time now is 04:26 PM.