Date: Mon, 22 Jul 1996 19:51:35 -0400 (EDT) From: rhh@ct.picker.com (Randall Hopper) To: questions@freebsd.org Subject: EXT2FS fix (2.2-960612-SNAP) Message-ID: <199607222351.TAA10966@elmer.picker.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607222351.TAA10966>
