Date: Wed, 1 Dec 1999 16:26:19 -0500 (EST) From: Andrew Gallatin <gallatin@cs.duke.edu> To: freebsd-alpha@freebsd.org Cc: anderson@cs.duke.edu Subject: mount & friends broken in -current! Message-ID: <14405.37232.135805.78500@grasshopper.cs.duke.edu>
next in thread | raw e-mail | index | archive | help
If you build a kernel today, watch out! The latest changes to mount.h have broken mount & friends on alpha. Or at least their backwards/forwards compatability: pid 11 (fsck), uid 0: exited on signal 11 (core dumped) Segmentation fault - core dumped Unknown error in reboot Enter full pathname of shell or RETURN for /bin/sh: The following patch fixes it: Index: mount.h =================================================================== RCS file: /home/ncvs/src/sys/sys/mount.h,v retrieving revision 1.85 diff -u -c -r1.85 mount.h cvs diff: conflicting specifications of output style *** mount.h 1999/12/01 02:09:19 1.85 --- mount.h 1999/12/01 21:07:37 *************** *** 67,73 **** --- 67,78 ---- */ #define MFSNAMELEN 16 /* length of fs type name, including null */ + #ifdef __i386__ #define MNAMELEN 80 /* length of buffer for returned name */ + #endif + #ifdef __alpha__ + #define MNAMELEN 72 /* length of buffer for returned name */ + #endif struct statfs { long f_spare2; /* placeholder */ Cheers, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14405.37232.135805.78500>