Solved

mounting/unmounting cdrom

Posted on 1997-05-28
3
407 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux boot cd to do hardware report on PC? 3 101
pvcreate issue 5 101
IMAP copying tool 14 78
check the file dates in unix 14 77
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

752 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