Subject: silly things with vnd
To: None <netbsd-help@NetBSD.ORG>
From: Andrew Brown <codewarrior@daemon.org>
List: netbsd-help
Date: 06/04/1997 16:21:58
okay, i've already made the filesystem within a filesystem within a
filesystem (just to see if it worked, and it did :), and now i'm onto
something sillier.

i configure four vnd's to 1M empty files and then want to make a ccd
out of the resulting "devices".

yes, this is admittedly really (for large values of really :) silly
and doesn't buy me a thing.  except that i can temporarily consolidate
free disk space over a number of partitions/disks into one big chunk.
which i also don't need to do, but i was wondering if it would work,
and if not, why not.

anyway, after all is said and done, i do

   # ccdconfig ccd0 32 0 /dev/vnd0a /dev/vnd1a /dev/vnd2a /dev/vnd3a
   ccdconfig: ioctl (CCDIOCSET): /dev/ccd0d: Inappropriate ioctl for device

netbsd is i386/1.2, kernel config file has

   pseudo-device vnd 4
   pseudo-device ccd 4

and device numbers (sometimes a culprit) are all in sync (with 1.2).

   # ls -l /dev/*vnd0a /dev/*ccd0a
   brw-r-----  1 root  operator   16,   0 Feb 16 18:08 /dev/ccd0a
   crw-r-----  1 root  operator   18,   0 Feb 16 18:08 /dev/rccd0a
   crw-r-----  1 root  operator   41,   0 Jun  4 16:08 /dev/rvnd0a
   brw-r-----  1 root  operator   14,   0 Feb 16 18:08 /dev/vnd0a

maybe i'm missing something but it doesn't work for me.  anyone care
to lend a hand?  point out what i'm doing wrong?  call me names for
doing silly things?

-- 
|-----< "CODE WARRIOR" >-----|
andrew@echonyc.com (TheMan)        * "ah!  i see you have the internet
codewarrior@daemon.org                               that goes *ping*!"
warfare@graffiti.com      * "information is power -- share the wealth."