SCIENTIFIC-LINUX-USERS Archives

February 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Eve V. E. Kovacs" <[log in to unmask]>
Reply To:
Eve V. E. Kovacs
Date:
Thu, 22 Feb 2007 17:21:46 -0600
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (36 lines)
Hi, I have a USB drive that I would like to automount at boot and
whenever it is hotplugged (is this possible?), at a fixed mountpoint.

The current options in the fstab (added by the system when I plugged
in the drive) are:
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed

Is it just as simple as changing the noauto to auto??

Another behavior I would like to change is that 
if I hot unplug the drive and then hotplug it, the system comments out
my fstab entries and writes in new ones (as above) with the mountpoints
at /media/usbdisk1, /media/usbdisk2 etc.

How do I keep the mountpoints that I defined? There is a 'hotplug' mount 
option in Suse linux, but I could not find documentation for it in SL (not 
conclusive since there is no documentation I could find for 
fscontext=system_u object_r removable_t either!)

Can anyone help?
Thanks,
Eve


-- 
***************************************************************
Eve Kovacs
Argonne National Laboratory,
Room F149, Bldg. 362, HEP
9700 S. Cass Ave.
Argonne, IL 60439 USA
Phone: (630)-252-6208
Fax:   (630)-252-5047
email: [log in to unmask]
***************************************************************

ATOM RSS1 RSS2