lkml.org 
[lkml]   [1999]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Removable media bug
On Tue, 4 May 1999, Alan Cox wrote:

> Not unless you have hot swap bays. It isnt safe to swap scsi disks between
> devices on live busses. Now if you do have hot swap arrays then you do
> arguably have a case - although the bus rescan you ought to request will
> handle it

It should be safe, at least from a software point-of-view.

> What bug ?

The bug that the kernel assumes things which it cannot guarantee,
specifically that there are no two computers on the same scsi cable, which
is possible.

> If you want to flush the blocks of a disk on a umount or a mount you can do
> so btw - there are ioctls for this.

You cannot rely on the user to do something to protect the integrity of
his data, as he/she/it will simply forget.

Simon



-
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.048 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site