I have a encrypted sparsebundle and I want to mount to to a folder in my home directory and not under /Volumes. How can I do that?
|
The
|
|||||
|
|
hdiutil attach /Volumes/ATimeMachine/Pictures/iPhoto\ Library.sparsebundle -mountpoint ~/iPho /dev/disk3 Apple_partition_scheme where "iPhoto Library.sparsebundle" is on a DroboFS (NAS) and is a 500G "hard disk" image formatted MacOS HFS journaled Running the hdiutil command mounts the image under my home directory. I tired to mount it on top of the original iPhoto Library, but the original was still visible in there after mounting, so I changed the name of the mount point to "iPho" instead. Then I decided it didn;t really matter where the mount point was, it would be fine under /Volumes as long as iPhoto.app knows where it is. Option click iPhoto.app to launch it with a prompt to create a new library, and I did that in the mounted disk image. Then import all photos (previously managed with Picasa under a ~/Pictures directory tree) on my hard drive into iPhoto, which copies them into the mounted image, which resides on the NAS where it has some fault tolerance because of the DroboFS. This also frees up half the space on my small 500G SSD drive in the Macbook Air. |
|||
|
|
|
You might be interested in also in http://blog.marc-seeger.de/2011/02/06/encrypted-diskimages-in-osx/ which explains step by step how to set up auto-mount to the specified mount point:
|
||||
|
|