Thursday, January 10, 2008

Automount SD card in EEE PC

  1. sudo mksir /mnt/SDCARD
  2. Edit /etc/udev/rules.d/50-xandros-udev.rules
  3. Find the comment
    # usb, removable storage
  4. Immediately after this comment, so that it will replace the Asus dialog, add the following line, changing the serial number to match your device and optionally changing the name SDCARD (in both places)


BUS=="usb", KERNEL=="sd*", SYSFS{serial}=="146030377350"
, NAME="SDCARD", OPTIONS+="last_rule"
, RUN+="/bin/mount /dev/sdb1 /mnt/SDCARD"



Configure mount point

  1. Edit /etc/fstab
  2. Add a new line at the end
/dev/sdb1              /mnt/SDCARD    vfat    rw,uid=user


1 comment:

Geekiac said...

How do I get the SD Cards serial no?

Thanks for your help!