Standardise Temp dir for Puppy frugal (outside of savefile)

What features/apps/bugfixes needed in a future Puppy
Post Reply
Message
Author
User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#16 Post by Karl Godt »

Now I have booted racy-5.3 in PUPMODE=13 frugal installed on SDCard flash :

"mount |grep tmp" gives :

tmpfs on /initrd/pup_rw type tmpfs (rw,relatime,size=1303776k)
tmpfs on /initrd/mnt/tmpfs type tmpfs (rw,relatime,size=111640k)
shmfs on /dev/shm type tmpfs (rw,relatime,size=192808k)

where all folders on '/' inclusive /tmp are mounted also as /initrd/pup_rw, the top unionfs|aufs layer , so apparently no need to mount the main /tmp folder another time separately . Will have to check if the /tmp folder gets copied to the save file, which i think it shouldn't.

The main puppy_racy_5.3.sfs is copied to /initrd/mnt/tmpfs/ directory :
Q:

Code: Select all

ls /initrd/mnt/tmpfs
A: puppy_racy_5.3.sfs


The devx is not copied to ram .

The save-file is now mounted as :

/dev/loop1 on /initrd/pup_ro1 type ext3 (rw,noatime,errors=continue,barrier=0,data=ordered)


It is a little confusing to call the savefile pup_ro1 : as far as i saw the code, the save-file does not get remount,ro 'ed and remount,rw 'ed when snapmergepuppy is running or when the save at rc.shutdown is made.
The save-file is mounted rw all the time . (A possible risk imho.)


free shows :

Mem : 1025472 total
Swap: 1582076 total

(have disabled one swap in rc.sysinit to be reserved for Resume from Hibernation (which is not possible with stock Puppy kernels by Bk but from pemasu fex.)

Post Reply