Re: Hard drive detection

From: Mark Lord
Date: Fri May 04 2012 - 09:13:49 EST


On 12-05-04 04:56 AM, Chris Jones wrote:
> What section of the kernel detects internal hard drives upon boot?

That depends upon how the drive is connected.
But generally speaking, the device driver for the drive-controller
will probe and find any attached drives.

So for modern kernels, on systems with SATA drives,
the code is in linux/drivers/ata/

Cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/