-
Senior Member
registered user
lspci is only going to list the PCI devices such as the motherboard chipset, USB controllers, IDE controllers. It will never list attached storage devices like IDE, SCSI or USB flash drives.
Use the command dmesg to get device info from the kernel messages and send that through a filter called grep:
dmesg | grep -i ide
dmesg | grep -i hd
This is the output of those commands on my machine:
Code:
-bash-2.05b# dmesg | grep -i ide
BIOS-provided physical RAM map:
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
ide0: BM-DMA at 0x1060-0x1067, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x1068-0x106f, BIOS settings: hdc:DMA, hdd:pio
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hdb: attached ide-disk driver.
ide-floppy driver 0.99.newide
ide-floppy driver 0.99.newide
EXT3-fs: ide0(3,1): orphan cleanup on readonly fs
EXT3-fs: ide0(3,1): 9 orphan inodes deleted
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65), internal journal
-bash-2.05b# dmesg | grep -i hd
ide0: BM-DMA at 0x1060-0x1067, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x1068-0x106f, BIOS settings: hdc:DMA, hdd:pio
hda: Maxtor 83201D6, ATA DISK drive
hdb: WDC AC22500L, ATA DISK drive
hdc: MATSHITA CR-5850, ATAPI CD/DVD-ROM drive
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 6267744 sectors (3209 MB) w/256KiB Cache, CHS=777/128/63, UDMA(33)
hdb: attached ide-disk driver.
hdb: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: task_no_data_intr: error=0x04 { DriveStatusError }
hdb: 4999680 sectors (2560 MB) w/256KiB Cache, CHS=620/128/63, DMA
hda: hda1 hda3
hdb: hdb1
-bash-2.05b#
The important data is the hd?? such as hda or hdb1.
In my system:
hda is a hard drive on the master IDE drive on the Primary IDE controller channel
hdb is a hard drive on the slave IDE drive on the Primary IDE controller channel
hdc is a CDROM drive on the master IDE drive on the Secondary IDE controller channel
hda1 is the root / of the system
hda3 is the swap partition
hdb1 is a /home partition for user data
Similar Threads
-
By wiccaan in forum General Support
Replies: 0
Last Post: 06-06-2005, 04:07 AM
-
By Ardil in forum General Support
Replies: 2
Last Post: 05-28-2005, 10:37 PM
-
By fowlertrainer in forum Hardware & Booting
Replies: 1
Last Post: 08-30-2004, 10:03 PM
-
By smartin in forum Hardware & Booting
Replies: 3
Last Post: 05-05-2004, 06:40 PM
-
By shimsham in forum General Support
Replies: 0
Last Post: 04-22-2004, 01:22 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Computer Photo History Altair 8800 Philco 212 CDC 6600 DEC PDP-8 Apple 1 UNIVAC
$69.99

S-100 Vector Graphic 64K Ram Board (Altair, IMSAI)
$99.95

S-100 Vector Graphic 12K PROM/RAM Board (Altair, IMSAI)
$99.95

S-100 Bus Handbook Altair 8800 IMSAI 8080 Board Schematics Xitan Pertec Cromemco
$89.99

Vintage Digital Research ZSID 1.4 8" Floppy Disk CP/M Z80 Software S-100 Altair
$69.99

1979 Microprocessor Projects Altair 8800 Intel 8080 KIM-1 COSMAC Elf SWTPC 6800
$59.99

Intel 4004IBM Mark 1 UNIVAC Cray-1 Babbage ENIAC Apple 1 Steve Jobs MITS Altair
$50.99

Altair MITS S100 Backplane 8080A S-100 Replica IMSAI CP/M (bare board)
$40.00

CP/M 86 1.1R 8086 Highmonitor 8 Inch Floppy Diskette 80s IMSAI Altair
$29.99

ALTAIR Bitcoin Mining Solutions PDU IEC SERIES 100-250V 30A/24A Power Distribute
$99.00