Bug 3397 - safeguard saving config files?
Summary: safeguard saving config files?
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: WindowMaker (show other bugs)
Version: unstable
Hardware: all Linux
: P4 enhancement
Assignee: vkni
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-22 12:50 MSK by Michael Shigorin
Modified: 2009-04-01 23:01 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2003-12-22 12:50:36 MSK
would be nice if WM did config-saves like this:

- open tmp config file
- write new data there
- close (/sync?)
- move orig config file to backup one
- move new config file where it belongs

so that situations when e.g. no free space left on /home wouldn't be fatal for
WMState (mostly).
Comment 1 Sir Raorn 2009-03-29 16:13:57 MSD
Вщщета WMState так и гвардится.  Проблемы могут быть только с сохранением сессии (XSMP) и истории диалогов.  Запатчил в -alt5.
Comment 2 Michael Shigorin 2009-04-01 23:01:42 MSD
Спасибо!  Нарывался как-то на пустые (и один раз когда-то давно -- на обрывок).

PS: ещё лишние wakeup'ы с wm* посрезать и жизнь в этом году вновь наладится :-)