Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Unix&Linux>>Unmounting

Unmounting

RedTurbo
04-05-2004, 03:18 AM
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.


 

TOP

Windows Server Outsell
Unix Signals And C++ E

For more info

Unix Signals And C++ E
Windows Server Outsell
ssh setup for password
Bash script does not w
esc code 
ARD send unix command 
question about binarie
Scanning mail 
Issuing multiple comma
How do I install Linux

News Archive

/etc/hosts? 
Manually Start a Start
mounting missed hard d
Using Netinfo in Singl
darwin/bsd login probl
system_profiler and fi
Send mail from script 
mounting a drive 
OS X disk first aid ha
system.log shows steal

Related stories:

Authenticating from command-line when "su user ..."
Scanning mail
Get a Tab Del File from ls output
Extracting CPIO archive
CpMac
Problems installing from source
.bashrc not being executed?

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics