[BRLTTY] Re: Write of brltty.pid on read-konly file systems at boot

Sébastien Hinderer Sebastien.Hinderer at ens-lyon.org
Tue Dec 19 15:14:31 EST 2006


> >Or even more, reading the existing PID file and just see if a such PID exists
> >in the system. If not, then it comes from a previous crash. If yes, it would
> >mean another BrlTty is running.
> 
> That may not work to well for boot processes since they all tend to have
> similar pids. The common case where the boot sequence doesn't change and the
> pid is the same can be detected, but a slight alteration in the sequence could
> easily mean that the old pid matches that of some other active
> process.

Is it possible At boot time, given a pid, to find the name of the
corresponding process ?
If yes: what about looking wether the pid in the pid files corresponds to
brltty or not ?

Cheers,
Sébastien.


More information about the BRLTTY mailing list