LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Closed Thread
  Search this Thread
Old 10-23-2003, 10:49 AM   #1
jaa1180
Member
 
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, 12:43 PM   #2
Looking_Lost
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

but

mount

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 12:49 PM.
 
Old 10-23-2003, 01:02 PM   #3
jaa1180
Member
 
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

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....
 
Old 10-23-2003, 05:08 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

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


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 03:23 AM
Linux command sixth_sense Linux - General 4 04-13-2005 03:33 AM
unix command to linux command leonidas Linux - General 1 09-10-2004 01:40 AM
dtype in linux? jaa1180 Red Hat 13 10-23-2003 08:33 PM
dtype command in linux? jaa1180 Linux - General 4 10-23-2003 05:07 PM


All times are GMT -5. The time now is 09:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration