Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 08-22-2007, 12:30 PM
afragen afragen is offline
Registered User
 
Join Date: May 2007
Location: Southern California
Posts: 13
Send a message via AIM to afragen
Quote:
Originally Posted by dnanian View Post
There's a difference between image and host drive. You can't mount an image before it exists, of course. But you can point us at the location where the image is to be stored.

SD! does unmount when it creates/mounts.

If an image is not unmounted, it remains on your desktop. If you were to crash, it wouldn't be properly unmounted, of course.
Guys, don't be frustrated. There's a script at that above URL that I run at the end of every SD run that unmounts the sparseimages, or any other AFP mounts for that matter.

Here's the gist of it.

Code:
#!/usr/bin/env bash
# http://www.shirt-pocket.com/forums/showthread.php?t=2378

sleep 45

if [[ `mount | awk '/^afp_/'` != "" ]]; then
  mount | grep ^afp_ \
  | perl -pe 's/.*? on //;s/( \([^)]*\))?$//;'"s/'/'\\\\''/;s/^/'/;s/\$/'/" \
  | xargs umount -f
fi
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undersized disk image and a Boot Camp-related backup question garybollocks General 3 10-23-2006 02:07 PM
SuperDuper Backup of AES 128 Encrypted Disk Image rwg4 General 3 11-30-2005 11:28 AM
Sparse image from aborted DMG backup? Winston General 9 10-22-2005 01:28 PM
Question regarding backing up to Image giba General 3 05-20-2005 06:54 PM
How do I update an image? dnanian Frequently Asked Questions 0 06-12-2004 11:05 AM


All times are GMT -4. The time now is 09:55 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2022, vBulletin Solutions, Inc.