RE: driverfs is not for everything! (was: [PATCH] /proc/scsi/map )

From: Grover, Andrew (
Date: Mon Jun 24 2002 - 13:47:37 EST

> From: Roman Zippel []
> On Mon, 24 Jun 2002, Grover, Andrew wrote:
> > If a device can be accessed by multiple machines
> concurrently, it should not
> > be in driverfs.
> I don't think it's that easy. If the computer wakes up again,
> devices have
> to be reinitialised in the right order, e.g. iSCSI needs a
> working network
> stack and devices.

Would the iSCSI device be a child of the network device? That would ensure
that the NIC was fully restarted before the iSCSI device.

> Another problem is how to properly shutdown the
> machine. Scripts now "know" that nfs requires the network,
> but how does
> the script find out, that /dev/sdb2 is an iSCSI device, so that it can
> properly unmount the device, before the network is shutdown?

Would a bottom-up traversal of the device tree do things properly?

Regards -- Andy
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:08 EST