dbc n00b
Joined: 07 Jun 2007 Posts: 50
|
Posted: Tue Sep 04, 2007 6:54 pm Post subject: controlling automounter |
|
|
I'm not a big fan of automounting, but there are times when it is convenient, like USB flash sticks.
My problem is getting the gnome automounter to back off when I need it to. I'd be happy, actually, if I could turn it off completely, but ideally I'd like to turn it off for a specific volume. I do backups using rsync, and have SATA drives in USB cases for back-up media. These need to be mounted/umounted by the backup scripts. I need to turn off all attempts by any automounter from dealing with these units -- all that crap just gets in the way.
Here is my fstab:
Code: | LABEL=BACKUP /mnt/bu ext3 noauto 0 0
|
So it picks up the volume by label. All backup volumes are labeled "BACKUP" and get mounted at /mnt/bu by the backup script at the beginning of the backup job and umounted at the end. I don't want the automounter to react to USB plug events for this volume. Complete automounting expungement is acceptable, but for bonus points I'd like the automounter to still do it's thing for CD-ROMs and USB flash sticks.
How do I go about this?
-dave |
|