Help for this page

Select Code to Download


  1. or download this
    pb> mount | perl -ne '@mnt = split /\s+/; print "Stick? $mnt[0] $mnt[2
    +]\n" if $mnt[4] =~ /vfat|msdos|ntfs/ && $mnt[5] =~ /flush/;'
    Stick? /dev/sdd1 /media/BLUESTICK
    ...
    pb> mount | perl -ne '@mnt = split /\s+/; print "CD/DVD? $mnt[0] $mnt[
    +2]\n" if $mnt[4] =~ /udf|iso\d+/ && $mnt[5] =~ /ro/;'
    CD/DVD? /dev/sr0 /media/SOYLENT_GREEN
    CD/DVD? /dev/sr1 /media/IX0712
    
  2. or download this
    pb> lsusb -v 2>/dev/null | \
        perl -ne '$dev=$_ if /^Bus/; print $dev if /bInterfaceClass\s+8\D/
    +'
    ...
    Bus 002 Device 006: ID 05ac:1301 Apple Computer, Inc.
    Bus 002 Device 005: ID 1307:0163
    Bus 002 Device 004: ID 05e3:070e Genesys Logic, Inc.