From owner-freebsd-questions Mon Jul 22 17:03:10 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA23046 for questions-outgoing; Mon, 22 Jul 1996 17:03:10 -0700 (PDT) Received: from central.picker.com (central.picker.com [144.54.31.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA23039 for ; Mon, 22 Jul 1996 17:03:08 -0700 (PDT) Received: from ct.picker.com by central.picker.com with smtp (Smail3.1.28.1 #3) id m0uiUk4-0004rlC; Mon, 22 Jul 96 19:50 EDT Received: from elmer.picker.com ([144.54.57.34]) by ct.picker.com (4.1/SMI-4.1) id AA25762; Mon, 22 Jul 96 19:49:28 EDT Received: by elmer.picker.com (SMI-8.6/SMI-SVR4) id TAA10966; Mon, 22 Jul 1996 19:51:35 -0400 From: rhh@ct.picker.com (Randall Hopper) Message-Id: <199607222351.TAA10966@elmer.picker.com> Subject: EXT2FS fix (2.2-960612-SNAP) To: questions@freebsd.org Date: Mon, 22 Jul 1996 19:51:35 -0400 (EDT) Reply-To: rhh@ct.picker.com Organization: Picker International, CT Division X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Had some trouble mounting EXT2FS file systems from /etc/fstab and from the command line when options other than ro were specified (2.2-960612-SNAP). I looked into this and found the cause to be that an old mntopts.h (missing the new m_altloc field) exists in the sbin/mount_ext2fs directory, resulting in mismatched definitions between mount_ext2fs.o and getmntopts.o. Noticed this problem still exists in the -current tree. Looks like the old mnttab.h just needs deleted and mount_ext2fs.c revised (below). In case anyone else has hit this, the fix that worked for me is: - (cd /usr/src; untar ssbin.??) - cd sbin/mount_ext2fs - rm mnttab.h - edit mount_ext2fs.c and add ",0" to end of getmntopts()' argument list - make - mv mount_ext2fs /sbin Randall Hopper rhh@ct.picker.com