SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i'm well-versed in the act of mounting and unmounting media on a linux box, but i installed slack 9.1 last night and i can't eject this cdrom in my drive. i'm quite sure i've stopped all processes that access the cdrom and made sure to NOT be in the FS i'm unmounting. then i type "#eject /mnt/dvdrom" and it refuses to cooperate. here are the outputs i got:
(it starts w/ /dev/hdc="dvdrom device" mounted at /mnt/dvdrom)
root@chimaera:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 995864 304088 640372 33% /
/dev/hda3 4964188 1453496 3254456 31% /usr
/dev/hda4 68238912 167620 64549044 1% /home
/dev/hdc 640224 640224 0 100% /mnt/dvdrom
root@chimaera:/# eject /mnt/dvdrom/
eject: unable to eject, last error: Invalid argument
root@chimaera:/# eject -r -v /mnt/dvdrom/
eject: device name is `/mnt/dvdrom'
eject: expanded name is `/mnt/dvdrom'
eject: `/mnt/dvdrom' is not mounted
eject: `/dev/hdc' can be mounted at `/mnt/dvdrom'
eject: `/dev/hdc' is a multipartition device
eject: trying to eject `/dev/hdc' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: unable to eject, last error: Device or resource busy
root@chimaera:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 995864 304088 640372 33% /
/dev/hda3 4964188 1453496 3254456 31% /usr
/dev/hda4 68238912 167620 64549044 1% /home
so you'll notice that it did unmount the cdrom after the eject command was issued, but it refuses to eject. anybody got suggestions? i tried to "#umount -f /mnt/dvdrom" and "#umount -l /mnt/dvdrom" to no avail.
root@chimaera:/# mount /mnt/dvdrom/
root@chimaera:/# eject /dev/hdc
eject: unable to eject, last error: Invalid argument
root@chimaera:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 995864 303696 640764 33% /
/dev/hda3 4964188 1453496 3254456 31% /usr
/dev/hda4 68238912 167756 64548908 1% /home
root@chimaera:/# mount /mnt/dvdrom/
root@chimaera:/# eject -r -v /dev/hdc
eject: device name is `/dev/hdc'
eject: expanded name is `/dev/hdc'
eject: `/dev/hdc' is mounted at `/mnt/dvdrom'
eject: unmounting `/dev/hdc'
eject: `/dev/hdc' is a multipartition device
eject: trying to eject `/dev/hdc' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: unable to eject, last error: Device or resource busy
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.