Results 1 to 3 of 3

Thread: Recognizing Device

  1. #1
    Join Date
    Apr 2013
    Beans
    2

    Lightbulb Recognizing Device

    Hi all;
    I want to learn how can i fasten usb port to device path? Like this on one usb port must always take a sdb1 which device pluged. Another usb port take sdb2 like this...

    In my search i wrote udev rule and another way i wrote fstab file sentences but i can not take any effect which i want to do.

    Any body know how can i do it?

  2. #2
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Recognizing Device

    /dev/sdb1 and/or /dev/sdb2 are partition numbers with belong to /dev/sdb. The separate drives will be /dev/sda, /dev/sdb/, dev/sdc and so on. Lets say your HDD is /dev/sda, then when a USB is plugged in (in any USB port) it will be /dev/sdb, now when you plug in another USB Drive (in any USB port), it will be know to the system as /dev/sdc and so on.

    AFAIK, I don't think you can "fasten usb port to device path".
    Perhaps someone else here will be able to confirm this...
    "Evolution is Nature's way of issuing upgrades."

  3. #3
    Join Date
    Apr 2013
    Beans
    2

    Re: Recognizing Device

    Yes i am sorry for my mistake i wrote it wrong.
    I want that one usb port always will take sdb second one will take sdc and so on.
    In my search i found that one thumbdrive can take a same name if you change fstab file. But i can not do it for this way what i want.

Tags for this Thread

Bookmarks

Posting Permissions

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