I'll cc: hackers and see if this rings a bell for anyone :| ..


Andrew



> >Btw, can you explain why this happens?
> >
> >
> >$ partitionsize=256
> >
> >$ sects=`/bin/expr $partitionsize '*' 64  '-' 1`
> >
> >$ vnconfig -e -s labels -S $partitionsize"m" /dev/vn0
> >
> >$ disklabel -w -r vn0 auto
> >disklabel: /dev/rvn0c: Device not configured
> >
> >$ disklabel vn0
> >disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device
> >
> >$ disklabel /dev/vn0
> ># /dev/vn0:
> >type: unknown
> >disk: amnesiac
> >label: fictitious
> >flags:
> >bytes/sector: 4096
> >sectors/track: 32
> >tracks/cylinder: 8
> >sectors/cylinder: 256
> >cylinders: 256
> >sectors/unit: 65536
> >rpm: 3600
> >interleave: 1
> >trackskew: 0
> >cylinderskew: 0
> >headswitch: 0           # milliseconds
> >track-to-track seek: 0  # milliseconds
> >drivedata: 0
> >8 partitions:
> >#        size   offset    fstype   [fsize bsize bps/cpg]
> >  c:    65536        0    unused        0     0   # (Cyl. 0-255)
> >-
> >

Now, if I do a -

 
$ vnconfig -u /dev/vn0c && echo "woohoo!"
vnconfig: VNIOCDETACH: Device not configured

$ vnconfig -u /dev/vn0 && echo "woohoo!"
woohoo!


> >...
> >
> >
> >The vn device _is_ configured but not useable via /dev/vn0[abc..z]
> >
> >??????
> >
> >Andrew.
> >



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to