USB Flash drive mount at boot time
I have sen many posts in lots of different forums about auto mount of USB flash drives when inserted but can anyone tell me how to get a USB flash drive to mount at boot time?
I tried compiling sd-mod and usb_storage statically but sd-mod cant get a major number in this incarnation. Any clues ? |
What does your entry in /etc/fstab look like?
Mike |
Not sure what you want be here is the fstab
<file system> <mount pt> <type> <options> <dump> <pass> /dev/root / ext2 rw,noauto 0 1 proc /proc proc defaults 0 0 devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 tmpfs /tmp tmpfs defaults 0 0 |
I think storkus is implying that you simply add an appropriate entry to fstab. Use the parameters you would use to manually mount the flash drive, ordered appropriately for fstab format. If your flash drive presently mounts automatically when inserted, and you don't know the block device name or filesystem type, as root, use
Code:
fdisk -l --- rod. |
Also, I'm confused about your fstab above: what in the world is "/dev/root"?
Mike |
All times are GMT -5. The time now is 01:28 AM. |