Change micro SD paths to memory mount paths - CUPS package

Recommended Posts

Sorry, I change this topic to the correct path:




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


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.

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.