Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 20 Apr 2014, 10:37
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
Deleted files reappear in RAM next load
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
Ted Dog


Joined: 13 Sep 2005
Posts: 2052
Location: Heart of Texas

PostPosted: Sun 31 Mar 2013, 00:27    Post subject:  Deleted files reappear in RAM next load
Subject description: relearning the old ways
 

The save session multisession code has been so convoluted over the past few years, its become hard to debug.

It was a simple few lines of code originally Wink Now the only thing I see left of my original stuff was the never meant to be in the resulting code was (unless it has not, which is an error)

Came across an unexpected bug when stress testing unmodified save session code and I wonder if any one else noticed. I did saves of iso files I am downloading throughout the day They got large so I did a savesession and then deleted those 600M of files from RAM. Later the computer was acting slow and seems like my router burped so I shutdown with savesession and rebooted every thing. ON my reboot those large files where loaded into RAM.
reloadbug.png
 Description   
 Filesize   56.26 KB
 Viewed   329 Time(s)

reloadbug.png

Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10668
Location: Arizona USA

PostPosted: Sun 31 Mar 2013, 17:59    Post subject:  

Could the 4 GB barrier somehow be responsible? I confess that I've never tried to save a file larger than a few hundred MB in a session, and that was years ago. Lately I only save on my multisession DVD small stuff such as .pets that I install and find that I like. Anything not directly related to running my multisession Puppy, I save on an external drive.
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2052
Location: Heart of Texas

PostPosted: Sun 31 Mar 2013, 20:37    Post subject:  

no only 5 to 600 meg. I think the .wh_ files are not being respected on reload, Or files deleted in RW mode do not generate a .wh_ file due to auf layering changes. I cut and pasted code to be able to see the growisofs warnings which are not produced on the 2> error trapping log file. And see that the ,wh_ files are being burned to disc.
Back to top
View user's profile Send private message 
partsman

Joined: 06 Jun 2012
Posts: 157
Location: OHIO,USA

PostPosted: Sun 31 Mar 2013, 23:19    Post subject:  

Hi Ted Dog
just wondering what puppy version this happend to you on ?
I have several m/s dvds and i like m/s puppy just thought i might try to duplicate the problem Very Happy I personaly love to use m/s dvd method i think it is wonderful for beginers as well as long time puppy users who dont have a hard drive or are limited on space etc. thanks for sharing

_________________
"PUPPY" POWERED BY PEOPLE
AKITA LINUX kernel 2.6.32.28
Wink
Back to top
View user's profile Send private message 
partsman

Joined: 06 Jun 2012
Posts: 157
Location: OHIO,USA

PostPosted: Wed 06 Nov 2013, 13:22    Post subject:  

@ Ted Dog
I too have had this problem ! what I found was that if you save with button on the desktop the files will reappear ! But if you shutdown then save when prompted the files will be deleted Wink

_________________
"PUPPY" POWERED BY PEOPLE
AKITA LINUX kernel 2.6.32.28
Wink
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 7191

PostPosted: Wed 06 Nov 2013, 16:42    Post subject:  

Quote:
Or files deleted in RW mode do not generate a .wh_ file


If you add a file and then delete it in a session, no .wh._ file will be generated as it has simply been removed as far as the union is concerned. (there is nothing underneath to hide in other words)
So there would not be a whiteout file to save at shutdown.
I suppose the shutdown script should check previous sessions before saving but that would cumbersome (you may have made several session saves for example)... its really just a limitation of the system as it is.

Actually the older unionfs had the opposite behaviour...it would have generated a whiteout in this case but also copied any file that was looked at into the read write layer so tended to build up lots of unecessary whiteouts and duplicate files.

The multisession scripts have changed little...just the layering system behaves slightly differently.

Snapmerge has a similar quirk... edit a core file then delete it... the original returns after boot... (or something very similar)

mike
Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2052
Location: Heart of Texas

PostPosted: Wed 06 Nov 2013, 23:00    Post subject:  

This whiteout bug is tricky, may have found the cause in fatdogs64 rewritten version. But have not looked if the same IF then ELSE logic code fragment exists in 32bit world but it may have the same effect.
Could you direct me into which ever version you found the bug.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0564s ][ Queries: 12 (0.0104s) ][ GZIP on ]