Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 1997 23:24:38 -0600 (CST)
From:      "Mark W. Krentel" <krentel@cs.rice.edu>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Make World Failure (Still)
Message-ID:  <199703290524.XAA08927@asia.cs.rice.edu>

next in thread | raw e-mail | index | archive | help
> 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

A friend of mine cvsup'd RELENG_2_2 on Thursday and ran into the
same problem, so he did some digging through the source code.

Look in the CVS repository (under "Support" from www.freebsd.org).
Wednesday night, there was a change to /usr/src/sys/ufs/ffs/fs.h.
Look at entry 1.7.2.1 and the diffs to 1.7.  They include:

        long    fs_npsect;              /* # sectors/track including spares */
        long    fs_interleave;          /* hardware sector interleave */
        long    fs_trackskew;           /* sector 0 skew, per track */
-       long    fs_headswitch;          /* head switch time, usec */
-       long    fs_trkseek;             /* track-to-track seek, usec */
+/* fs_id takes the space of the unused fs_headswitch and fs_trkseek fields */
+        long   fs_id[2];               /* unique filesystem id */ 
 /* sizes determined by number of cylinder groups and their sizes */
        daddr_t fs_csaddr;              /* blk addr of cyl grp summary area */
        long    fs_cssize;              /* size of cyl grp summary area */

And you can see that the two names that dumpfs.c wants were changed.

Oh well, it happens, no reason to panic.  There's already an update
to dumpfs.c in current.  Hopefully it will find its way into 2.2 fairly
soon.

Mark Krentel 
Rice University



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703290524.XAA08927>