cvs commit: src/bin/pkill pkill.1 pkill.c

John Baldwin jhb at
Mon Sep 29 15:38:34 UTC 2008

On Sunday 28 September 2008 12:44:15 pm Ed Schouten wrote:
> ed          2008-09-28 16:44:15 UTC
>   FreeBSD src repository
>   Modified files:
>     bin/pkill            pkill.1 pkill.c 
>   Log:
>   SVN rev 183438 on 2008-09-28 16:44:15Z by ed
>   Don't automatically prepend the "tty" prefix to `pkill -t' arguments.
>   Because we now enforce UNIX98-style PTY's, we now use a lot of TTY's
>   that don't have the traditional /dev/ttyXX naming scheme. pkill(1)'s -t
>   flag automatically prepended the word "tty" to each TTY that was passed
>   on the command line. This meant that `pkill -t pts/0' was actually
>   converted to /dev/ttypts/0. Disable this broken behaviour for now.
>   Reported by:    erwin

Why not fix it to do what other utilities like ps, etc. do and just try it 
both ways?  You want to be able to use the 'tty' column from ps output as an 
argument this, and serial port logins are still going to show up as 'd0' 
(sio0) or 'u0' (uart0).

John Baldwin

More information about the cvs-all mailing list