normally as a part during reboot/shutdown procedure, sigterm is sent to all processes. This causes processes to terminate during which file descriptors are closed down flushing their cache. This is written to disk during filesytem sync. So these files are preserved. But when the system goes down because of a power glitch, there are chances that you lose your data from last filesystem sync.
On Tue, May 4, 2010 at 15:10, <exp...@hope.cz> wrote: > I have several running daemons that write some data to files > What happens with these open files when INIT 6 command is issued? > Are these files that are used by daemons deleted? Or are they closed > regularly and saved ? > And what happens, if the Linux box is shut down in a dirty way( out of > electricity)? > Thanks > L. > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: http://lists.debian.org/4be0079d.4796.6039...@export.hope.cz > >