Azimout's Linux weblog

Linux swap inside extended

with one comment

I was recently playing around with /etc/fstab and my partitions and a question came to mind: why does ubuntu create an extended partition and put its swap partition inside? Why not create a primary partition for the swap, just like for the ext2? Or put them both inside one extended partition? I haven’t found an answer to this yet, even though I found other people asking this question… Stay tuned

Powered by ScribeFire.


Written by azimout

11/02/2008 at 08:55

Posted in Reference

One Response

Subscribe to comments with RSS.

  1. I found it: the reason Linux puts its swap partition inside an extended one is that “the Solaris partition entry has the same type as a Linux Swap partition (82)“, so Linux does this in order not to confuse Solaris… Apparently the Solaris Installer will not look inside extended partitions.


    13/03/2008 at 18:39

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: