LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-02-2007, 02:58 PM   #1
dwbrown44
LQ Newbie
 
Registered: Feb 2007
Location: San Antonio, Texas
Distribution: Fedora Core 6
Posts: 2

Rep: Reputation: 0
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?
 
Old 02-02-2007, 03:34 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
What about fdisk -l (that's L)? Maybe since they're SATA drives they're handled as /dev/sda1...
 
Old 02-02-2007, 03:40 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,568

Rep: Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865Reputation: 5865
/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.
 
Old 02-02-2007, 04:37 PM   #4
dwbrown44
LQ Newbie
 
Registered: Feb 2007
Location: San Antonio, Texas
Distribution: Fedora Core 6
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 02-02-2007, 04:44 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
"df -hT" - should workeven with Fedoras wacky pathing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a command for finding out the filesystem type? nodger Linux - Software 2 03-04-2005 03:04 PM
Grub cannot find the filesystem type of my hd0 drive JimmyGourd Linux - Newbie 9 09-25-2004 12:28 PM
What is command for seeing hard disk partitions and its type? AskMe Linux - Newbie 1 10-25-2003 11:42 AM
What do I type to mount the new hard drive? randon Linux - Newbie 15 10-16-2003 09:47 PM
What type of hard drive do you have? Joey.Dale Linux - Hardware 1 09-01-2003 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration