Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Change micro SD paths to memory mount paths - CUPS package

Featured Replies

Sorry, I change this topic to the correct path:

 

http://forum.armbian.com/index.php/topic/630-change-micro-sd-paths-to-memory-mount-paths-cups-package/

 

I want to write microSD card as less as possible and CUPS package uses the following path's by default (although can be changed):

/var/cache/cups
/var/log/cups
/var/run/cups
/var/run/cups/printcap
/var/spool/cups
/var/spool/cups/tmp

But I think this paths are pointing to micro SD card (except .'/var/log') (or not?)

root@pcduino3nano:/etc/cups# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.3G  1.1G  6.0G  16% /
devtmpfs        500M     0  500M   0% /dev
tmpfs           128M  212K  128M   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           128M     0  128M   0% /run/shm
tmpfs           256M     0  256M   0% /tmp
ramlog-tmpfs    256M  2.2M  254M   1% /var/log

Which is the best strategy so this path's points to memory and Not to microSD? 

 

I propose changing the path''s to something like '/tmp/cups/...', But I need to 'mkdir /tmp/cups/...' in the boot process after 'mount' but before CUPS start, How can I make this? I found that can be done in '/etc/rc.local' file. Is this correct ?

 

Thank you.

Guest
This topic is now closed to further replies.

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.