LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Saving Data and Documents on Another partition by Default (https://www.linuxquestions.org/questions/linux-newbie-8/saving-data-and-documents-on-another-partition-by-default-583160/)

ashwanisinha 09-08-2007 11:08 AM

Saving Data and Documents on Another partition by Default
 
I have installed Sinmply Mepis 6.0.1 on one of the partition of my only hard disk on Dell Inspiron B130 laptop.
How I configure Linux so that all my documents and data are automatically saved to the fourth partition by default?
Please give detailed directions as this is the first time I am using Linux.

tommytomthms5 09-08-2007 11:46 AM

i guess if your using gui then just make sure its mounted with something like


mkdir /mnt/files
mount /dev/hda5 /mnt/files

then just use your gui to "save as" to there

jay73 09-08-2007 01:24 PM

It will take a bit more than that. If you do it that way, you won't have any permissions to write to that directory. You also need to

sudo chown username:users /mnt/files

Personally, I like having my extra partitions right in my home directory, in which case you'd use:

mkdir /home/username/files
sudo mount /dev/??? /home/username/files *

followed by the chown as illustrated but with "/home/username/files" instead.



* ??? represents the partition in question. Depending on the sort of hard disk you are using, that should be either hda5 or sda5. Since you're still using Mepis6, I would guess the former.


All times are GMT -5. The time now is 06:07 PM.