Home » Posts tagged 'sparsebundle'

Tag Archive

10.7 ActiveDirectory Admin appdeployment bash bzip2 chrome chromium convert dd Debian deployment deploystudio deploystudiopc diskimage dns du graphics imagemagick imaging iWork Linux Lion Mac modelfiltering nbi nc NetAdmin netboot netcat OSX preferences resize SAMBA script scripting server shadow SOE sparsebundle terminal uninstall Unix winbind windows

Mac OS X Disk Images

Create sparsebundle: hdiutil create -size $SIZE -fs HFS+J -Volname $VOLNAME -type SPARSEBUNDLE $VOLNAME_backup Convert to compressed sparsebundle: hdiutil convert $VOLNAME_backup.sparsebundle -format UDBZ -o $VOLNAME_backup_compressed.sparsebundle.dmg Mount read-only sparsebundle with read-write Shadow: hdiutil attach -owners on $VOLNAME_backup_compressed.sparsebundle.dmg -mount required -shadow Unmount: hdiutil detach $VOLNAME Commit changes in Shadow (can’t be done in-place; have to create new file): […]