On 2015-03-29, at 7:07 AM, Macs R We <[email protected]> wrote: > Maybe I’m misunderstanding the big picture here, but Time Machine allows you > to specify files and volumes that are not to be backed up; and, although I’ve > never tried it, I would try setting discretionary read-only permissions on > the bundle and/or the interior volume to prevent any accidental modification > of the contents.
The big picture, roughly: I have some partitions that are historical data. I don't want them to ever change. But I do want them in the backup. Attempting to mount those partitions as read only, to prevent them from changing, messes up Time Machine's ability to just say "these have not changed". > > On Mar 29, 2015, at 6:57 AM, Michael <[email protected]> wrote: > >> >> 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 > --- Entertaining minecraft videos http://YouTube.com/keybounce _______________________________________________ MacOSX-talk mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-talk
