Subject: Re: Separate /var, /tmp filesystems and partitions
To: Matt Rolf <mrolf1@columbus.rr.com>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: port-macppc
Date: 08/11/2005 18:05:12
On 8/10/05, Matt Rolf <mrolf1@columbus.rr.com> wrote:
> I submitted this to the list yesterday, but it doesn't seem to have poste=
d.
> Apologies if it posts twice or something.
>=20
> Today I installed NetBSD 2.0.2 on my 1ghz 12" powerbook. When setting up =
the
> drive I made partitions with NetBSD pdisk, and included ones for /,
> swap, /tmp, /var, and /usr. All NetBSD partitions are of type
> Apple_UNIX_SVR2. Based on the install manual, my understanding is that th=
e
> sysinstall partition tool can't be used because it will tear up the Apple
> Partition Map and render the machine unbootable.=20
>=20
> Unfortunately, pdisk can only flag the /, swap, and /usr partitions as Ne=
tBSD
> specific, so the /var and /tmp partitions don't get recognized by either
> disklabel or the installed system. The /tmp and /var directories end up
> residing on the root file system.=20
>=20
> Can anyone suggest a tool or method to get these two partitions
> recognized? Do I need to simply mark /var and /tmp as /usr in pdisk?  I h=
ave
> read through the archives and haven't seen anything, but it is possible t=
hat
> I missed something.

The 'user' type in Apple_UNIX_SVR2 does not mean the /usr partition.
It is any other partition you want (aside root and swap), as happens with
disklabels.

--=20
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/