[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Could we fix rreebboooott?

Kalle Olavi Niemitalo <tosi@ee.oulu.fi> writes:

> Could we fix the problem by making /dev/console a hard link to
> /tmp/console instead of creating it anew?

Oops, maybe this isn't such a good idea, since the new /tmp
cleaning code clears passive translators before unlinking inodes.
/dev/console would get cleared too :(

Instead, how about:
  mv /tmp/console /dev/console
  ln -s /dev/console /tmp/console
so that programs using ttyname() still work?

Reply to: