pgoyette
440a886090
Enhance drvctl -p processing to handle new autoconfig info in property
...
dictionaries.
2012-01-16 19:43:50 +00:00
jmcneill
f398b121d3
add the -t option that modifies -l behaviour to recursively scan for
...
child devices and print them in tree format:
$ drvctl -lt usb0
uhub0
uhub6
uhidev0
ukbd0
wskbd1
uhidev1
ums0
wsmouse1
uhid0
ubt0
2011-08-07 13:00:35 +00:00
jmcneill
3b8212e891
add an optional argument to the -p flag that lets you extract specific
...
property values from the command-line:
$ drvctl -p wd0 disk-info/geometry/cylinders-per-unit
620181
$ drvctl -p wd0 device-driver device-unit
wd
0
$ drvctl -p wd0 nonexistent || echo "not found"
not found
2011-08-07 12:00:11 +00:00
wiz
456c3f9203
Document -n.
2009-04-20 22:07:23 +00:00
wiz
5be7e30eb5
Add -n to usage. Now it just needs to be documented.
2009-04-20 22:05:47 +00:00
wiz
67000f2b2f
Bump date for previous. Remove trailing whitespace.
2009-04-20 22:04:57 +00:00
dyoung
0f6df043c6
Add flag -n to suppress the first column of drvctl -l output.
2009-04-20 21:40:42 +00:00
joerg
9d6b98ae28
If drvctl -l is used without argument, print the root device nodes.
2009-04-04 22:05:47 +00:00
dyoung
c4923ea4ad
Document -l, -Q, -R, and -S.
2008-02-16 02:00:37 +00:00
christos
20d50f44a1
drvctl 4 does not exist.
2007-03-10 20:32:26 +00:00
thorpej
ef731d9e00
- Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic
...
"execute a command" ioctl that takes a dictionary as an argument
(specifying the command and arguments) and returns a dictionary
with the results (error code, optional error message, optional
result data).
- Define and implement a "get-properties" command for DRVCTLCOMMAND
that returns the properties dictionary of the specified device.
- Add a -p flag to drvctl(8) to fetch and display the properties of
the specified device.
This is a great example of how to use prop_dictionary_sendrecv_ioctl().
2006-09-22 04:37:36 +00:00
wiz
79632fc9ad
New sentence, new line.
2004-08-18 13:21:36 +00:00
drochner
0c34f6cd99
add a little utility to exercise the rescan / detach autoconf functions
2004-08-18 12:30:01 +00:00