can I make /var a symbolic link
Hi guys,
Currently my /var is on its own partition. But as the free space of /var is now only several Mb, so I want to do this: Code:
cd / |
Should be good to go. Just dont do this on a running system that has var mounted.. Also this might work it can go wrong. Boot into a lifesystem to do this. And as you should boot a lifesystem you can also take a look if you can resize the partition of /var. And then dont need to copy stuff around.
Nother thing that comes to my mind is that there might be programs that dont like to be run through a symlink. But those are few. But to be extra sure you could rebind the part of the filesystem where the new var is and mount it under /var. Check out the man page of mount. |
check out this thread below, it might give you an idea
http://www.linuxquestions.org/questi...ve-var-199391/ if you move var to another drive or partition, i guess it should work but i'm not sure. Quote:
|
Quote:
---------- Post added 10-25-13 at 04:01 PM ---------- Quote:
|
Another happy fellow :)
|
Should be good untill you don't know /var is the directory where multiple most required files reside including default location for DNS zone files, FTP's default and many more...
In your case it should have no severe effect because of you managed to make a symlink back to the same place but yes some programs would not like the way it would be!!! (depends upon when the check for /var directory performs it should returns true) Quote:
|
Quote:
|
All times are GMT -5. The time now is 04:45 AM. |