[Prev][Next][Index][Thread]

Re: Checking floppy in E/L



Hello,

> A small, but annoying feature on E/L occurs on my notebook, a NEC Versa S.
> E/L runs better than I would expect on an sx33, but my trouble is that 
> the Versa S has a removable floppy.  If I don't change my cmos settings 
> at boot time to no floppy, then executor hangs as it searches for the 
> nonexistent drive.

Executor looks for the /dev/fd0 device upon startup, so you might want
to put a wrapper script around it to remove or rename this special
file from /dev when the drive isn't there (root permissions required,
of course).

Alternately, you could patch the executor binary to look for a
different device, say /dev/Fd0 (capital F), and arrange to have a
symlink from that to the real /dev/fd0 only when the floppy is
attached.  I did this with /dev/cdrom to keep that from being probed
(-> /dev/cdRom).  Back up your 'executor' file first, then go in with
a hex editor ('she', 'beav', even 'emacs' will work under Linux if
you're careful not to insert or delete characters).  The string to
change occurs just before "enter macdrives".

happy kludging, :-)
--
Jordan.


References: