Subject: Re: Separate /var, /tmp filesystems and partitions
To: Hammond, Robin-David%KB3IEN <muaddib@databit7.com>
From: Matt Rolf <mrolf1@columbus.rr.com>
List: port-macppc
Date: 08/10/2005 11:22:23
As I said in my first post, NetBSD pdisk. I run it from the NetBSD.macppc =
ISO=20
install cd shell. The format of the output will be a little off below, but=
=20
here is what I get:
#pdisk /dev/wd0c
Edit /dev/wd0c -=20
Command (? for help): p
Partition map (with 512 byte blocks) on '/dev/wd0c'
#: . . type name length base (size)
1: Apple Partition Map Apple 63 @ 1
2: Apple_UNIX_SVR2 netbsdroot 614400 @ 64 (300.0M) SO RUFS k0 /
3: Apple_UNIX_SVR2 swap 2097152 @ 614464 (1.0G) S1 SFS k0 (swap)
4: Apple_UNIX_SVR2 var 2097152 @ 2711616 (1.0G) =20
5: Apple_UNIX_SVR2 tmp 1048576 @ 4808768 (512.0M)
6: Apple_UNIX_SVR2 usr 27972056 @ 5857344 (13.3G) S2 UFS k0 /usr
7: Apple_HFS Apple_HFS_Untitled_1 44310744 @ 33829400 (21.1G)
8: Apple Free Extra 16 @ 78140144
Device block size=3D512, Number of Blocks=3D78140160 (37.3G)
DeviceType=3D0x0, DeviceId=3D0x0
On Wednesday 10 August 2005 10:52 am, Hammond, Robin-David%KB3IEN wrote:
> perhaps some output from the pdisk, which pdisk the macos X,9 or netbsd
> pdisk btw?
>
> On Wed, 10 Aug 2005, Matt Rolf wrote:
> > Date: Wed, 10 Aug 2005 10:44:53 -0400
> > From: Matt Rolf <mrolf1@columbus.rr.com>
> > To: port-macppc@NetBSD.org
> > Subject: Separate /var, /tmp filesystems and partitions
> >
> > I submitted this to the list yesterday, but it doesn't seem to have
> > posted. Apologies if it posts twice or something.
> >
> > Today I installed NetBSD 2.0.2 on my 1ghz 12" powerbook. =A0When settin=
g up
> > the drive I made partitions with NetBSD pdisk, and included ones for /,
> > swap, /tmp, /var, and /usr. =A0All NetBSD partitions are of type
> > Apple_UNIX_SVR2. =A0Based on the install manual, my understanding is th=
at
> > the sysinstall partition tool can't be used because it will tear up the
> > Apple Partition Map and render the machine unbootable.
> >
> > Unfortunately, pdisk can only flag the /, swap, and /usr partitions as
> > NetBSD specific, so the /var and /tmp partitions don't get recognized by
> > either disklabel or the installed system. =A0 The /tmp and /var directo=
ries
> > end up residing on the root file system.
> >
> > Can anyone suggest a tool or method to get these two partitions
> > recognized? =A0Do I need to simply mark /var and /tmp as /usr in pdisk?=
I
> > have read through the archives and haven't seen anything, but it is
> > possible that I missed something.
> >
> > Thanks,
> >
> > Matt
> > --
> > The last thing we need is people running around like chickens with their
> > heads cut off screaming "omg dat aprache servar got r00ted.. wher3s teh
> > sploit!"
>
> Microsoft: Where do you want to go tomorrow?
> Linux: Where do you want to go today?
> BSD: Are you guys coming, or what?
>
>
> Robin-David Hammond KB3IEN
> www.aresnyc.org.
=2D-=20
The last thing we need is people running around like chickens with their he=
ads=20
cut off screaming "omg dat aprache servar got r00ted.. wher3s teh sploit!"