From owner-cvs-all Sun Mar 18 14:12:12 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D031037B71C; Sun, 18 Mar 2001 14:11:58 -0800 (PST) (envelope-from obrien@FreeBSD.org) Received: (from obrien@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2ILUBD04644; Sun, 18 Mar 2001 13:30:11 -0800 (PST) (envelope-from obrien) Message-Id: <200103182130.f2ILUBD04644@freefall.freebsd.org> From: "David E. O'Brien" Date: Sun, 18 Mar 2001 13:30:11 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libdisk blocks.c change.c chunk.c create_chunk.c disk.c disklabel.c libdisk.h rules.c write_disk.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG obrien 2001/03/18 13:30:11 PST Modified files: lib/libdisk blocks.c change.c chunk.c create_chunk.c disk.c disklabel.c libdisk.h rules.c write_disk.c Log: Libraries should _never_ call exit() themselves (or its alternate spelling `err()'). libdisk does! and additionally libdisk gets confused on Alpha disks with foreign disklabels, throws up its hands and exits. This is the cause of the "going no where without my init" install bug on the Alpha. So now on the Alpha, rather than call err(), we print the error string and continue processing. Submitted by: jkh Revision Changes Path 1.8 +6 -7 src/lib/libdisk/blocks.c 1.17 +1 -2 src/lib/libdisk/change.c 1.24 +8 -9 src/lib/libdisk/chunk.c 1.55 +5 -6 src/lib/libdisk/create_chunk.c 1.67 +10 -11 src/lib/libdisk/disk.c 1.6 +1 -2 src/lib/libdisk/disklabel.c 1.37 +9 -1 src/lib/libdisk/libdisk.h 1.19 +1 -2 src/lib/libdisk/rules.c 1.37 +1 -2 src/lib/libdisk/write_disk.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message