[nycbug-talk] cgd on NetBSD/sparc32: dislabel problems
Tillman Hodgson
tillman
Thu Apr 7 13:03:21 EDT 2005
Howdy folks,
I'm attempting to set up a small (1G) encrypted filesystem using cgd on
a Sun SparcStation 10 with a DEC JBOD SCSI tower (makes a great NFS
server with a Sun Swift card). I'm following both the cgd chapter of the
NetBSD Guide and the netbsdcgd.html file from nycbug.org.
The issue I'm running into is that I can't write a disklabel to the cgd0
device:
# size offset fstype [fsize bsize cpg/sgs]
c: 2099820 0 4.2BSD 0 0 0 # (Cyl. 0 - 1025*)
e: 2099820 0 4.2BSD 0 0 0 # (Cyl. 0 - 1025*)
partition> W
Label disk [n]? y
write: Read-only file system
Label not written
Disklabel on a Sun box is weird in general (the '-r' thing and the
requirements for offset to be an even multiple of s/c, for example). Has
anyone else run into this and could give me a pointer?
-T
--
... the most palpable description of bread is that of hunger.
Tadeusz Rozewicz
More information about the talk
mailing list