Results 1 to 5 of 5
Hello there
I want to auto mount cdrom and flash drive such that i dont have to manually mount it every time.
I know some entries in fstab have to ...
- 04-06-2009 #1
How to auto mount cdrom and flash dirve
Hello there
I want to auto mount cdrom and flash drive such that i dont have to manually mount it every time.
I know some entries in fstab have to be modified but don't exactly know how?
My fstab file contents are as shown below
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
How can I add up an entry for auto mounting the pen or flash drive. Also will replaceing 'noauto' with 'auto' for cdrom automatically mount cdrom( I suppose it will.)
- 04-07-2009 #2
will adding the line
/dev/sda1 /mnt/usbflsh auto auto 0 0
be suffice
- 04-07-2009 #3
It might, as long as the mount points and /dev/sda1 are correct, but Unless this USB drive is going to be connected every time you boot the machine, you might want to set the auto to noauto
Give that a twirl.Code:/dev/sda1 /mnt/usbflsh auto noauto,rw,umask=0 0 0
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 04-07-2009 #4
does that option means that when i insert the usb after reboot , it will not get mounted. I tried with the usb pluged in before reboot and it worked perfectly fine.
- 04-07-2009 #5
Yes, if you want it to mount on boot use auto.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.


Reply With Quote