Solaris > Safely remove / unmount the floppy disk or cdrom

last updated in Categories News

First use sync command update the super block. Then use the eject utility. It is used for those removable media devices that do not have a manual eject button, or for those that do, but are managed by Volume Management.

1) Type command sync to write superblock or data to device (for floppy disk):

# sync;sync

2) Use eject command to eject (or unmount it) floppy:

# eject fd

3) To Remove / unmount the CDROM disk
Use eject command as follows:

# eject cd

(Check out all of our posts on Solaris)

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.