autofs [was Re: jaz drive questions]


Subject: autofs [was Re: jaz drive questions]
From: Mark Brethen (marbre@dhcp-159-66)
Date: Thu Nov 08 2001 - 17:55:33 MST


On Saturday 03 November 2001 12:30, nathan r. hruby wrote:

> Also look into autofs (man autofs should tell you everything you need to
> know), which will automatically mount the drive whenever you use it,
> useful if you're flipping Jaz carts around a lot. Less load then the
> tradtional amd. It's easy to setup and should be compiled into the kernel
> already. Also handy for floppies :)
>
> -n

nathan,

I installed autofs, but it doesn't seem to be working. My auto.master looks
like this:

# $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).
/misc /etc/auto.misc --timeout=60

My auto.misc is set-up like so:

# $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.kernel.org:/pub/linux
#cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom

# the following entries are samples to pique your imagination
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
#removable -fstype=ext2 :/dev/hdd
/mnt/hfs_jaz -fstype=hfs,noauto,rw,user :/dev/sdc

When I issue '/etc/init.d/autofs start' it starts the automounter ok. Issuing
'/etc/init.d/autofs status' returns

Configured Mount Points:
------------------------
/usr/sbin/automount --timeout 60 /misc file /etc/auto.misc

Active Mount Points:
--------------------
/usr/sbin/automount --timeout 60 /misc file /etc/auto.misc

I then insert a jaz disk into the jaz drive and nothing happens, I still have
to manually mount it. Any ideas?

-- 

Mark Brethen mbrethen@rochester.rr.com



This archive was generated by hypermail 2a24 : Thu Nov 08 2001 - 18:02:44 MST