Friday, June 11, 2010

Mounting Drives by default....

Default mounting is very useful for amarok, acetoneiso like application which keep a database of files in the system.

There is an option in system settings but it didn't worked for me.........

I used do it in the install time itself using advanced partitioning by right clicking and selecting use this partition.........

after installation if we need to do the same edit /etc/fstab

add following line

/dev/sdaX /media/disk filetype defaults 0 0

replace sdaX,disk & filetype with your requirements

you can get disk info from sudo fdisk -l command

filetype should be ext4 or ntfs or vfat etc...

ex
/dev/sda1 /media/windows ntfs defaults 0 0

will mount sda1 by default to /media/windows folder

No comments:

Post a Comment