LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-21-2007, 04:10 AM   #1
nicehill
LQ Newbie
 
Registered: Feb 2006
Distribution: Mandriva
Posts: 19

Rep: Reputation: 0
Command to display devices


Hi,

I wanted to mount a windows ntfs drive but before that
I need to know what is the /dev/hda??? belong to the ntfs
drive.

Is there a command to list down the /dev/hda??

Thank You
 
Old 05-21-2007, 04:39 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
Yes, you can use fdisk to list the drives and partitions.

Code:
sudo /sbin/fdisk -l
You can also use "sudo file -s /dev/hda1" to examine any partition and see what file system is being used.
 
  


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
devices and drivers display node047 Programming 4 04-14-2005 01:43 AM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 11:48 AM
command to find out connected devices mrengc Linux - General 1 11-13-2002 01:25 AM
Display Command AnthonyM Linux - General 3 05-30-2002 04:02 PM
Command to show connected devices? nutshell Linux - General 5 03-14-2002 08:04 PM

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

All times are GMT -5. The time now is 07:10 PM.

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