2012年5月17日 星期四

Auto mount partitions using Storage Device Manager (pysdm)


sudo apt-get install pysdm
sudo pysdm
 select the partition you want to be automatically mounded on startup and click the "Assistant" button.



- check the box next to "The file system is mounted at boot time" (it's probably already be checked),

- make sure the "Mount file system in read-only mode" is unchecked (this is automatically checked for NTFS partitions),

- check the "Allow any user to mount the file system" box,

- check the "Allow a user to mount and unmount the filesystem" box,


Once you're done, click OK and "Apply" (important - if you don't click the "Apply" button on the Storage Device Manager window, the settings won't be applied). Follow the same steps for each partition (be it NTFS, EXT3/4, etc.) and click "Apply" when done.


If you've messed up something, you can restore the original fstab file which we've backed up above, using this command:
sudo cp /etc/fstab.old /etc/fstab
參考:http://www.webupd8.org/2011/11/how-to-mount-partitions-automatically.html

沒有留言: