Cache as user share?


Recommended Posts

Should the cache drive and/or folders within it show up as a user share by default?

 

I am using my cache drive for downloads:

/mnt/cache/Downloads/Complete

/mnt/cache/Downloads/Incomplete

 

but these same folders and and data within it are showing up in /mnt/user/Downloads/...

 

Should this be happening or did I do something to cause this?

Link to comment

Eve if not "moved" the contents of the cache drive are merged with the other directories and files in the user-share system.  It is by design.

 

As mentioned, if you do not want the directory merged, name the top level one with a leading period.  It will then be ignored by the user-shares.

 

Joe L.

Link to comment

I've been able to to get one working, but I don't know exactly what I did differently than the others... is there a specific extension or text encoding or something these need?

 

I am using TextWrangler on a mac to edit/create them.

 

Here is one that is working for me:

#define USER_SCRIPT_LABEL Start SAB
#define USER_SCRIPT_DESCR Start SABnzbd
#UNMENU_RELEASE $Revision: 7 $ $Date: 2010-03-29 23:12:23 -0400 (Mon, 29 Mar 2010) $


echo "Starting SABnzbd"
python /mnt/cache/.custom/sabnzbd/SABnzbd.py -d

 

and here is one, modeled after the one that is working, that does not work:

#define USER_SCRIPT_LABEL Stop SAB
#define USER_SCRIPT_DESCR Stop SABnzbd
#UNMENU_RELEASE $Revision: 7 $ $Date: 2010-03-29 23:12:23 -0400 (Mon, 29 Mar 2010) $


echo "Stopping SABnzbd"
wget -q --delete-after http://IP:PORT/sabnzbd/api?mode=shutdown&ma_username=UNAME&ma_password=PWORD&apikey=APIKEY

 

The CAPS items are obviously replaced with the specifics from my setup.

Link to comment

trying to consolidate.  I created the .Download directory, updated all my programs to use that directory and tried deleting the old '/mnt/user/Download' & '/mnt/cache/Download' directories. It deletes fine but they re-created a few minutes later.

 

How do I fix that?

 

Clear the share entry on the shares page and click apply.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.