From owner-cvs-all Sat Jul 7 8:37:52 2001 Delivered-To: cvs-all@freebsd.org Received: from coffee.q9media.com (coffee.q9media.com [216.94.229.19]) by hub.freebsd.org (Postfix) with ESMTP id 920EB37B407; Sat, 7 Jul 2001 08:37:45 -0700 (PDT) (envelope-from mike@coffee.q9media.com) Received: (from mike@localhost) by coffee.q9media.com (8.11.2/8.11.2) id f67Fqgu15604; Sat, 7 Jul 2001 11:52:42 -0400 (EDT) (envelope-from mike) Date: Sat, 7 Jul 2001 11:52:42 -0400 (EDT) Message-Id: <200107071552.f67Fqgu15604@coffee.q9media.com> To: Joerg Wunsch From: Mike Barcroft Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/i386/fdisk fdisk.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joerg Wunsch writes: > joerg 2001/07/05 03:04:44 PDT > > Modified files: > sbin/i386/fdisk fdisk.c > Log: > Make open_disk() fail nicely upon encountering an ENOENT so to not > prematurely terminate the search for a usable disk. ENOENT is quite > normal in particulare now with the advent of devfs. > > While being here, also remove /dev/wd0 and /dev/od0 from the list of > disks to search since we don't have them anymore. > > MFC after: 1 week > > Revision Changes Path > 1.49 +5 -3 src/sbin/i386/fdisk/fdisk.c You forgot to update the manpage. Would you mind committing the patch at the end of this e-mail, also available at: http://testbed.q9media.net/freebsd/fdisk.20010707.patch Best regards, Mike Barcroft ----------------------------------------------------------------------- fdisk.20010707.patch o Update search order to current reality. o Fix sentence grammar. Index: fdisk/fdisk.8 =================================================================== RCS file: /home/ncvs/src/sbin/i386/fdisk/fdisk.8,v retrieving revision 1.26 diff -u -r1.26 fdisk.8 --- fdisk/fdisk.8 2001/04/08 18:41:22 1.26 +++ fdisk/fdisk.8 2001/07/07 15:28:07 @@ -127,11 +127,9 @@ .Pa /dev . If omitted, the disks .Ql ad0 , -.Ql da0 , and -.Ql od0 -are being searched in that order, until one is -being found responding. +.Ql da0 +will be searched in that order, until one responds. .Pp When called with no arguments, it prints the sector 0 partition table. An example follows: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message