On Wed, 2006-07-19 at 10:47 -0600, Lonnie Olson wrote: > About mounting on boot, I highly doubt it will. Since it didn't auto- > mount the drive when you plugged it in (only set up the details for > you), it probably won't auto-mount at boot.
If you want to to have it automatically mounted at boot, you should manually add it to /etc/fstab. The problem with removable devices is that they can be assigned different device names each time they're plugged in, so it would be better to use filesystem labels. In other words: mkfs -t ext3 /dev/sda1 # format the disk tune2fs -i 0 -c 0 /dev/sda1 # ~lart ext[23] e2label /dev/sda1 backups # label the filesysetem # update your fstab echo "LABEL=backups /media/backups ext3 defaults 0 0" >> /etc/fstab > I would suggest mounting > the drive in your backup script, and unmounting it at the end of the > script. This is an even better idea. The advantage is that if your system crashes while the backup disk is mounted, it will be marked as unclean. If it isn't mounted when the crash happens, you'll be able to get back on your feet a little faster. Of course, you'd want to use labels like i showed above so that the script will work even if the device name changes. -- Stuart Jansen e-mail/jabber: [EMAIL PROTECTED] google talk: [EMAIL PROTECTED] "However beautiful the strategy, you should occasionally look at the results." -- Winston Churchill
signature.asc
Description: This is a digitally signed message part
/* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */