Subject: Re: NetBSD's swap partition ID
To: Johnny Billquist <bqt@update.uu.se>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: netbsd-users
Date: 02/23/2006 14:31:44
On Jul 16,  5:51pm, Johnny Billquist wrote:
} Lubomir Sedlacik wrote:
} > On Thu, Feb 23, 2006 at 07:23:42PM +0100, Zbigniew Baniewski wrote:
} > 
} >>I would to move my NetBSD installation to another HDD, and to
} >>partition that disk "manually". Amazingly, as I can see, fdisk shows
} >>just one, NetBSD-primary partition (id 169), and it doesn't show the
} >>swap-partition, although it does exist (it's activated every reboot
} >>anyway, it's mentioned in /etc/fstab...).
} >>
} >>Why so strange fdisk's behaviour? What is the NetBSD's swap-partition
} >>id?
} > 
} > it's not strange.  it's the NetBSD disklabel, iow the whole NetBSD part
} > of the disk.  swap is a partition inside the disklabel.
}
} Or put another way: NetBSD don't actually give much of a damn about the 
} BIOS and DOS disklabels.
} Unless you have some other OS that might want to use the disk, you can 
} totally skip the fdisk disklabels if you run NetBSD (well, maybe the 
} BIOS needs it for booting purposes?).

     I have done it a number of times in the past, where I put the
NetBSD disklabel in sector 0.  However, now a days, I usually just
use sysinst which puts an fdisk style partition table in sector 0.

}-- End of excerpt from Johnny Billquist