Solved

mounting/unmounting cdrom

Posted on 1997-05-28
3
391 Views
Last Modified: 2013-12-15
is there a better easier way than my fstab/rc.d setup?
how can i do it in tkdesk?
or with a tcl/tk widget?
my cd is sbpcd, mounted as dev/sbpcd. i only get sbpcd busy back!
so in fstab: can i have several dev/cdrom or dev/sbpcd loaded?
i  can only load the cd by rebooting, theres gotta be an easier way!
0
Comment
Question by:debros
3 Comments
 
LVL 2

Accepted Solution

by:
jprohart earned 50 total points
ID: 1627699
to mount you cd, do 'mount -t iso9660 /dev/sbpcd your_mount_directory'
to unmount it, do 'unmount your_mount_directory'
/dev/sbpcd is the device, not the mount directory. You can link /dev/sbpcd to /dev/cdrom. if you cannot unmount the cd, do 'fuser -u your_mount_directory' to see if a user is using the drive.
you can put this in your fstab
/dev/cdrom                   /cdrom                    iso9660 ro,noauto 0 0
and mount the cd with 'mount /cdrom', unmount it with 'unmount /cdrom'. You can also unmount and eject in the same time with 'eject -uf /dev/sbpcd' or just 'eject -uf' if you made the link.

bye
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1627700
Use an automounter, amd is the choice for Linux ;-)
Read NET-2-HOWTO how to set it up.
0
 

Author Comment

by:debros
ID: 1627701
except its not unmount but umount!  a perennial!
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now