Solved

mounting/unmounting cdrom

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bash file 10 62
lunix and unix command 21 111
What is the best way to transfer files from and to Linux VNC window? 9 69
Fuzzy search functionality DB2 UDB 3 30
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…
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…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 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