*BSD News Article 25708


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!sol.ctr.columbia.edu!hamblin.math.byu.edu!news.byu.edu!cwis.isu.edu!u.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Newsgroups: comp.unix.bsd
Subject: Re: eject
Date: 7 Jan 1994 21:49:50 GMT
Organization: Weber State University, Ogden, UT
Lines: 27
Message-ID: <2gkldu$jt0@u.cc.utah.edu>
References: <2gjc4n$sqh@holodeck.iss.nus.sg>
NNTP-Posting-Host: cs.weber.edu

In article <2gjc4n$sqh@holodeck.iss.nus.sg> cschua@iss.nus.sg (Chua Choon Seng - pzwang) writes:
>I do not know why i can not eject my diskette from the drive on my sun
>workstation.
>I got the following message 
>eject
>/dev/diskette: No such file or directory

Because you have deleted the device node that eject opens, ioctls, and
closes to cause the disk to be ejected.

You will have to rebuild the device node (covered in you admin manuals
under MAKEDEV) to use it by default, or you could try

	eject /dev/fd0a

You may have to use the raw device (rfd0a); I don't know, never having
faced the problem.

You can also get the error running 'eject' on machines without floppy
drives.


					Terry Lambert
					terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.