Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Closed Thread
  Search this Thread
Old 10-23-2003, 09:49 AM   #1
Registered: Oct 2003
Location: USA, Tennessee
Distribution: Ubuntu
Posts: 307

Rep: Reputation: 30
Question 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?
Old 10-23-2003, 11:43 AM   #2
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
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



tells you curently mounted type

as will

cat /etc/fstab

give you a lot of info

Last edited by Looking_Lost; 10-23-2003 at 11:49 AM.
Old 10-23-2003, 12:02 PM   #3
Registered: Oct 2003
Location: USA, Tennessee
Distribution: Ubuntu
Posts: 307

Original Poster
Rep: Reputation: 30
well, here is a better description....
dtype -- determine disk type

dtype [-s] device ...
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.....
Or are those commands it....
Old 10-23-2003, 04:08 PM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
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.

Closed Thread

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
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 02:23 AM
Linux command sixth_sense Linux - General 4 04-13-2005 02:33 AM
unix command to linux command leonidas Linux - General 1 09-10-2004 12:40 AM
dtype in linux? jaa1180 Red Hat 13 10-23-2003 07:33 PM
dtype command in linux? jaa1180 Linux - General 4 10-23-2003 04:07 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:36 AM.

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