Re: remove-single-device removes mounted HDDs (kernel 2.6)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux