Is it possible to unmount an external drive and have it not re-mount until it has been disconnected and re-connected?
I have a script which runs every night to backup a server drive onto an external drive which is taken off-site, at the end of the script, I run a umount command to unmount it but when I get to work in the morning, the drive has been re-mounted.
Is it possible to stop it remounting?
acme.mail.order
04-05-2004, 04:41 AM
Are you sure it's unmounting in the first place? Unmount-and-stay-that-way is the normal behaviour. Test your command manually, and while you're at it post it here so we can have a look.
RedTurbo
04-05-2004, 07:47 AM
i tried it manually and it seemed to work.
They command I'm using is:
umount /Volumes/Backup
Is that the right way to unmount a drive?
acme.mail.order
04-05-2004, 08:18 AM
Looks right. Now, does it STAY unmounted when you do it manually, and does your script really unmount the volume?
Suggestion: leave everything alone and change your computer's clock to T-1 minute. Wait and observe.