Hello Dave, Have you tried lshw? You might want switch to that tool or find good inspiration in the information it provides. Cheers, Eric Thibodeau On Mon, 04 Oct 2010 10:56:10 -0400, Davidlohr Bueso <dave@xxxxxxx> wrote: > 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 -- 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