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 23 Nov 2014, 09:41
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
contents of usb permenently in ram
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
666philb


Joined: 07 Feb 2010
Posts: 1876
Location: wales

PostPosted: Tue 22 Apr 2014, 14:27    Post subject:  contents of usb permenently in ram
Subject description: odd occurance
 

i'm posting this hoping someone can shed some light on what happened ..

i'm running puppy live on a macbook pro ... no harddrive and no savefile ..just live. current uptime 32days . i can't reboot the thing as it has a faulty graphics chip that comes away from the motherboard!! if it goes off i have to dismantle it and put it in the oven and bake for 8 mins Cool (the previous uptime was similar but when drunk one night i rebooted and needed to bake the thing again!)... it's had so many bakes now 10+ ...that if it goes down again that may be it.

so that's why i'm running completely live.
it's quite amazing ... puppy splits the 4gb ram , half for ram usage and the other half acts like a savefile that needs to be managed.

i have an 8gb sd card for storage but either the sdcard is corrupt or the motherboard is damaged from so much baking, so i can't trust the card. but i need to use it as a storage device as i have limited ram .. and this is where it gets odd.

i had a googleearth.sfs loaded from the sdcard and it worked fine even though it was on the untrusty card. the sd card then got knocked and the whole filesystem became read only & un-mountable. there was music ...pets ...pictures etc on the card aswell.
i couldn't change the sdcard back to read/write so i took the un-mountable card out and formatted in another computer.

when i put the blank/formatted card back in the mac, ALL files that where previously on the card where there and available ... music tracks played, films played !! it must have copied the entire contents to ram.
it didn't recognise the card as empty until i unmounted the (not there) googleearth.sfs off the card.

i can understand that the googleearth.sfs if unloaded would still be in ram, but does anyone have any idea why all the contents of the sdcard (music ,films etc) would be retained in ram?

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642

Last edited by 666philb on Sat 25 Oct 2014, 19:43; edited 1 time in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8644

PostPosted: Tue 22 Apr 2014, 14:31    Post subject:  

Rox would keep the previous contents visible until you make it refresh...thats what comes to mind. ie they were gone but Rox was a bit behind the times.

mike

so is this like a bakers dozen?
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1876
Location: wales

PostPosted: Tue 22 Apr 2014, 16:58    Post subject:  

hi mikeb,

defo not a rox thing, the files were retained in memory. i could play a film or tune from the sdcard... even though the sdcard had been formatted!!

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8644

PostPosted: Tue 22 Apr 2014, 17:19    Post subject:  

In that case not a clue.

The sfs would be copied to tmpfs in the initrd I believe if loaded on the fly.... the rest dragged in...who knows....

/initrd/mnt/tmpfs and tmpfs2 are the places..

mike

only other rox thought ...if rox is open in a mounted folder (NFS, drive etc ) then unmounting is not possible.... perhaps it hung onto files in true posix style...ie a file is still there until released in the ether.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2276

PostPosted: Wed 23 Apr 2014, 00:23    Post subject:  

Formatting a drive doesn't really remove any data. It simply lays down 'markers' in certain locations. So, if you reformat it with the same filesystem as before, there is a good chance that the files will still be there, intact.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8644

PostPosted: Wed 23 Apr 2014, 07:19    Post subject:  

Quote:
Formatting a drive doesn't really remove any data. It simply lays down 'markers' in certain locations. So, if you reformat it with the same filesystem as before, there is a good chance that the files will still be there, intact.

would the theory on that then be the old valid pointers to the data were still in a buffer until the reformatted drive was truly reloaded/rescanned?

a curious can of worms. I have recovered data via reformatting/partitioning back to as was (quick format) before today.

mike
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1876
Location: wales

PostPosted: Wed 30 Apr 2014, 10:46    Post subject:  

thanks for the replys .... kind of throws some light onto what happened ... even though i formated the drive ..... the pointers to all the files were still in the computers memory and therefor i could still play the deleted files.

i believe it was to do with the sfs_loading mechanism as opposed to rox that caused the weirdness.

it was very refreshing running puppy completely live for 5 months (no save), unfortunately i had to finally turn the macbook off, and it may well never turn back on again Sad
i'm now back on my main computer with a savefile and even though it's a faster comp ... it actually feels a little slower in general .... as not everything is being completely done in ram.

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send private message 
dogle

Joined: 11 Oct 2007
Posts: 354

PostPosted: Wed 30 Apr 2014, 14:06    Post subject:  

I experienced some very vexing weirdness a few months ago .... which may or may not be related to your issues. (I run 431 in RAM from multisession disk most of the time).

After a lot of head-scratching and bad language, it was sorted; the trigger in my case seems to have been RFI spikes being picked up via my cabling rats-nests, and the underlying cause an old CMOS coin battery which had become too weak to hold things in place. Whatever, replacing the battery fixed it.

I suggest that you might, in the absence of any better ideas, just try substituting a new CMOS backup battery and see what happens (don't be fooled by a voltmeter check on the old one, which may mislead you if it is not really up to scratch)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0594s ][ Queries: 12 (0.0033s) ][ GZIP on ]