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 Thu 18 Dec 2014, 06:32
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 Posts_count  
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: 11180
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_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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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