Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to resize swap in NetBSD 10?
"Jonathan A. Kollasch" <jakllsch%kollasch.net@localhost> writes:
> There's probably both a APM and a disklabel, and the disklabel is what
> actually gets used. Look at the apmlabel(8) man page for a possible way
> to resolve this.
Ah yes, Lloyd Parkes pointed out the same thing off-list.
disklabel indeed shows the old data, so apparently sysinst
let me down by not updating that. Curiously, apmlabel
sees the old data too:
$ sudo apmlabel /dev/rwd0
Found HFS partition; size 20480 (10 MB), offset 64
skipping existing HFS partition at slot d.
4 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 116141120 1069120 4.2BSD 0 0 0 # (Cyl. 1060*- 116279)
b: 1048576 20544 swap # (Cyl. 20*- 1060*)
c: 117210240 0 unused 0 0 # (Cyl. 0 - 116279)
d: 20480 64 HFS # (Cyl. 0*- 20*)
Not updating disk label.
I guess I'm going to have to fix it by hand, and then reinstall again
because the root partition is in the wrong place. Grumble.
Thanks for pointing me to the answer, though!
regards, tom lane
Home |
Main Index |
Thread Index |
Old Index