[lkml]   [2004]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: something funny about tty's on 2.6.4-rc1-mm1
James H. Cloos Jr. wrote:
>>>>>>"Peter" == H Peter Anvin <> writes:
> Peter> As RBJ said, ptys are now recycled in pid-like fashion, which
> Peter> means numbers won't be reused until wraparound happens.
> Ouch. I've been using the tty name in $HISTFILE for some time now
> (at least on laptops and workstations); I do not see any reasonable
> alternative to prevent overwriting while still saving history.

> Will patching in the old behavior wrt re-use, while not disrupting
> the other improvements, be a lot of work? I've looked thru the src,
> but haven't yet spotted the point where the new pis number is chosen.

Not a lot of work, but the performance would suffer big time.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:01    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean