-
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

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1625.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed
$49.99

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

2U AI MINING SERVER 2x Xeon 36 cores 2.3Ghz DDR4 2x NVIDIA V100 GPU PCIe 2PS USA
$799.00

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY.
$49.99