Re: Hard drive detection

From: Chris Jones
Date: Fri May 04 2012 - 19:33:23 EST


On Fri, 04 May 2012 09:13:51 -0400
Mark Lord <kernel@xxxxxxxxxxxx> wrote:

> 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/
>
>

Thanks Mark. That's exactly what I was looking for. And are both PATA
and SATA internal drives both located in drivers/ata?


Regards

Chris Jones
--
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/