I have a problem doing a hot-swap of one USB drive with another, when the two drives are different sizes.

This appears to be because the pseudo-SCSI device entry that's created when the first device is connected does not get cleared down when the device is removed. The SCSI device loads the drive geometry table, and this is persistent even when another drive is connected. The new drive's partition info is at odds with the old geometry parameters, which leads to various errors.

This is on a 2.4 kernel - the distro I'm running (SME server) uses 2.4.20, and I've tried building a 2.4.25 kernel but there's no difference in behaviour.

This site - http://www2.one-eyed-alien.net/~mdharm/linux-usb/ - suggests that this behaviour is in fact by design, which seems somewhat odd to me, unless I've misunderstood what is meant.

Hot-plugging is a bit pointless if you can't swap devices of different geometry, so I'm rather mystified at this restriction. Has this been fixed in later kernels, and can a fix be hacked into 2.4?

Or am I missing something and there's a completely different explanation?

TIA
Rick Jones


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to