Subject: Re: Booting with a floppy WITHOUT ejecting
To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
From: Joe Laffey <joe@laffeycomputer.com>
List: port-mac68k
Date: 09/11/2001 08:44:29
On Mon, 10 Sep 2001, Hauke Fath wrote:
> At 15:36 Uhr +0200 10.9.2001, Joe Laffey wrote:
> >Ever wanted to boot NetBSD without having to have a MacOS partition on
> >your HD? When you do it with a floppy the disk gets ejected, making remote
> >reboots impossible.
>
> [...]
>
> >* I modified the iwm_fd.c floppy drive code so that it does NOT
> > eject a high density disk at startup (comment out one line).
>
> The iwm driver ejects a HD disk to avoid trashing it because it cannot deal
> with the format. If you want to leave a MacOS floppy in the drive, you
> might as well configure without floppy support, shaving a few ten KByte off
> your kernel...
Hauke,
Thanks for the reply. I know you are the author of that file ;-)
I think you have a good point. If the user is going to leave a floppy in
the drive why enable floppy support in the kernel? My hope was that they
could, if needed, eject the disk with the eject command. However, now that
I am trying I do not seem to be able to get that to work. (I have not
looked through the code to see why.)
Do you think something like this is safely possible? Or would you stick
with your previous suggestion of disabling the floppy support?
Thanks!
Joe Laffey
LAFFEY Computer Imaging
St. Louis, MO
----------------------
Need to do multi-file string replacement in Un*x, but don't want to mess
with sed? Try rpl. It's a free text replacement utility with source.
http://www.laffeycomputer.com/rpl.html -- Check it out!
''+. .+'''+. .+'''+. .+'''+. .+''+.
\ / \ / \ / \ / \
`+...+' `+...+' `+...+' `+...+' `+..