Subject: Re: NetBSD's swap partition ID
To: Zbigniew Baniewski <>
From: Geert Hendrickx <>
List: netbsd-users
Date: 02/23/2006 19:43:29
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?

fdisk(8) shows DOS-style partitions.  Your NetBSD install lives entirely
inside one such partition, which is subdivided in BSD-style partitions
(labeled with letters a-p).  You can view/edit those with disklabel(8).