Under Solaris, umount come does not allow a file system to be unmounted if a file on the file system is busy i.e. open by other programs/process or by user. You will get device busy error. To get rid of this message you can pass -f option to umount command. Suppose you would like to forcefully unmount a /cdrom/cdrom0 then you can type following command (login as a root user):
# umount -f /cdrom/cdrom0

Advertisement

Please note that using this option can cause data loss for open files; program(s) which access files after the file system has been unmounted will get an error.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

1 comment… add one
  • Kevin Jun 27, 2007 @ 22:54

    The force option is only available on Solaris 8 and above.

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.