What is the point? Why the hell do you want your var part to be your home part? Don't fuck with your Linux Filesystem Hierarchy.
Thinks will get ugly! Specially opposite partitions like /home(a place to make your files permanent) and the /var (a place for VARiable data ).
BTW, /var /proc /boot /dev /etc are usually not partitions, they are usually just folders of the root(/) partition. /home could be linked to a partition in some cases
Also, making your home your var will fuck the system for other users, because they won't be able to connect the /var. Because your /var will be your home, and your home is protected against other users, so their software won't be able to store variable info like locks and other stuff. [notice the difference between home (/home/yourusername/ or ~/ ) and /home, they are very different things!] Do a chmod -R 777 to work around this problem, but this is a very insecure.
if you still want to do it;
#ln -s /var /home
than
#ls -l
to check it.
This makes a symbolic link to connect them. Symbolic links are really confusing things to play with.
RTFMan-page (man ln) for more info.
If you have another question, add the output of fdisk -l and uname -a to you post.
#An example;
Code:
[Expeto@localhost ~]$ mkdir exmpleFST
[Expeto@localhost ~]$ cd exmpleFST/
[Expeto@localhost exmpleFST]$ ls
[Expeto@localhost exmpleFST]$ #nothin here
[Expeto@localhost exmpleFST]$ mkdir home
[Expeto@localhost exmpleFST]$ ls
home
[Expeto@localhost exmpleFST]$ cd home
[Expeto@localhost home]$ touch afile_in_folder_one
[Expeto@localhost home]$ touch dont_fuck_with_your_file_system
[Expeto@localhost home]$ ls
afile_in_folder_one dont_fuck_with_your_file_system
[Expeto@localhost home]$ # there is new two files here
[Expeto@localhost home]$ cd ..
[Expeto@localhost exmpleFST]$ ls
home
[Expeto@localhost exmpleFST]$ ln -s home/ var
[Expeto@localhost exmpleFST]$ ls
home var
[Expeto@localhost exmpleFST]$ cd var
[Expeto@localhost var]$ ls
afile_in_folder_one dont_fuck_with_your_file_system
[Expeto@localhost var]$ #link complete
[Expeto@localhost var]$ cd ..
[Expeto@localhost exmpleFST]$ ls home/
afile_in_folder_one dont_fuck_with_your_file_system
[Expeto@localhost exmpleFST]$ ls var/
afile_in_folder_one dont_fuck_with_your_file_system
[Expeto@localhost exmpleFST]$ ls home/
afile_in_folder_one dont_fuck_with_your_file_system
[Expeto@localhost exmpleFST]$ ls var/
afile_in_folder_one dont_fuck_with_your_file_system
[Expeto@localhost exmpleFST]$ cd ..
[Expeto@localhost ~]$ rm -rf exmpleFST/
things start with # are comments, they have no effect on anything
Bookmarks