lkml.org 
[lkml]   [1999]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: USB script
    On Thu, 29 Apr 1999, Albert D. Cahalan wrote:

    > That is almost what I initially thought:
    > UPID=`ps -C uhci-control -o pid=`
    > (if all column heads are empty, no header line is printed)
    >
    > It isn't perfect though. There is currently no way to exclude
    > processes that non-root users are running.

    Sigh. If a non-root user has a process called uhci-control, then they
    deserve to have it die when the sysadmin kills USB :)

    If we keep the USB killer script (which is just for debugging anyway) we
    might as well kill khubd too; however, we can have the hub driver
    disconnect() routine do it instead.

    Brad


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:51    [W:3.303 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site