This is the README for eject.c [Download] [Browse] [Up]
NAME
eject
WHAT IS IT FOR?
Small shell program to eject (and unmount!), from ANY shell, the
internal floppy disk of a NeXTstation.
NB
Works only with NS3.2 !!!!!!
HOW DOES IT WORKS?
See the code.
HOW DO I INSTALL IT?
log as root
run 'make eject'
FILES
eject.src/
eject.c
makefile
eject.README
PROGRAMMINGIMPORTANT NOTES
I first tried
[[Application workspace] unmountAndEjectDeviceAt:argv[1]];
but I didn't manage that command to run.
I also tried the 'unmount(name)' C command but this one doesn't
change anything in the mount table (/etc/mtab file).
When updating to NS3.2, I had to change /dev/fd0a to /dev/rfd0b
COMMENT
This program is, of course, for free, but also without any guaranty!
Just send me an e-mail to tell me that you're using it. Thanks.
AUTHOR
Eric Smeesters : June 15 1994
Laboratoire de Telecommunications de Louvain (Belgique)
e-mail: smeester@tele.ucl.ac.be
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.