On Mon, 21 Jan 2002 07:28, Oleg Drokin wrote:
> > USB by it's nature is something external to the system.  Unplugging a USB
> > cable with a mounted drive attached should (IMHO) get the same result as
> > unplugging an Ethernet cable with an NFS mount in progress.  This means
> > processes go into D state if they have outstanding writes, and for reads
> > they may go D state depending on mount options, and then you wait for the
> > device to become available again.
>
> How do you distinguish between SCSI & USB storage in Linux on fs level? ;)

You can have SCSI and IDE unpluggable devices too...

> > For a file system on USB ReiserFS would have to recheck the superblock
> > (to make sure that it hasn't been mounted on another computer in the mean
> > time) before allowing access again.  Also there would have to be a
> > recovery process for the situation when the USB device is gone for good.
>
> Sound not very easy to do ;)

True.  Writing a good file system is never easy.

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

Reply via email to