Re: Automount on fluxbox under Ubuntu Oneiric

"Fernando M. Maresca" <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
On Thu, Oct 20, 2011 at 03:57:36PM +0200, Rainer M Krug wrote:
> That works for cd and single pendrives, but I have a few drives, which are used
> by backup scripts, and therefore expect a specific mountpoint. In addition,
> having the device mounted to a mountpoind based on the name of the device, is a
> nice sanity check for the backup script: if /media/backup does not exist, then
> the backup fails, in contrast to backing up to /media/externalhdd, which would
> be there irrespective of the external hdd, so a backup could go on the wrong
> hdd.
I do not understand very well your disks and mountpoint scheme, but you
can do quite what you describe whith udev and autofs.
First you get your udev rules working, then you tell autofs where you
want the devices mounted. I have a bunch of pendrives and usb disks and
if there's any one of them plugged in it's on /media/pendrive or
/media/usbdisk; if there are more than one, I have specific mountpoints
for them under /media.

As said, this is not fluxbox related, it's OT here.

Best regards, 

-- 
Fernando M. Maresca
- - - - - - - - - - - - -
Cel: 221 15 545 8196
Tel: 221 450 5378

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.