lkml.org 
[lkml]   [1999]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Removable media bug
Date
> the disk wasn't ejected.  Because the unmounted filesystem can
> be changed while unmounted. There are several ways:
>
> 1. Writing directly to the device, such as "dd of=/dev/fd0"
> I don't know, maybe the buffer system catch that one.

We catch that

> 2. Scsi devices may be connected to several machines simultaneously.
> unmount at one machine, mount for writing at the other. Then
> reverse this. No ejecting, no writing to the device from the
> first machine, disk contents still changed.

That is the -least- of your worries here. You need to handle coherency
across the bus, resets and the like. That needs direct I/O and stuff

> 3. The diskette device could be hot-swapped without ejecting.
> Unlikely but possible.

The PCMCIA code handles that.

Perhaps we shouldnt boot in case the user takes the CPU out while running ?



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.180 / U:0.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site