Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!stevec From: stevec@Apple.COM (Steve Christensen) Newsgroups: comp.sys.mac.programmer Subject: Re: raw read/write floppies Message-ID: <50568@apple.Apple.COM> Date: 21 Mar 91 03:05:23 GMT References: <69144@brunix.UUCP> Organization: Apple Computer Inc., Cupertino, CA Lines: 26 d88-jwa@byse.nada.kth.se (Jon W{tte) writes: >In article <69144@brunix.UUCP> reb@cs.brown.edu (Robert E. Brown) writes: > > Mac to mount the disk. How can I turn off the auto-mounting? Once my > program has finished reading and writing the disk, how do I eject it? > At this point, the disk is not mounted. Will PBeject work anyway? > >You have to override using the driver to do that (the same way as >you would read an MS-DOS floppy) > >But how do you propose to read/write to the floppy if you haven't >mounted it? No. Just because a disk isn't mounted doesn't mean you can't read or write to it. Drivers don't care if there's a file system around to mount a disk. All they do is read and write blocks on the disk, which is exactly what he wants to do. In fact, the disk could be mounted when it's inserted, and then his program could explicitly unmount the disk before doing the reads and writes so he won't collide with what the file system is doing... steve -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Steve Christensen Never hit a man with glasses. stevec@apple.com Hit him with a baseball bat.