Date: Wed, 14 Aug 1996 20:17:39 -0700 (PDT) From: asami@cs.berkeley.edu (Satoshi Asami) To: doc@freebsd.org Subject: Two new entries (ccd) for the FAQ Message-ID: <199608150317.UAA11795@silvia.HIP.Berkeley.EDU>
index | next in thread | raw e-mail
Hello docmasters,
I added answers to the two most (un-)popular questions on the ccd list.
Please review and commit at your leisure (or I'll do it if they're ok).
Thanks
Satoshi
-------
Index: freebsd-faq.sgml
===================================================================
RCS file: /usr/cvs/src/share/doc/FAQ/freebsd-faq.sgml,v
retrieving revision 1.60
diff -u -r1.60 freebsd-faq.sgml
--- freebsd-faq.sgml 1996/08/05 17:18:03 1.60
+++ freebsd-faq.sgml 1996/08/15 03:09:24
@@ -2500,6 +2500,49 @@
</verb>
</enum>
+ <sect1>
+ <heading>What's inappropriate about my ccd?</heading>
+ <p>
+ The symptom of this is:
+ <verb>
+ host# ccdconfig -C
+ ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: Inappropriate file type or format
+ host#
+ </verb>
+
+ <p>
+ This usually happens when you are trying to concatenate the
+ `c' partitions, which default to type `unused'. The ccd
+ driver requires the underlying partition type to be
+ FS_BSDFFS. Edit the disklabel of the disks you are trying
+ to concatenate and change the types of partitions to
+ `4.2BSD'.
+
+ <sect1>
+ <heading>Why can't I edit the disklabel on my ccd?</heading>
+ <p>
+ The symptom of this is:
+ <verb>
+ host# disklabel ccd0
+ (it prints something sensible here, so let's try to edit it)
+ host# disklabel -e ccd0
+ (edit, save, quit)
+ disklabel: ioctl DIOCWDINFO: No disk label on disk;
+ use "disklabel -r" to install initial label
+ host#
+ </verb>
+
+ <p>
+ This is because the disklabel returned by ccd is actually a
+ `fake' one that is not really on the disk. You can solve
+ this problem by writing it back explicitly, as in:
+ <verb>
+ host# disklabel ccd0 > /tmp/disklabel.tmp
+ host# disklabel -Rr ccd0 /tmp/disklabel.tmp
+ host# disklabel -e ccd0
+ (this will work now)
+ </verb>
+
<sect>
<heading>Networking</heading>
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608150317.UAA11795>
