Posted Apr 9, 2009 0:20 UTC (Thu) by smadu2 (subscriber, #54943)
Parent article: Shortening the rope
Why does killing X should case data loss ? And if cntrl Alt Bkspace is to restart X then is there an option to restore my previous X session ? I guess I am being naive.
Posted Apr 9, 2009 7:17 UTC (Thu) by hppnq (guest, #14462)
[Link]
Session management does not start processes in the state they had when they were last stopped, unless this happens to be a feature of a particular application (e.g., Firefox is able to reload tabs). All data that is not recoverable by the applications that went down with the X server, is lost.
Shortening the rope
Posted Apr 9, 2009 8:58 UTC (Thu) by smadu2 (subscriber, #54943)
[Link]
Thanks, makes sense. The feature FF has is neat, I never have to worry about loosing my FF tabs when shutting down/reboot etc. It would be good if more apps behaved that way.
Shortening the rope
Posted Apr 17, 2009 12:17 UTC (Fri) by Ross (subscriber, #4065)
[Link]
Except that if FF crashes while recovering after a crash (due to some strange Javascript in one of the
tabs), it sometimes corrupts the tabs and isn't able to recover again :(
This has happened to me twice. Seems like the browser could save the tab list to a separate
directory and do an atomic (1) rename. I hate to see the same mistakes made over and over in
every code base.
(1) except this won't work on ext4 or ext3 in writeback mode as seen in recent dicussions