Bug 97117

Summary: rfe: add flash to default mount points
Product: [Retired] Red Hat Linux Reporter: Toni Willberg <toniw>
Component: autofsAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED CANTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-18 17:19:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Toni Willberg 2003-06-10 15:51:25 UTC
Version-Release number of selected component (if applicable):
autofs-3.1.7-33

Current autofs-package is missing settings / examples for setting flash devices
to work out-of-box. Here's how:

To enable automatic mounting of flash devices:


Add to /etc/auto.master:
/mnt /etc/auto.misc --timeout=5
 # Adjust timeout if needed

Add to /etc/auto.misc:
flash           -fstype=auto,noauto,owner,kudzu :/dev/sda1
# You need to change /dev/sda1 to match your scsi-device number

$tail -f /var/log/messages
$chkconfig autofs on
$service autofs start
Jun 10 18:48:18 hostname automount[7875]: starting automounter version 3.1.7,
path = /mnt, maptype = file, mapname = /etc/auto.misc

Then insert your flash card that contains something.

$ls /mnt/flash
Jun 10 18:50:19 hostname kernel: SCSI device sda: 507905 512-byte hdwr sectors
(260 MB)
Jun 10 18:50:19 hostname kernel: sda: Write Protect is off
Jun 10 18:50:19 hostname kernel:  sda: sda1
<contents of the device>

# Then after timeout:
Jun 10 18:50:26 pentti automount[8007]: expired /mnt/flash


Version-Release number of selected component (if applicable):
autofs-3.1.7-33

Comment 1 Bill Nottingham 2006-08-07 20:00:35 UTC
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still
running Red Hat Linux, you are strongly advised to upgrade to a
current Fedora Core release or Red Hat Enterprise Linux or comparable.
Some information on which option may be right for you is available at
http://www.redhat.com/rhel/migrate/redhatlinux/.

Red Hat apologizes that these issues have not been resolved yet. We do
want to make sure that no important bugs slip through the cracks.
Please check if this issue is still present in a current Fedora Core
release. If so, please change the product and version to match, and
check the box indicating that the requested information has been
provided. Note that any bug still open against Red Hat Linux on will be
closed as 'CANTFIX' on September 30, 2006. Thanks again for your help.


Comment 2 Bill Nottingham 2006-10-18 17:19:04 UTC
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still
running Red Hat Linux, you are strongly advised to upgrade to a
current Fedora Core release or Red Hat Enterprise Linux or comparable.
Some information on which option may be right for you is available at
http://www.redhat.com/rhel/migrate/redhatlinux/.

Closing as CANTFIX.