LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   dtype command in linux? (https://www.linuxquestions.org/questions/linux-software-2/dtype-command-in-linux-107571/)

jaa1180 10-23-2003 09:49 AM

dtype command in linux?
 
In unix (SCO), I know I know...., the command dtype shows the disk type. Is there a command in linux that is the same thing?

Looking_Lost 10-23-2003 11:43 AM

as root:

hdparm -I /dev/hda (or whatever disk) gives a helluva lot of info about the actual physical drive

fisk -l will give you partiont types

That what you mean?

Infact fdisk -l only tells you it's linux

but

mount

tells you curently mounted type

as will

cat /etc/fstab

give you a lot of info

jaa1180 10-23-2003 12:02 PM

well, here is a better description....
dtype -- determine disk type

Syntax
dtype [-s] device ...
Description
The dtype command determines the type of a disk and prints pertinent information on the standard output (unless the silent (-s) option is selected), then exits with a corresponding value (see below). When more than one argument is given for device, the exit value corresponds to the last argument.

You can use this for CD-Rom, floppy, or whatever.....
Ideas????
Or are those commands it....

trickykid 10-23-2003 04:08 PM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


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