eject man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

EJECT(1)		  BSD General Commands Manual		      EJECT(1)

NAME
     ejecteject 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 eject‐
	  ing 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
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net