LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Command to display devices (https://www.linuxquestions.org/questions/mandriva-30/command-to-display-devices-555488/)

nicehill 05-21-2007 03:10 AM

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

jschiwal 05-21-2007 03:39 AM

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.


All times are GMT -5. The time now is 07:17 AM.