UberStudent Forums

Help and Community for Users of Uberstudent
Return to UberStudent Home Page
It is currently Sat Jul 21, 2018 3:54 am

All times are UTC




UberStudent Logo Shirt
Hey! You can wear this UberCool UberStudent Logo Shirt

Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: moving /var/cache
PostPosted: Sat Jan 17, 2015 9:10 pm 
Offline
Established UberStudent User

Joined: Mon Jul 21, 2014 3:24 pm
Posts: 42
I just installed and I wanted /var/cache to be on another partition. I tried moving it using "sudo cp" and was going to link it back to its proper location but it came back with "cp: omitting directory 'var/cache'"

You may be curious. My reason for doing this is that I installed to a spare 10gb partition toward the front of the disk and have a large storage partition at the end of the disk. This makes doing whole partition backups on my os easy. Te catch is I don't want to resize the storage partition and risk loosing everything and I want to install some large programs to uber. There is room to install them, but not to also have the downloaded files on there at the same time.


Top
 Profile  
 
Click Here to Get Inexpensive UberStudent Discs

Click here to get UberStudent discs delivered to your mailbox
Delivered Directly to Your Mailbox!
 Post subject: Re: moving /var/cache
PostPosted: Sun Jan 18, 2015 1:59 am 
Offline
UberStudent Founder and Lead Developer
User avatar

Joined: Sun Nov 11, 2012 8:54 am
Posts: 956
Location: UberStudent Headquarters
Your rationale make fine sense. :geek:

It's important you use the -r switch with cp in this case. You should be able to just cp -r /var/cache /new/destination and then delete /var/cache and recreate /var/cache as a symlink to /external/location/var/cache This external link explains doing so with the mv command.

_________________
UberStudent Must Become Self-Sustaining. If UberStudent and my dedicated support of it has benefited you, it's important to make a donation. Thanks!

The UberStudent Headquarters:
    * Mobo: MSI 870-G45
    * Processor: AMD Phenom II X4 3.4GHz
    * RAM: G.SKILL 8GB DDR3 1600
    * Graphics: MSI NVIDIA GeForce GTX 750 Ti
    * Drive: OCZ Vertex SSD
    * Case: Rosewill ATX Mid Tower
    * Monitors: 2 x Dell UltraSharp
    * With UberStudent 4.3 Development Build
You should build your own computers, too!


Top
 Profile  
 
 Post subject: Re: moving /var/cache
PostPosted: Mon Jan 19, 2015 8:02 am 
Offline
Established UberStudent User

Joined: Mon Jul 21, 2014 3:24 pm
Posts: 42
You're awesome!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Click Here to Get Inexpensive UberStudent Discs


Click here to get UberStudent discs delivered to your mailbox
Delivered Directly to Your Mailbox!



All times are UTC


Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group