On 2015-03-28, at 12:36 AM, @lbutlr <[email protected]> wrote: >> >> On Mar 27, 2015, at 21:33, Michael <[email protected]> wrote: >> >> Is there a way to mount a sparse bundle as read only? >> >> keybounceMBP:~ michael$ mount -o ro /dev/disk3s2 >> mount: /dev/disk3s2: unknown special file or file system. >> keybounceMBP:~ michael$ mount -o ro /Volumes/Isolated\ old\ stuff/ >> mount: /Volumes/Isolated old stuff/: unknown special file or file system. >> keybounceMBP:~ michael$ > > Unmount the image first, then > > hdiutil attach -readonly /path/to/image.dmg > > (I think that’s right, double check the man page, it’s been a while since I > used hdiutil_
So what works is simply disk=0s5; diskutil umount disk$disk ; diskutil mount readOnly disk$disk Then, changing that first bit (with ^5^6, or ^0s5^2s2) lets you apply that read-only to any partition that you don't want updated. Good? No. Every read-only partition gets a deep scan on every backup. I even made sure it was read-write, backup could complete successfully, and then read-only. Still gets deep scans. The good news: Now I know how to force a deep scan. The bad news: I don't know how to have a read-only archive that does not need to be updated (I don't want it to be updated) and still just "backup is a no-op because it is read-only and not changing". > -- > All I know is that using the strap makes me feel like a hot woman in > sunglasses. :-) ~jeffcarlson > > _______________________________________________ > MacOSX-talk mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/macosx-talk --- Entertaining minecraft videos http://YouTube.com/keybounce _______________________________________________ MacOSX-talk mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-talk
