Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: pippin on December 25, 2006, 09:32:24 PM

Title: Automount USB disk
Post by: pippin on December 25, 2006, 09:32:24 PM
How do you automount a usbdisk after reboot?
Title: Automount USB disk
Post by: Helgo on December 26, 2006, 12:42:21 AM
Go to etc/mtab and set something like this


/dev/sda1 /media/usbdisk/what you want
Title: Automount USB disk
Post by: Gaston94 on December 26, 2006, 12:13:14 PM
Hi,
I guess you made a typo Helgo.
The /etc/mtab file does only reflect the currently mounted filesystems.
This file is being used by the umount "command" and updated by both "mount" and "umount" commands.

The place to indicate where you want FS to be automatically mounted at boot time is /etc/fstab

G.
Title: Automount USB disk
Post by: pippin on January 01, 2007, 11:26:04 AM
How can i make so the USB disk always is mounted,because when i am using the rsync contribs its auto umount the disk and the dar2 backup cant di its job.Can i make a script that mounts every 5-10 or 30 minutes?

EDIT i did a cronjob that mounts the disk 10 minutes before the backupjob