News for hackers. Stuff that matters.
Re:The Post-Mac Interface by gizmo686 on Tuesday August 04, 2015 @01:30AM (#10001841)
You would need to implement this at the file-system level. You should be able to do this easily with any file-system that supports snapshotting, such as btrfs.
Re:The Post-Mac Interface by anon4 on Tuesday August 04, 2015 @03:13AM (#10002078)
I don't think it's that easy and I do think the parent has a point. I mean, while you're busy writing a perl one-liner to munge on your file, ten daemons are writing to their log files, all on the same file system. You want to roll back the effects of your script doing an accidental rm ~/*, but not what's in the logs. Probably a better idea is to strace the shell's children and record changes, then apply or forget them.