Date: Mon, 24 Mar 1997 19:54:45 +0200 (EET) From: mika ruohotie <bsdcur@shadows.aeon.net> To: current@freebsd.org Subject: Re: todays world... Message-ID: <199703241754.RAA03608@shadows.aeon.net> In-Reply-To: <199703241447.OAA01998@shadows.aeon.net> from mika ruohotie at "Mar 24, 97 04:47:03 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> ===> sbin/dumpfs
> cc -O2 -m486 -pipe -c /usr/src/sbin/dumpfs/dumpfs.c
> /usr/src/sbin/dumpfs/dumpfs.c: In function `dumpfs':
> /usr/src/sbin/dumpfs/dumpfs.c:150: structure has no member named `fs_headswitch'/usr/src/sbin/dumpfs/dumpfs.c:150: structure has no member named `fs_trkseek'
> *** Error code 1
>
> Stop.
>
> died.
>
> cvsup:ed from cvsup.internat.freebsd.org around 9:ish GMT
well...
*gasp*
i found an error and this was the fix i was able to figure easily, not
that i know it's the right one, but it might be the right one.
i guess there's first time for everything... =)
shadows# diff -u fs.h.orig fs.h
--- fs.h.orig Mon Mar 24 19:38:20 1997
+++ fs.h Mon Mar 24 19:41:03 1997
@@ -176,6 +176,8 @@
/* these are configuration parameters */
int32_t fs_minfree; /* minimum percentage of free blocks */
int32_t fs_rotdelay; /* num of ms for optimal next block */
+ int32_t fs_headswitch; /* dont expect me to know what i am */
+ int32_t fs_trkseek; /* actually doing, it might work tho */
int32_t fs_rps; /* disk revolutions per second */
/* these fields can be computed from the others */
int32_t fs_bmask; /* ``blkoff'' calc of blk offsets */
shadows#
after that it compiles... (ok, so it looks easy...) =)
oh, and i think i should've mentioned that's 3.0-CURRENT i am using, though
that this is current-list it doesnt mean it's obvious what i'd talk about.
mickey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703241754.RAA03608>
