Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I've plugged a usb stick into my server. cat /proc/partitions 8 0 1981440 sda 8 1 990720 sda1 8 2 436288 sda2 However when I do ls /dev/sd* /dev/sda ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    60

    usb listing


    Hi

    I've plugged a usb stick into my server.

    cat /proc/partitions

    8 0 1981440 sda
    8 1 990720 sda1
    8 2 436288 sda2
    However when I do

    ls /dev/sd*

    /dev/sda
    /dev/sda1
    /dev/sda2
    /dev/sdb
    /dev/sdb1
    /dev/sda2
    I'm sure I got no other devices connected that /dev/sdb would point to

    cd /sys/block/sda

    [root@footy sda]# ll
    lrwxrwxrwx 1 root root 0 Jul 18 16:27 device -> ../../devices/pci0000:00/0000:00:03.2/usb1/1-1/1-1:1.0/host0/target0:0:0/0:0:0:0


    [root@footy sda]# cd /sys/block/sdb
    [root@footy sdb]# ll
    lrwxrwxrwx 1 root root 0 Jul 18 16:27 device -> ../../devices/pci0000:00/0000:00:03.2/usb1/1-1/1-1:1.0/host0/target0:0:0/0:0:0:1
    What does this imply, sdb linked to sda?

    Thanks in advance
    David
    Last edited by ub007; 07-19-2011 at 05:26 AM.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,530
    Post the output of the command "fdisk -l".
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •