Hi, recently I patched my 2.6.16 kernel to use uswsusp. Nice work, but when I installed /usr/local/sbin/suspend into the Suse 9.3 powermanagement scripts, I've stumbled over a bad interaction: powersaved closes all filedescriptors before calling scripts. suspend then opens snapshot and swap device, allocating file descriptors 0 and 1, but printfs() afterwards. Luckily, I did not lose any data. For robustness, suspend must make sure that these fds are open. Simple patch to achieve this is attached. It loses the descriptors, but I don't think that's an issue for the short running program. Stefan