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 Mon 15 Sep 2014, 05:31
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
NOT copy pupxxx to ram
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
mmdmurphy

Joined: 13 Oct 2005
Posts: 3

PostPosted: Thu 13 Oct 2005, 13:11    Post subject:  NOT copy pupxxx to ram  

I have a 512 meg USB drive (Cruzer Micro) that I finally got puppy to run from & I LIKE it. BUT, I don't want my pup100 file copied to ram during boot, then copied back to the USB when I shut down.

Anyway to tell it to use the pupxxx file from the usb drive and keep it there?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Thu 13 Oct 2005, 16:00    Post subject:  

As I understand it, the pup001 file is copied to RAM when the computer boots and not written back to flash memory until it shuts down, in order to minimize erasing and writing to the flash memory. Flash memory cells begin to lose their ability to remember after around a million write/erase cycles. That sounds like a lot, but it could be used up unnecessarily quickly if the OS were allowed to use the flash memory like a hard drive.

Why do you want to run from the flash drive?
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Thu 13 Oct 2005, 18:06    Post subject:  

Quickfix: Powerdown instead of clicking shutdown. It only rights back when you run the shutdown script.

Hardfix: Edit the shutdown script to not right back to the pupfile. This may have to be done by loading puppy without the pupfile, then mounting the pupfile from the flash drive (otherwise the change wouldn't be written back to the pupfile Rolling Eyes ).


There may be easier/better ways, but I don't know them.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Thu 13 Oct 2005, 21:46    Post subject:  

Quote:
I don't want my pup100 file copied to ram during boot, then copied back to the USB when I shut down.
Actually I think it's better if we start by understanding what the problem is.

What do you really want to happen and why?

If you want to write directly to the usb drive, nothing prevents you from creating a smaller pup001 file to be used for installing applications and such and writing your data files to /mnt/home, which is the USB drive.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0449s ][ Queries: 12 (0.0036s) ][ GZIP on ]