dirrtyjoe Posted January 29, 2011 Share Posted January 29, 2011 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? Quote Link to comment
Tybio Posted January 29, 2011 Share Posted January 29, 2011 They are being included in the user share until the mover script can move them onto the array. Unless a directory starts with a ., it is considered to be a "cache" of data waiting to be written to the user share. mkdir /mnt/cache/.downloads/<whatever> Quote Link to comment
Joe L. Posted January 29, 2011 Share Posted January 29, 2011 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. Quote Link to comment
dirrtyjoe Posted January 29, 2011 Author Share Posted January 29, 2011 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? Quote Link to comment
dirrtyjoe Posted January 30, 2011 Author Share Posted January 30, 2011 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. Quote Link to comment
dgaschk Posted January 30, 2011 Share Posted January 30, 2011 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. Quote Link to comment
Recommended Posts
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.