Thanks a lot to both, things are much clearer now. Partitioning has always been some real black magic to me.
Quote:
You used dump/restore. Were your OpenBSD partitions already in the disklabel, or did you have to recreate them? If you recreated them, that would indicate no disklabel found on disk.
|
I recreated the partitions before running restore, since restore needs to be run in the mounted partition you want to restore files to (or did I get it wrong?).
And by the way, now I know why my /tmp had write permission only for root after restore, it is because I did not dump it at all, thinking I don't need to dump a partition that gets cleared on every boot. So I just made a fresh /tmp partition.
While I'm here I have another question: does swap need to be formatted with newfs as any other filesystem? I did run newfs on it and it worked fine, but is it right?