What command can ID filesystem type hard drive?
Long time casual user of Slackware and just want to try out a distro that is more secure out of the box. Plus I am not smart enough to get Slack running on the new MOBO.
intel dg965wh MOBO Fedora Core 6 booted 2 SATA drives WIN XP and FC6 on /dev/hda OpenSUSE on /dev/hdc devices are shown when fc6 is booted When I open a terminal and su to root and enter fsck -N /dev/hda1 I get file not found when I enter fdisk /dev/hdc I get file not found when I enter cfidsk I get file not found I am trying to find out the command to ID file system type. Yes I know what they are now, but for an unknown system,what would I use. Why are these commands not part of fc6? |
What about fdisk -l (that's L)? Maybe since they're SATA drives they're handled as /dev/sda1...
|
/sbin directory is typically not in the users path environment. The command su will still use the users environment not roots so you still will see a file not found error.
If you use the command su - then this will use roots environment. |
Info on finding out partitions and filesystem type
Oh great moderator and master of su. using the - on su works. Thanks. With fdisk -l, I got a list of partions on the machine and fsck -N /dev/hda1 of each partition gave me the filesystem. I have added the info to my fstab. Now to find an easier way to get the same info without all the typing. I have 4 partitions on on 300g drive and 7 on the other 300g drive. I did not do that on purpose, thats what the result of Installing WinXP, FedoraCore 6, OpenSUSE 10.2 and attempting SlackWare 11 did on my machine. By the way, the triple boot of the three OS's is a neat thing. I guess a little disk cleanup is due.
|
"df -hT" - should workeven with Fedoras wacky pathing.
|
All times are GMT -5. The time now is 07:13 AM. |