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 Wed 22 May 2013, 13:07
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Swap Partition - status off ? (solved-non issue)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
ohyes


Joined: 03 May 2007
Posts: 159
Location: Right Here

PostPosted: Sat 05 May 2007, 03:08    Post subject:  Swap Partition - status off ? (solved-non issue)
Subject description: Why does swap partition say 'swap off' using MUT
 

Noticed in my HDD installed Puppy 2.14 that when I click on the 'drives' the swap partition says its 'off' if I click on 'swap' the status changes to 'in use'

Should the swap parttion have a status of 'in use' all the time ?
If yes how can I make it active everytime I boot.

Thanks to all posters in advance

Last edited by ohyes on Sat 05 May 2007, 21:09; edited 4 times in total
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 10817
Location: The Peoples Republic of California

PostPosted: Sat 05 May 2007, 03:17    Post subject:  

No one knows the name of your swap file or its location.

You can turn it on with in /etc/rc.d/rc.local by adding the appropriate command.

swapon /locationof/nameofswapfile

If you have a swap partition but are calling it a swap file the command would be:

swapon /dev/????

where ???? is the device name of the swap partition, for an example:

swapon /dev/hda7
Back to top
View user's profile Send private message 
ohyes


Joined: 03 May 2007
Posts: 159
Location: Right Here

PostPosted: Sat 05 May 2007, 03:39    Post subject:  

Hi Bruce B,

Yes I meant to say partition sorry..to much windoze history Im afraid.

Now I added

swapon /dev/hda5

to /etc/rc.d/rc.local

and rebooted...then clicked on the 'drives' icon ..still says the swaps 'off' ?
Back to top
View user's profile Send private message 
Kal

Joined: 05 May 2005
Posts: 620
Location: California, High Desert

PostPosted: Sat 05 May 2007, 03:53    Post subject:  

Be aware that the button on MUT that states "swap off", is to turn the swap off, not that the swap is off. Confusing isn't it, for some of us.
Kal
Ps: You may not need your rc.local line.
Back to top
View user's profile Send private message 
ohyes


Joined: 03 May 2007
Posts: 159
Location: Right Here

PostPosted: Sat 05 May 2007, 03:59    Post subject:  

Kal


Um yeah confusing to me at least.. Smile


Mate I still didnt quite get it..but I do now

Thanks for clearing that up..hopefully this will help other no brainers

Cheers

Last edited by ohyes on Sat 05 May 2007, 04:09; edited 1 time in total
Back to top
View user's profile Send private message 
Kal

Joined: 05 May 2005
Posts: 620
Location: California, High Desert

PostPosted: Sat 05 May 2007, 04:07    Post subject:  

"Use Swap" is a button also and not a status.
Kal
Back to top
View user's profile Send private message 
ohyes


Joined: 03 May 2007
Posts: 159
Location: Right Here

PostPosted: Sat 05 May 2007, 04:10    Post subject:  

Yeah I got it Kal thanks again

I was thinking to hard.. Laughing
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 » 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.0424s ][ Queries: 12 (0.0061s) ][ GZIP on ]