[PATCH 0/3] devinfo: new command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

These series of patches add a new command, devinfo(1), which aids users to quickly get details of any linux device.

I have been using this program for my own purpose for some time now and thought that it might be a useful addition.
There is room for improvements and suggestions, so please let me know.

Some examples:
$ devinfo /dev/video0
Character device: `video0' (81:0)    Class: video4linux    Access: crw-rw----
            Name: Integrated Camera    Driver: `uvcvideo'
            Type: usb_interface

# devinfo /dev/sda
Block device: `sda' (8:0)    Class: sd    Access: brw-rw----
   Fabricant:  ATA      HITACHI HTS54502    Driver: `sd'
        Type: disk (read-write, non-removable)
   Partitions (3):
   #1:  468518912  Linux
   #2:   19873794  Extended
   #5:   19873792  Linux swap / Solaris


$ devinfo -b
DEVICE  MAJOR:MINOR
sr      
ââsr0   11:0
ramdisk 
ââram0  1:0
ââram1  1:1
ââram10 1:10
ââram11 1:11
ââram12 1:12
...

Thanks,
Davidlohr


--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux