Can I create a symlink that goes to a folder in /tmp ?

Using applications, configuring, problems
Post Reply
Message
Author
xan
Posts: 54
Joined: Sun 25 Nov 2012, 12:27

Can I create a symlink that goes to a folder in /tmp ?

#1 Post by xan »

MOC Player creates a large database in /root/.moc/cache

I don't know what the database is for and I can't find a way to turn it off or make it smaller. If I delete the database then MOC just recreates it again on next run.

I tried to make /root/.moc/cache as a symlink to /tmp/cache but MOC doesn't like that and crashes on start up.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi xan

have you tried symlinking it elsewhere, such as onto a folder on your harddrive?
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#3 Post by disciple »

Did you actually create /tmp/cache? You may need to create it every time you boot using a startup script.
How large is the database? Is there enough space in /tmp for it?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

xan
Posts: 54
Joined: Sun 25 Nov 2012, 12:27

#4 Post by xan »

Thanks for the suggestion. For some reason it doesn't work with /tmp, but I found that it works fine if I symlink to /dev/shm instead.

I hope I'm not creating a problem by doing that but all good so far.

Post Reply