Bug 97117 - rfe: add flash to default mount points
Summary: rfe: add flash to default mount points
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: autofs
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-06-10 15:51 UTC by Toni Willberg
Modified: 2007-04-18 16:54 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-18 17:19:04 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.