Is there Any command ?
When i provide partition or in Linux if i give something like /dev/sda2 , is there any way to knw the filesystem its using
I mean any command or so , to determine which filesystem is this particular partition using ??? |
[minh@thanhminh ~]$ sudo /sbin/fdisk -l
Disk /dev/hda: 40.0 GB, 40020664320 bytes 240 heads, 63 sectors/track, 5169 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Device Boot Start End Blocks Id System /dev/hda1 1 14 105808+ 83 Linux /dev/hda2 15 82 514080 82 Linux swap /dev/hda3 * 83 624 4097520 b W95 FAT32 /dev/hda4 625 5169 34360200 f W95 Ext'd (LBA) /dev/hda5 625 1436 6138657 83 Linux /dev/hda6 1437 5169 28221448+ 83 Linux Disk /dev/hdd: 40.0 GB, 40020664320 bytes 240 heads, 63 sectors/track, 5169 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Device Boot Start End Blocks Id System /dev/hdd1 * 1 5169 39077608+ 83 Linux |
You can also try 'blkid'.
|
Quote:
|
Quote:
|
I hope it's nothing like "press any key to continue"
"Huh, I can't find the 'any' key?!" ;) |
You can also use "sudo file -s /dev/sda1". You can also use "file <imagefile>" for detecting the filesystem of a filesystem image file.
|
How about cat /etc/fstab.
|
Quote:
information in fstab is incorrect, and so it won't mount, you still have some tools that can help. |
sudo lshw will give you the file systems in use.
It's list hardware, and it'll give size, extension, mounts, and file structure. |
Quote:
you're stupid |
All times are GMT -5. The time now is 06:56 AM. |