Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2001 11:52:42 -0400 (EDT)
From:      Mike Barcroft <mike@q9media.com>
To:        Joerg Wunsch <joerg@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/i386/fdisk fdisk.c
Message-ID:  <200107071552.f67Fqgu15604@coffee.q9media.com>

next in thread | raw e-mail | index | archive | help
Joerg Wunsch <joerg@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107071552.f67Fqgu15604>