summaryrefslogtreecommitdiff
path: root/udev-add.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-01-12 21:18:57 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:15 -0700
commit5472beeea5884dfc8bc5afb0f963de3ea3232e66 (patch)
treeb622f71003b4757515dd886e60fb848a824b1b8d /udev-add.c
parent606143c8d214f7bb7271d40d514eb23a86547b3c (diff)
[PATCH] udev - advanced user query options
This patch improves the user options for udev. It is possible now to query for the name, the symlinks or owner/group. If asked for the name of the node we are able to prepend the udev_root with the -r option. SAMPLE: kay@pim:~/src/udev.test$ ./udev -V udev, version 012_bk kay@pim:~/src/udev.test$ ./udev -h Usage: [-qrVh] -q <name> query database for the specified value -p <path> device path used for query -r print udev root -V print udev version -h print this help text kay@pim:~/src/udev.test$ ./udev -r /udev/ kay@pim:~/src/udev.test$ ./udev -q name -p /class/video4linux/video0 video/webcam0 kay@pim:~/src/udev.test$ ./udev -q symlink -p /class/video4linux/video0 camera0 kamera0 kay@pim:~/src/udev.test$ ./udev -q owner -p /class/video4linux/video0 501 kay@pim:~/src/udev.test$ ./udev -r -q name -p /class/video4linux/video0 /udev/video/webcam0
Diffstat (limited to 'udev-add.c')
0 files changed, 0 insertions, 0 deletions