Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cache as user share?

Featured Replies

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?

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>

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.

  • Author

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?

  • Author

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.

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.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.