Hi all, I have a bunch of linux boxes that have the swap partitions that are not of type swap. They are type linux. The OS seems to be swapping just fine on this partition type. Some machines have swap partition that look like this from fdisk /dev/hda6 50810 52890 1048792+ 82 Linux swap Other machines have swap partitions that look like this. /dev/hda6 50810 52890 1048792+ 83 Linux Does anyone have experience with why it would or wouldn't cause issues? Does anyone know what it means to have a partition of type x or y? Is there a difference or is having a partition type mostly there for humans. I would have thought that the partition just defined the limits. Everything else depends on what you do with the partition as far as formatting and defining inodes/FATs and labels... Any ideas? Thanks, Arturo
I know that partition types do something, as there are windows hidden partition types which are different from the standard windows partition types. Other than that I'm as curious as you. On 5/10/05, Arturo <sedoa@raytheon.com> wrote:
Hi all, I have a bunch of linux boxes that have the swap partitions that are not of type swap. They are type linux. The OS seems to be swapping just fine on this partition type.
Some machines have swap partition that look like this from fdisk
/dev/hda6 50810 52890 1048792+ 82 Linux swap
Other machines have swap partitions that look like this.
/dev/hda6 50810 52890 1048792+ 83 Linux
Does anyone have experience with why it would or wouldn't cause issues? Does anyone know what it means to have a partition of type x or y? Is there a difference or is having a partition type mostly there for humans. I would have thought that the partition just defined the limits. Everything else depends on what you do with the partition as far as formatting and defining inodes/FATs and labels...
Any ideas?
Thanks,
Arturo
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Partition types are sometimes used by operating systems and utilities to determine the type of a file system. The Linux kernel likely uses another means of determining if a swap partition is really swap. But it may simply assume that it is swap. Info on partitions and partition types: http://tldp.org/HOWTO/Partition/ I found some good information on partitions and memory management here, but no details on why specific partition types are used: http://tldp.org/LDP/sag/html/index.html Eric Martin wrote:
I know that partition types do something, as there are windows hidden partition types which are different from the standard windows partition types. Other than that I'm as curious as you.
On 5/10/05, *Arturo* <sedoa@raytheon.com <mailto:sedoa@raytheon.com>> wrote:
Hi all, I have a bunch of linux boxes that have the swap partitions that are not of type swap. They are type linux. The OS seems to be swapping just fine on this partition type.
Some machines have swap partition that look like this from fdisk
/dev/hda6 50810 52890 1048792+ 82 Linux swap
Other machines have swap partitions that look like this.
/dev/hda6 50810 52890 1048792+ 83 Linux
Does anyone have experience with why it would or wouldn't cause issues? Does anyone know what it means to have a partition of type x or y? Is there a difference or is having a partition type mostly there for humans. I would have thought that the partition just defined the limits. Everything else depends on what you do with the partition as far as formatting and defining inodes/FATs and labels...
Any ideas?
Thanks,
Arturo
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org <mailto:Wlug@mail.wlug.org> http://mail.wlug.org/mailman/listinfo/wlug
------------------------------------------------------------------------
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
==> Regarding Re: [Wlug] Partition Question; "James P. Gray" <gray_james@dwc.edu> adds: gray_james> Partition types are sometimes used by operating systems and gray_james> utilities to determine the type of a file system. The Linux gray_james> kernel likely uses another means of determining if a swap gray_james> partition is really swap. But it may simply assume that it is gray_james> swap. It does not assume a partition (or file) is swap; it checks for the swap header: if (!memcmp("SWAP-SPACE",swap_header->magic.magic,10)) swap_header_version = 1; else if (!memcmp("SWAPSPACE2",swap_header->magic.magic,10)) swap_header_version = 2; else { printk("Unable to find swap-space signature\n"); error = -EINVAL; goto bad_swap; } -Jeff
participants (4)
-
Arturo
-
Eric Martin
-
James P. Gray
-
Jeff Moyer