James Bottomley wrote on 11.08.2005 15:59:27: > On Thu, 2005-08-11 at 12:09 +0200, Harald Seipp wrote: > > I assume this is a bug? How can I prevent that behavior? Can I easily query > > if a device on "h b t l" is mounted to work-around? > > No, it's expected behaviour. The mount keeps a reference to the old > device node so it can't be reused. Ok - but shouldn't the behavior that devices that have mounted partitions can be removed be considered as a bug? Linux 2.4 SCSI Subsystem Howto, proc interface: "....The removal will fail if the device is busy (e.g. if a file system on the device is mounted)." Harald Seipp IBM System and Technology Group - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html