Solved

mounting/unmounting cdrom

Posted on 1997-05-28
3
405 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Choosing CentOS 16 106
How to make a Bash alias that takes parameters 5 71
centos linux 65 155
Check for Linux process in script 7 45
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

807 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