Find the answer to your Linux question:
Results 1 to 3 of 3
Hello! SD memory card is inserted to internal slot of my server. Sometimes when I boot, this card is /dev/sda, sometimes it's /dev/sdi. Is any way to completly define name ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    3

    Question persistent name of SD card


    Hello!
    SD memory card is inserted to internal slot of my server. Sometimes when I boot, this card is /dev/sda, sometimes it's /dev/sdi. Is any way to completly define name of usb card?

    PS:
    It will be great if all internal hard drives would be sda, sdb, ... sdh, and any usb devices would be sdi(SD card), sdj(my USB key) and others...

  2. #2
    Linux User
    Join Date
    Nov 2008
    Location
    Tokyo, Japan
    Posts
    260
    Doesn't it automatically mount to the "/media/*" directory? I think the "udev" daemon, and the "gvfs" application handles all of that for you. Usually, the device's UUID is recognized and it is assigned the same file in the /dev directory, unless you have been plugging in so many different devices that they have run out of letters.

  3. #3
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    664
    introductory udev stuff has a pretty good tutorial on doing udev rules for this.

  4. $spacer_open
    $spacer_close

Posting Permissions

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