> I wonder how to determine the device driver
> you used with your root filesystem? Or rather the
> driver used by disk hosting root filesystem?
> Do any commands can work?
Here is a first attempt:
1) use mount to determine your root device (e.g. /dev/sda)
2) do a "ls -l /sys/block/{dev}/device/driver" where {dev} is your device
On my machine the output is
$ ls -l /sys/block/sda/device/driver
lrwxrwxrwx 1 root root 0 Jun 18 09:41 /sys/block/sda/device/driver ->
../../../../../../bus/scsi/drivers/sd
Which seems to mean the device is on the scsi bus, using the sd driver.
Alex.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