EJECT(1) General Commands Manual EJECT(1)NAME
eject - eject removable media
SYNOPSIS
eject device
DESCRIPTION
Eject tells a device to eject removable media, usually a floppy or CD-ROM. Eject invokes the DIOCEJECT ioctl on the device. The media
will then be ejected, or allowed to be removed. The call will fail if the device is still in use.
Tapes can't be unloaded with this command, use mt offline instead.
SEE ALSO mt(1), hd(4), sd(4).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
EJECT(1)
Check Out this Related Man Page
EJECT(1) BSD General Commands Manual EJECT(1)NAME
eject -- eject a floppy disk, cdrom or tape
SYNOPSIS
eject [-fv] [-l | -L | -U] [-t device-type] [-d] device
eject -n
DESCRIPTION
The eject program ejects a medium from the specified device. It can also load a cdrom in the drive if this operation is supported by the
hardware. The device argument specifies a device either by its full path name (identified by a /dev/ prefix), or by one of the built-in
nicknames. If the medium contains a file system that is currently mounted, eject will attempt to unmount the file system before ejecting.
The following options are available:
-d Deprecated.
-f Force the eject operation without attempting to unmount any file systems first.
-l Load media in the drive (only supported for the cdrom device type).
-L Lock the media into the drive (but see BUGS below).
-n List the built-in nicknames on standard output.
-t device-type
Specify the device type. The argument must be one of diskette, floppy, cdrom, disk, or tape. This option is necessary when ejecting a
device for which no built-in knowledge is available.
-U Unlock the media from the drive.
-v Display some of the actions taken on standard output.
BUGS
Most disk drivers automatically lock the media on the first open and unlock it on the last close, making 'eject -L' almost useless, since
when it closes the device, it gets unlocked again.
BSD October 6, 2001 BSD
I have a user who have accidentally changed her user home directory to a different one, now she cannot access certain files. I am a windows admin and know not much about unix. My unix admin is on holiday and I have to look after his users. I need to change back the users directory from e.g k to b,... (3 Replies)
Anyone know if there is a way to keep the "/dev/floppy/... can now be ejected" messages from coming up on the screen? I'm using Solaris 8 and it pops a message up, which is fine, but it also writes text in the terminal session... that is what I'm trying to avoid. I have tried running in silent... (4 Replies)
Hi I have placed a CD into the rom and now I can not eject it.
when i type in
eject cdrom i get the follwing error
root@ssdb0009 # eject cdrom
/vol/dev/rdsk/c0t6d0/dp_a0500_solaris_7_and_8_cd: Device busy
Therefore i try and eject it with the -f option (eject -f cdrom) I still get the... (4 Replies)
Greetings all,
I'm currently writing a shell script menu which is dynamically populated from an array. Have a question to ask about the filtering of invalid input. I'm using KSH.
A brief description of my algorithm is as follows:
1) Read in input from user and store in a variable. (a valid... (2 Replies)
Now i have a prolem!
I double click on my zip file from cdrom.
System can not read my zip file and i can not eject my cdrom.
How can i manage process and can i end a process
or how can i eject my cdrom?
please have me! thanks (4 Replies)
Hi,
When I insert a cd to CDROM drive in SF V210 Solaris 10 it took seconds then eject it auto!
How can I solve this issue?
Thanks
Regards :) (8 Replies)
Hi,
I've seen similar posts on this board about ejecting CDROMs but I've tried the solutions people suggested but still cannot eject the CD. It's stuck in a production box so I can't reboot it...
bash-3.00# eject -f cdrom
/vol/dev/dsk/c0t0d0/sol_10_106_sparc/s0: Device busy
bash-3.00#... (14 Replies)
Hey everyone, I currently have a sparcstation 5, and am trying to run some scripts on it without booting off the hard drive.
Currently I am using a Solaris 8 install cd to boot into single user mode. However, the scripts I have are on a different CD.
What I would like to do is to use the... (6 Replies)
Hi,
I have a input file with the following entries:
1one
2two
3three
1four
2five
3six
1seven
1eight
1nine
2ten
2eleven
2twelve
1thirteen
2fourteen
The output should be: (5 Replies)
The green cdrom light is blinking on our Sun Solaris server. I tried the eject command to eject cdrom:
eject cdrom
cdrom: No such file or directory
bash-2.05# eject
No default media available
bash-2.05# eject cdrom0
cdrom0: No such file or directory
The message log file shows:
Oct 19... (6 Replies)
I am trying to use this command to eject the tape
mt -f /dev/rmt/0 unload
but it gives me error
mt -f /dev/rmt/0 unload
mt: 0511-575 unload is not a recognized subcommand.
Usage: mt Subcommand
Valid subcommands are:
weof
eof
fsf
bsf
... (5 Replies)
Hey everyone, something curious I found. I was studying up on iptables, and saw that my filter table, has it's INPUT chain to accept all incoming packets..and then to reject all incoming packets. Am I reading this right? take a look.
I couldn't format it properly, so I stuck it on a pastebin and... (4 Replies)
Ggod evening.
I need your help please, in a Production system there is a process that download a xls file from an URL which is IMF(International Monetary Fund) and afterwards to be loaded into a databse table.
When testing conectivity from a unix server to IMF seems to work but when editing it... (9 Replies)