As far as mounting goes, I tend to use autofs now :)
auto.master
-----------
# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(8).
/home /etc/auto.home --timeout 600
/misc /etc/auto.misc --timeout 60
auto.misc
----------
# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
kernel -ro,soft,intr ftp.ie.kernel.org:/pub/linux
cd -fstype=iso9660,ro :/dev/cdrom
# the following entries are samples to pique your imagination
floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
but it does involve having it in the kernel (RH has it in its default kernel).
Then you can cd /misc/cd and have it mounted, and it unmounts after 1 mins of
non-activity (very nice for nfs cd stuff, where I can chuck a cd in my machine,
wander to another box, mount it, do what I need, and unmount it, with out
having to do anything on my machine at all :))
Regards
L.
--
Liam Bedford System Administrator
WBT Systems Phone: 01 4170153
Block 2, Harcourt St, Dublin 2
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!