Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08-07-2007, 12:02 AM   #1 (permalink)
D i s t i n c t l y Ahead
 
saurabh kakkar's Avatar
 
Join Date: Sep 2006
Location: New delhi
Posts: 494
Smile is swap a different partition ?

hi
as i am new in the amazing word of Linux . i wanna know is swap a different

partition or a sub portion ( virtual ) of main Linux partition ?
saurabh kakkar is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 08-07-2007, 12:07 AM   #2 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: is swap a different partition ?

swap can be a different partition (which is the commonly followed conventionn) or it can be a file (jus like windows). basically it jus needs some allotted space on harddisk to perform the swap operation.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 08-07-2007, 12:12 AM   #3 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,513
Default Re: is swap a different partition ?

better have a seperate partition of approx 500 mb.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 08-07-2007, 12:20 AM   #4 (permalink)
D i s t i n c t l y Ahead
 
saurabh kakkar's Avatar
 
Join Date: Sep 2006
Location: New delhi
Posts: 494
Smile Re: is swap a different partition ?

Quote:
Originally Posted by praka123
better have a seperate partition of approx 500 mb.
thanks for Ur suggestion i m having swap as a different partition in my

ubuntu 7.04 but wana know suppose i format my linux partition and swap

partition from windows will they appear different drives or one ?
saurabh kakkar is offline  
Old 08-07-2007, 12:34 AM   #5 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,751
Default Re: is swap a different partition ?

you wont be able to access or edit ur ext3 or swap partitions without any 3rd party softs..w
Pathik is offline  
Old 08-07-2007, 12:37 AM   #6 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: is swap a different partition ?

if u haf a separate swap partition then it'll appear as a separate drive (drive is not a correct word here! partition is the correct word. but ussed here jus for understanding sake.)

Quote:
Originally Posted by pathiks
you wont be able to access or edit ur ext3 or swap partitions without any 3rd party softs..w
he can't access but he can definitely format the partitions using disk management of win nt/2k/xp/vista.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com

Last edited by infra_red_dude; 08-07-2007 at 12:37 AM. Reason: Automerged Doublepost
infra_red_dude is offline  
Old 08-07-2007, 05:50 AM   #7 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,657
Default Re: is swap a different partition ?

Swap won't appear in Windows even after you install the EXT2/3 Drivers. They do appear in those application-based readers but they hardly contain any file in them.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 08-07-2007, 12:45 PM   #8 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: is swap a different partition ?

Quote:
Originally Posted by QwertyManiac
Swap won't appear in Windows even after you install the EXT2/3 Drivers. They do appear in those application-based readers but they hardly contain any file in them.
he doesn't wanna access or modify the FS. he just wants to format it. disk manager fails to recognise the type of FS for ext2/3 swap parittion type and lists it as "unknown FS". but windows shows those partitions in disk manager and allows to format it or delete the partition.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 08-07-2007, 01:01 PM   #9 (permalink)
Burning Bright
 
anantkhaitan's Avatar
 
Join Date: May 2006
Location: NIT, Bhopal
Posts: 266
Default Re: is swap a different partition ?

I was reading about the ReadyBoost feature in Pista .. then thought of having a swap file on the Pen Drive that would do the same.. fortunately/unfortunately I got a readymade solution

Now this script lacks one feature.. tell me how can I make a dump file of alloted file size..Hope I am clear
__________________
..::Fedora ::.. Freedom + Infinity + Speech
Registered Linux User #447318

GNUger was here.... Grrr....

Maah! Blog
http://brightedges.blogspot.com/

Last edited by anantkhaitan; 08-07-2007 at 01:01 PM. Reason: Automerged Doublepost
anantkhaitan is offline  
Old 08-07-2007, 02:26 PM   #10 (permalink)
D i s t i n c t l y Ahead
 
saurabh kakkar's Avatar
 
Join Date: Sep 2006
Location: New delhi
Posts: 494
Smile Re: is swap a different partition ?

Quote:
Originally Posted by anantkhaitan
I was reading about the ReadyBoost feature in Pista .. then thought of having a swap file on the Pen Drive that would do the same.. fortunately/unfortunately I got a readymade solution

