lkml.org 
[lkml]   [1996]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectFloppy drives, removable media and Linux

On Sun, 22 Dec 1996, Nathan Bryant wrote:

> > would imagine. The problem of knowing what diskette was in the drive
> > still remains: the layered methodology might prevent the driver from
> > knowing anything specific about the filesystem to tell it what disk is
> > present (eg. serial numbers, etc.).
>
> Remember those VFS: Disk change detected... messages? The floppy drive has
[...]
> the Zip drive. So we can use the hardware to detect whether a disk change
> has occurred; we don't need to resort to checking serial numbers.

Yes. However, the kernel does not know that the CORRECT disk has been
reinserted. The disk change line only says a diskette has been removed
and possibly another put back in. The Macintosh, for example, knows what
disk is in the drive at all times, even when one must disk flip: it
examines the volume name and rejects the disk if it is the wrong one.


--
William Burrow -- Fredericton Area Network, New Brunswick, Canada
Copyright 1996 William Burrow
Canada's federal regulator says it may regulate content on the Internet to
provide for more Canadian content. (Ottawa Citizen 15 Nov 96 D15)



\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans