Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 1999 22:51:16 +1000 (EST)
From:      Iain Templeton <iaint@css.tuu.utas.edu.au>
To:        Bill Hussey <vfrboy@home.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Yo Quiero vnode_if.h
Message-ID:  <Pine.BSF.4.10.9908042244100.22249-100000@depravitas.tuu.utas.edu.au>
In-Reply-To: <37A68550.EE8B3BF@home.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Aug 1999, Bill Hussey wrote:

Hello Bill,

> Hello,
> 
>     So I've got here your 3.1 distribution set of FreeBSD.  Great book
> by the way.  Anway, I go to do my first ever kernel compile and sure
> enough I've got problems.  Running /usr/sbin/config goes fine, but when
> I go to do the make, /usr/src/sys/sys/vnode.h (line 457) and
> /usr/src/sys/isofs/cd9660/cd9660_bmap.c (line 43) both make references
> to a vnode_if.h   .  Needless to say, "No such file or directory
> *** Error code 1 "   yada yada ya.
> 
>     So I search the entire FreeBSD drive and all 4 FreeBSD disks looking
> for this file and ..... nothing, nowhere.  So, as it sits right now, I'm
> stuck.  If I really get bored tomorrow, maybe I'll see what happens if I
> comment out those include lines and compile it as is!? =)    Any help
> would be well appreciated.
> 
Hmm, can't help with that... although I doubt commenting it out will make
any difference, in fact it will probably make things worse.

You can find a version of /usr/src/sys/sys/vnode.h at
ftp://ftp.freebsd.org/pub/FreeBSD/branches/3.0-stable/src/sys/sys/vnode.h

although the is no telling what other files are missing. Also this file is
from 3.0-STABLE, which is several months newer than 3.1, so it might not
work either.

>     And ohh yes, one other thing.  I've got an internal, IDE Iomega Zip
> drive.  The drive is recognized by the default kernel and I can create
> the device file using MAKEDEV (/dev/wfd0).  When I go to mount it, the
> Zip drive goes active, like it's spinning up the disk, and then I get
> an, "incorrect super block" message.
> 
> cc69595-a# cd /dev
> cc69595-a# ./MAKEDEV wfd0
> cc69595-a# mount /dev/wfd0 /zip
> mount: /dev/wfd0 on /zip: incorrect super block
> cc69595-a#
> 
>     I'm 90% sure that this is because the Zip disks are Dos formatted,
> and as I read it in the book, there is no way to format an IDE drive
> except, as the book puts it, to format it with the BIOS.  What does this
> mean?  Is there any way I can get my Zip to drive to work and how can
> I format the disks?
> 
Well, you can read a MS-DOS formatted disk with

# mount -t msdos /dev/wfd0 /zip

and if you really want to format the ZIP disk as BSD you will need to look
at the disklabel and newfs commands. I'm happy just to keep them as DOS it
works quite well, and means I can use them at Uni.

Iain



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908042244100.22249-100000>