Now this script lacks one feature.. tell me how can I make a dump file of alloted file size..Hope I am clear
Pista cool buddy nd good link also

another Q has popped in my mind :

what if i delete swap partition from my windows xp will my ubuntu work fine ?

though i will do it but i m curious to know .
saurabh kakkar is offline  
Old 08-07-2007, 02:54 PM   #11 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,657
Default Re: is swap a different partition ?

Quote:
Originally Posted by infra_red_dude
he doesn't wanna access or modify the FS. he just wants to format it. disk manager fails to recognise the type of FS for ext2/3 swap parittion type and lists it as "unknown FS". but windows shows those partitions in disk manager and allows to format it or delete the partition.
Ah am sorry, I had just woken up then, didn't quite understand what was going on and perhaps, skipped a few messages. Apologies to all.

And I guess if you do chop the swap off, fstab will go screaming perhaps. Might not be anything more than that. But then again, I haven't done anything like this before.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 08-07-2007, 03:18 PM   #12 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: is swap a different partition ?

If the swap partition isn't found, you will get error during the boot up that it wasn't found. And those with graphical login, might not even notice that.
Besides, you will have some problems if you are low on RAM.
Otherwise linux will work fine.
Had happened to me once while messing around with multi-boot system.
mehulved is offline  
Old 09-07-2007, 07:24 PM   #13 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: is swap a different partition ?

Quote:
Originally Posted by saurabh kakkar
what if i delete swap partition from my windows xp will my ubuntu work fine ?
setting up swap..........................................[fail]

that's it... but hey you are still welcomed at ur gui/console welcome screen! don't worry.. nothing wil happen...
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com

Last edited by infra_red_dude; 09-07-2007 at 07:33 PM.
infra_red_dude is offline  
Old 09-07-2007, 07:32 PM   #14 (permalink)
Burning Bright
 
anantkhaitan's Avatar
 
Join Date: May 2006
Location: NIT, Bhopal
Posts: 266
Default Re: is swap a different partition ?

I am waiting for a answer.. we cannot create a swap file less than 40 KB.. so
Quote:
how can I make a dump file of alloted file size
__________________
..::Fedora ::.. Freedom + Infinity + Speech
Registered Linux User #447318

GNUger was here.... Grrr....

Maah! Blog
http://brightedges.blogspot.com/
anantkhaitan is offline  
Old 09-07-2007, 11:13 PM   #15 (permalink)
Wire muncher!
 
infra_red_dude's Avatar
 
Join Date: Nov 2003
Posts: 6,164
Default Re: is swap a different partition ?

^^^ sorry didn't get ur question.
__________________
"The true measure of a man is how he treats someone who can do him absolutely no good."

http://phoenix-ani.blogspot.com
infra_red_dude is offline  
Old 10-07-2007, 05:54 AM   #16 (permalink)
Burning Bright
 
anantkhaitan's Avatar
 
Join Date: May 2006
Location: NIT, Bhopal
Posts: 266
Default Re: is swap a different partition ?

I mean we will give a user defined filesize as parameter ..Arre suppose if the command is xyz then we will issue something like this
Code:
$ xyz --filesize 100 --name abc
This will create a dump file "abc" of size 100 KB
__________________
..::Fedora ::.. Freedom + Infinity + Speech
Registered Linux User #447318

GNUger was here.... Grrr....

Maah! Blog
http://brightedges.blogspot.com/
anantkhaitan is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cpu swap question PAPABEAR Hardware Q&A 4 27-07-2006 03:02 AM
F.E.A.R. --HOW DO I SWAP? karthik55859 Gamerz 3 16-03-2006 08:29 PM
share swap file between linux and windows infra_red_dude Open Source 5 20-09-2005 05:08 PM
Where to place the swap/Page file? iNFiNiTE QnA (read only) 8 04-08-2005 09:09 AM
how to disable windows swap file goobimama Software Q&A 4 13-02-2005 08:56 PM


All times are GMT +5.5. The time now is 05:35 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2