From owner-cvs-sbin Tue Apr 29 02:09:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA06553 for cvs-sbin-outgoing; Tue, 29 Apr 1997 02:09:33 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA06526; Tue, 29 Apr 1997 02:09:13 -0700 (PDT) From: Doug Rabson Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA05468; Tue, 29 Apr 1997 02:09:10 -0700 (PDT) Date: Tue, 29 Apr 1997 02:09:10 -0700 (PDT) Message-Id: <199704290909.CAA05468@freefall.freebsd.org> To: CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-sbin@FreeBSD.org Subject: cvs commit: src/sbin/mount_union mount_union.c Sender: owner-cvs-sbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/29 02:09:09 Modified: sbin/mount_union mount_union.c Log: Use realpath() on the source as well as the target otherwise it can be impossible to unmount a union which was mounted with a relative pathname. Revision Changes Path 1.8 +8 -4 src/sbin/mount_union/mount_union.c From owner-cvs-sbin Tue Apr 29 02:10:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA06644 for cvs-sbin-outgoing; Tue, 29 Apr 1997 02:10:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA06620; Tue, 29 Apr 1997 02:10:15 -0700 (PDT) From: Doug Rabson Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA05550; Tue, 29 Apr 1997 02:10:12 -0700 (PDT) Date: Tue, 29 Apr 1997 02:10:12 -0700 (PDT) Message-Id: <199704290910.CAA05550@freefall.freebsd.org> To: CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-sbin@FreeBSD.org Subject: cvs commit: src/sbin/umount umount.c Sender: owner-cvs-sbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk dfr 97/04/29 02:10:12 Modified: sbin/umount umount.c Log: Don't try to look up unionfs' , keywords as hostnames. Revision Changes Path 1.6 +2 -2 src/sbin/umount/umount.c From owner-cvs-sbin Tue Apr 29 08:56:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA22316 for cvs-sbin-outgoing; Tue, 29 Apr 1997 08:56:59 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA22280; Tue, 29 Apr 1997 08:56:46 -0700 (PDT) From: Joerg Wunsch Received: (from joerg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA09489; Tue, 29 Apr 1997 08:56:41 -0700 (PDT) Date: Tue, 29 Apr 1997 08:56:41 -0700 (PDT) Message-Id: <199704291556.IAA09489@freefall.freebsd.org> To: CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-sbin@FreeBSD.org Subject: cvs commit: src/sbin/mount_cd9660 mount_cd9660.8 mount_cd9660.c Sender: owner-cvs-sbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk joerg 97/04/29 08:56:41 Modified: sbin/mount_cd9660 mount_cd9660.8 mount_cd9660.c Log: Userland part of ISO9660 multi-session support. mount_cd9660(8) will now by default mount the last data track (thus last session), as opposed to the very first session it has been mounting previously. This is consistent with the ISO9660 multi-session idea, and the way other operating systems are working. There's support to mount arbitrary sessions using the -s option. This way, you can simulate multi-session CDs on something like vn devices that don't support CDIO* ioctl commands. You can also force the historic behaviour with mount -t cd9660 -o -s=0 /dev/cd0a /cdrom Revision Changes Path 1.4 +22 -1 src/sbin/mount_cd9660/mount_cd9660.8 1.12 +81 -10 src/sbin/mount_cd9660/mount_cd9660.c From owner-cvs-sbin Tue Apr 29 10:48:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA28768 for cvs-sbin-outgoing; Tue, 29 Apr 1997 10:48:48 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA28706; Tue, 29 Apr 1997 10:46:35 -0700 (PDT) From: Garrett Wollman Received: (from wollman@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA10265; Tue, 29 Apr 1997 10:46:28 -0700 (PDT) Date: Tue, 29 Apr 1997 10:46:28 -0700 (PDT) Message-Id: <199704291746.KAA10265@freefall.freebsd.org> To: CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-sbin@FreeBSD.org Subject: cvs commit: src/sbin/dump Makefile dump.8 dumprmt.c main.c src/sbin/restore Makefile main.c Sender: owner-cvs-sbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk wollman 97/04/29 10:46:28 Modified: sbin/dump Makefile dump.8 dumprmt.c main.c sbin/restore Makefile main.c Log: Implement Kerberized rcmd for rdump/rrestore. This is lacking the options one would normally expect to set the realm, enable encryption, and whatnot, but this actually is able to contact the remote server, so at least it's a start. (As a bonus, the stripped static binary is unquestionably exportable.) Revision Changes Path 1.4 +7 -0 src/sbin/dump/Makefile 1.15 +7 -2 src/sbin/dump/dump.8 1.9 +15 -5 src/sbin/dump/dumprmt.c 1.14 +21 -4 src/sbin/dump/main.c 1.5 +7 -0 src/sbin/restore/Makefile 1.7 +17 -6 src/sbin/restore/main.c From owner-cvs-sbin Tue Apr 29 10:50:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA28854 for cvs-sbin-outgoing; Tue, 29 Apr 1997 10:50:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA28776; Tue, 29 Apr 1997 10:49:05 -0700 (PDT) From: Garrett Wollman Received: (from wollman@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA10296; Tue, 29 Apr 1997 10:48:59 -0700 (PDT) Date: Tue, 29 Apr 1997 10:48:59 -0700 (PDT) Message-Id: <199704291748.KAA10296@freefall.freebsd.org> To: CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-sbin@FreeBSD.org Subject: cvs commit: src/sbin/restore restore.8 Sender: owner-cvs-sbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk wollman 97/04/29 10:48:59 Modified: sbin/restore restore.8 Log: Document -k flag here, too. Revision Changes Path 1.11 +12 -6 src/sbin/restore/restore.8 From owner-cvs-sbin Tue Apr 29 13:22:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA08034 for cvs-sbin-outgoing; Tue, 29 Apr 1997 13:22:50 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id NAA07974; Tue, 29 Apr 1997 13:22:15 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA29960; Tue, 29 Apr 1997 22:22:13 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id WAA05207; Tue, 29 Apr 1997 22:16:19 +0200 (MET DST) Message-ID: <19970429221619.KD35674@uriah.heep.sax.de> Date: Tue, 29 Apr 1997 22:16:19 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: wollman@freefall.FreeBSD.ORG (Garrett Wollman) Cc: CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-sbin@FreeBSD.org Subject: Re: cvs commit: src/sbin/dump Makefile dump.8 dumprmt.c main.c src/sbin/restore Makefile main.c References: <199704291746.KAA10265@freefall.freebsd.org> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199704291746.KAA10265@freefall.freebsd.org>; from Garrett Wollman on Apr 29, 1997 10:46:28 -0700 Sender: owner-cvs-sbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Garrett Wollman wrote: > Implement Kerberized rcmd for rdump/rrestore. I would have loved to see the rcmd stuff isolated, so you could setup rsh/kerberized rsh/ssh/whatever as the transport from the environment. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-sbin Tue Apr 29 14:21:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA11651 for cvs-sbin-outgoing; Tue, 29 Apr 1997 14:21:38 -0700 (PDT) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id OAA11606; Tue, 29 Apr 1997 14:21:03 -0700 (PDT) Received: from rover.village.org [127.0.0.1] by rover.village.org with esmtp (Exim 1.60 #1) id 0wMKK9-00025M-00; Tue, 29 Apr 1997 15:20:33 -0600 To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: cvs commit: src/sbin/dump Makefile dump.8 dumprmt.c main.c src/sbin/restore Makefile main.c Cc: wollman@freefall.FreeBSD.ORG (Garrett Wollman), CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-sbin@freebsd.org In-reply-to: Your message of "Tue, 29 Apr 1997 22:16:19 +0200." <19970429221619.KD35674@uriah.heep.sax.de> References: <19970429221619.KD35674@uriah.heep.sax.de> <199704291746.KAA10265@freefall.freebsd.org> Date: Tue, 29 Apr 1997 15:20:33 -0600 From: Warner Losh Message-Id: Sender: owner-cvs-sbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <19970429221619.KD35674@uriah.heep.sax.de> J Wunsch writes: : I would have loved to see the rcmd stuff isolated, so you could setup : rsh/kerberized rsh/ssh/whatever as the transport from the environment. Ditto. And there is even an function in the rdist tree that does this already. At least that's what the comments said in a file that I was looking at earlier today (grep for gethostbyname). If you do, however, you'll need to make it non-fatal to set socket options, plus one or two other changes that OpenBSD had to do when they did this. Warner From owner-cvs-sbin Tue Apr 29 22:48:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA06759 for cvs-sbin-outgoing; Tue, 29 Apr 1997 22:48:50 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA06723; Tue, 29 Apr 1997 22:48:25 -0700 (PDT) From: Michael Smith Received: (from msmith@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA00671; Tue, 29 Apr 1997 22:48:24 -0700 (PDT) Date: Tue, 29 Apr 1997 22:48:24 -0700 (PDT) Message-Id: <199704300548.WAA00671@freefall.freebsd.org> To: CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-sbin@FreeBSD.org Subject: cvs commit: src/sbin/mount getmntopts.c Sender: owner-cvs-sbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk msmith 97/04/29 22:48:24 Modified: sbin/mount getmntopts.c Log: Fix parsing of mount options with '=' in their name. PR: bin/3027 Submitted by: Louis Mamakos Revision Changes Path 1.5 +1 -1 src/sbin/mount/getmntopts.c From owner-cvs-sbin Wed Apr 30 13:09:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA15099 for cvs-sbin-outgoing; Wed, 30 Apr 1997 13:09:30 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA15085; Wed, 30 Apr 1997 13:09:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id LAA06825 ; Wed, 30 Apr 1997 11:40:18 -0700 (PDT) From: pst@freefall.FreeBSD.ORG Received: (from pst@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA06678; Wed, 30 Apr 1997 11:40:14 -0700 (PDT) Date: Wed, 30 Apr 1997 11:40:14 -0700 (PDT) Message-Id: <199704301840.LAA06678@freefall.freebsd.org> To: CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-sbin@freebsd.org Subject: cvs commit: src/sbin/mountd mountd.c Sender: owner-cvs-sbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk pst 97/04/30 11:40:13 Modified: sbin/mountd mountd.c Log: Back out msmith's recent commit which breaks using symbolic names for netmasks. Instead, reverse the order of the testing, so if a symbolic name starts with a digit, we'll see if we can make a network address out of it first. If that fails, then we'll call getnet... Revision Changes Path 1.21 +5 -6 src/sbin/mountd/mountd.c From owner-cvs-sbin Wed Apr 30 19:45:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA01961 for cvs-sbin-outgoing; Wed, 30 Apr 1997 19:45:54 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA01924; Wed, 30 Apr 1997 19:45:48 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id LAA06887 ; Wed, 30 Apr 1997 11:41:32 -0700 (PDT) From: pst@freefall.FreeBSD.ORG Received: (from pst@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA06729; Wed, 30 Apr 1997 11:41:27 -0700 (PDT) Date: Wed, 30 Apr 1997 11:41:27 -0700 (PDT) Message-Id: <199704301841.LAA06729@freefall.freebsd.org> To: CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-sbin@freebsd.org Subject: cvs commit: src/sbin/mountd mountd.c Sender: owner-cvs-sbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk pst 97/04/30 11:41:27 Branch: sbin/mountd RELENG_2_2 Modified: sbin/mountd mountd.c Log: Merge from head Revision Changes Path 1.11.2.5 +5 -6 src/sbin/mountd/mountd.c From owner-cvs-sbin Wed Apr 30 19:53:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA03149 for cvs-sbin-outgoing; Wed, 30 Apr 1997 19:53:39 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA03141; Wed, 30 Apr 1997 19:53:28 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id MAA02164; Thu, 1 May 1997 12:23:26 +0930 (CST) From: Michael Smith Message-Id: <199705010253.MAA02164@genesis.atrad.adelaide.edu.au> Subject: Re: cvs commit: src/sbin/mountd mountd.c In-Reply-To: <199704301840.LAA06678@freefall.freebsd.org> from "pst@freefall.FreeBSD.ORG" at "Apr 30, 97 11:40:14 am" To: pst@freefall.FreeBSD.ORG Date: Thu, 1 May 1997 12:23:25 +0930 (CST) Cc: CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-sbin@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk pst@freefall.FreeBSD.ORG stands accused of saying: > pst 97/04/30 11:40:13 > > Modified: sbin/mountd mountd.c > Log: > Back out msmith's recent commit which breaks using symbolic names for netmasks. You can do this? I realise it's technically achievable, but the concept is somewhat mindboggling. Who is the DNS primary for 255.255.255.0? -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-cvs-sbin Thu May 1 05:30:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA21594 for cvs-sbin-outgoing; Thu, 1 May 1997 05:30:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA21545; Thu, 1 May 1997 05:30:04 -0700 (PDT) From: Doug Rabson Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA01532; Thu, 1 May 1997 05:30:03 -0700 (PDT) Date: Thu, 1 May 1997 05:30:03 -0700 (PDT) Message-Id: <199705011230.FAA01532@freefall.freebsd.org> To: CVS-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-sbin@FreeBSD.org Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c Sender: owner-cvs-sbin@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk dfr 97/05/01 05:30:02 Modified: sbin/mount_nfs mount_nfs.c Log: Test both the NFS and MOUNT protocols for v3 support before allowing a v3 mount. It is possible to have v3 MOUNT but only v2 NFS, for instance for a custom user-mode server like CFS. Reviewed by: "Louis A. Mamakos" Revision Changes Path 1.22 +61 -1 src/sbin/mount_nfs/mount_nfs.c From owner-cvs-sbin Thu May 1 08:16:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA28789 for cvs-sbin-outgoing; Thu, 1 May 1997 08:16:17 -0700 (PDT) Received: from precipice.shockwave.com (ppp-206-170-5-172.rdcy01.pacbell.net [206.170.5.172]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA28775; Thu, 1 May 1997 08:16:10 -0700 (PDT) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.8.5/8.7.3) with ESMTP id IAA18900; Thu, 1 May 1997 08:15:19 -0700 (PDT) Message-Id: <199705011515.IAA18900@precipice.shockwave.com> To: Michael Smith cc: CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-sbin@freebsd.org Subject: Re: cvs commit: src/sbin/mountd mountd.c In-reply-to: Your message of "Thu, 01 May 1997 12:23:25 +0930." <199705010253.MAA02164@genesis.atrad.adelaide.edu.au> Date: Thu, 01 May 1997 08:15:19 -0700 From: Paul Traina Sender: owner-cvs-sbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Go read getnetbydns(). and rfc1101 ; RFC1101 encoding of network information jnx-net PTR 0.169.197.208.in-addr.arpa. A 208.197.169.0 jnx-mask PTR 0.255.255.255.in-addr.arpa. A 255.255.255.0 From: Michael Smith Subject: Re: cvs commit: src/sbin/mountd mountd.c pst@freefall.FreeBSD.ORG stands accused of saying: > pst 97/04/30 11:40:13 > > Modified: sbin/mountd mountd.c > Log: > Back out msmith's recent commit which breaks using symbolic names for net >>masks. You can do this? I realise it's technically achievable, but the concept is somewhat mindboggling. Who is the DNS primary for 255.255.255.0? -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-cvs-sbin Thu May 1 20:08:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA07428 for cvs-sbin-outgoing; Thu, 1 May 1997 20:08:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA07371; Thu, 1 May 1997 20:08:11 -0700 (PDT) From: Warner Losh Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA06796; Thu, 1 May 1997 20:08:05 -0700 (PDT) Date: Thu, 1 May 1997 20:08:05 -0700 (PDT) Message-Id: <199705020308.UAA06796@freefall.freebsd.org> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/i386/fdisk fdisk.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/05/01 20:08:05 Modified: sbin/i386/fdisk fdisk.c Log: OpenBSD uses ID 0xa6 for its partitions on i386, arc and others that need a BIOS-like partition table. We now detect this correctly and print the right thing. Obtained from: Value obtained from OpenBSD sources. Revision Changes Path 1.14 +1 -0 src/sbin/i386/fdisk/fdisk.c From owner-cvs-sbin Thu May 1 21:18:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA10514 for cvs-sbin-outgoing; Thu, 1 May 1997 21:18:59 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA10509; Thu, 1 May 1997 21:18:49 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id NAA12386; Fri, 2 May 1997 13:48:35 +0930 (CST) From: Michael Smith Message-Id: <199705020418.NAA12386@genesis.atrad.adelaide.edu.au> Subject: Re: cvs commit: src/sbin/mountd mountd.c In-Reply-To: <199705011515.IAA18900@precipice.shockwave.com> from Paul Traina at "May 1, 97 08:15:19 am" To: pst@shockwave.com (Paul Traina) Date: Fri, 2 May 1997 13:48:35 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-sbin@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Paul Traina stands accused of saying: > Go read getnetbydns(). > and rfc1101 Please note in the context of this discussion that mountd uses getnetbyname(), which is specifically documented to only search /etc/networks. It does, of course, use the DNS. Perhaps the manpage should have been updated when its behaviour was changed? -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-cvs-sbin Fri May 2 09:40:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA09507 for cvs-sbin-outgoing; Fri, 2 May 1997 09:40:04 -0700 (PDT) Received: from precipice.shockwave.com (ppp-206-170-5-86.rdcy01.pacbell.net [206.170.5.86]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA09447; Fri, 2 May 1997 09:39:54 -0700 (PDT) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.8.5/8.7.3) with ESMTP id JAA24530; Fri, 2 May 1997 09:38:52 -0700 (PDT) Message-Id: <199705021638.JAA24530@precipice.shockwave.com> To: Michael Smith cc: CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-sbin@freebsd.org Subject: Re: cvs commit: src/sbin/mountd mountd.c In-reply-to: Your message of "Fri, 02 May 1997 13:48:35 +0930." <199705020418.NAA12386@genesis.atrad.adelaide.edu.au> Date: Fri, 02 May 1997 09:38:52 -0700 From: Paul Traina Sender: owner-cvs-sbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk getnetbyname() calls one of 3 helper routines From: Michael Smith Subject: Re: cvs commit: src/sbin/mountd mountd.c Paul Traina stands accused of saying: > Go read getnetbydns(). > and rfc1101 Please note in the context of this discussion that mountd uses getnetbyname(), which is specifically documented to only search /etc/networks. It does, of course, use the DNS. Perhaps the manpage should have been updated when its behaviour was changed? -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-cvs-sbin Sat May 3 15:51:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA23065 for cvs-sbin-outgoing; Sat, 3 May 1997 15:51:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA23039; Sat, 3 May 1997 15:50:44 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA25719; Sat, 3 May 1997 15:50:23 -0700 (PDT) Date: Sat, 3 May 1997 15:50:23 -0700 (PDT) Message-Id: <199705032250.PAA25719@freefall.freebsd.org> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ifconfig ifconfig.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/05/03 15:50:23 Modified: sbin/ifconfig ifconfig.c Log: My attempt at merging in NetBSD's IFMEDIA support turned out to be not so simple.. Along the way I couldn't stand the odour of some of the things I had previously done here and started cleaning up. It turned out to be pretty major.. Among the cleanups and changes: it now uses getopt, so things like ifconfig -a -u now work. It used to be a strcmp against "-au" etc before. ifconfig -l added. (prints a list of interface names, suitable for /etc/rc usage) new commands: media, mediaopt, -mediaopt (requires driver support) new option: -m - shows all available media options the driver supports. cleanup the sysctl() parsing loop somewhat. options parsing works a bit better. ifconfig(8) update to follow Obtained from: Mostly from NetBSD, but hacked around a lot to get it to fit in our ifconfig. Revision Changes Path 1.25 +563 -57 src/sbin/ifconfig/ifconfig.c From owner-cvs-sbin Sat May 3 16:04:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA23615 for cvs-sbin-outgoing; Sat, 3 May 1997 16:04:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA23590; Sat, 3 May 1997 16:04:18 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA26000; Sat, 3 May 1997 16:03:56 -0700 (PDT) Date: Sat, 3 May 1997 16:03:56 -0700 (PDT) Message-Id: <199705032303.QAA26000@freefall.freebsd.org> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ifconfig ifconfig.8 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/05/03 16:03:56 Modified: sbin/ifconfig ifconfig.8 Log: Grab some of the NetBSD text for describing the new options and the media commands. Revision Changes Path 1.13 +66 -32 src/sbin/ifconfig/ifconfig.8 From owner-cvs-sbin Sat May 3 19:54:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA03026 for cvs-sbin-outgoing; Sat, 3 May 1997 19:54:03 -0700 (PDT) Received: from spinner.DIALix.COM (spinner.dialix.com [192.203.228.67]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA03012; Sat, 3 May 1997 19:53:47 -0700 (PDT) Received: from spinner.DIALix.COM (localhost.dialix.com.au [127.0.0.1]) by spinner.DIALix.COM with ESMTP id KAA00730; Sun, 4 May 1997 10:53:41 +0800 (WST) Message-Id: <199705040253.KAA00730@spinner.DIALix.COM> X-Mailer: exmh version 2.0gamma 1/27/96 To: Peter Wemm cc: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/ifconfig ifconfig.c In-reply-to: Your message of "Sat, 03 May 1997 15:50:23 MST." <199705032250.PAA25719@freefall.freebsd.org> Date: Sun, 04 May 1997 10:53:41 +0800 From: Peter Wemm Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote: > Modified: sbin/ifconfig ifconfig.c > Log: > My attempt at merging in NetBSD's IFMEDIA support turned out to be not > so simple.. Along the way I couldn't stand the odour of some of the > things I had previously done here and started cleaning up. It turned > out to be pretty major.. > > Among the cleanups and changes: > it now uses getopt, so things like ifconfig -a -u now work. It used to be > a strcmp against "-au" etc before. > ifconfig -l added. (prints a list of interface names, suitable for > /etc/rc usage) > new commands: media, mediaopt, -mediaopt (requires driver support) > new option: -m - shows all available media options the driver supports. > cleanup the sysctl() parsing loop somewhat. > options parsing works a bit better. > > ifconfig(8) update to follow > > Obtained from: Mostly from NetBSD, but hacked around a lot to get it > to fit in our ifconfig. > > Revision Changes Path > 1.25 +563 -57 src/sbin/ifconfig/ifconfig.c Sigh. I've just deleted the commit from the repository because I didn't notice that the NetBSD ifconfig.c file gained an extra copyright over the entire file by the person who included the ifmedia support (and they complained) Double sigh, now I'm going to have to start again from scratch.. :-( -Peter From owner-cvs-sbin Sat May 3 23:02:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA11079 for cvs-sbin-outgoing; Sat, 3 May 1997 23:02:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA11020; Sat, 3 May 1997 23:00:52 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA28247; Sat, 3 May 1997 23:00:28 -0700 (PDT) Date: Sat, 3 May 1997 23:00:28 -0700 (PDT) Message-Id: <199705040600.XAA28247@freefall.freebsd.org> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ifconfig ifconfig.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/05/03 23:00:28 Modified: sbin/ifconfig ifconfig.c Log: force null commit to skip over rev 1.25 so there's less cvs trouble Revision Changes Path 1.25 +1 -1 src/sbin/ifconfig/ifconfig.c From owner-cvs-sbin Sat May 3 23:16:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA11572 for cvs-sbin-outgoing; Sat, 3 May 1997 23:16:44 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA11508; Sat, 3 May 1997 23:15:12 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA28338; Sat, 3 May 1997 23:14:48 -0700 (PDT) Date: Sat, 3 May 1997 23:14:48 -0700 (PDT) Message-Id: <199705040614.XAA28338@freefall.freebsd.org> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ifconfig ifconfig.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/05/03 23:14:47 Modified: sbin/ifconfig ifconfig.c Log: Second try at cleanups and fixes (without if_media stuff for the moment) - parse command options using getopt for consistancy - sanitise the command parsing so that it's less like spaghetti - implement a "-l" option (idea from NetBSD - just list names) - attempt to clean up the sysctl parsing loop some more. It still needs to be taken out the back and shot though. - cut down on global usage, but there's a lot more scope for this. - make usage string a bit closer to reality (it was missing lots of things) Unfortunately, I did this for the second time but with the memory of the NetBSD version still recently in my mind. It's hard to redo simple changes or getopt stuff without making it look like what you've been working with a few hours ago. Revision Changes Path 1.26 +172 -104 src/sbin/ifconfig/ifconfig.c From owner-cvs-sbin Sat May 3 23:24:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA11820 for cvs-sbin-outgoing; Sat, 3 May 1997 23:24:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA11755; Sat, 3 May 1997 23:22:52 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA28431; Sat, 3 May 1997 23:22:28 -0700 (PDT) Date: Sat, 3 May 1997 23:22:28 -0700 (PDT) Message-Id: <199705040622.XAA28431@freefall.freebsd.org> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ifconfig ifmedia.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/05/03 23:22:27 Added: sbin/ifconfig ifmedia.c Log: Bring in the ifmedia components of NetBSD's ifconfig as a seperate file. Obtained from: Jason Thorpe via NetBSD From owner-cvs-sbin Sat May 3 23:30:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA12030 for cvs-sbin-outgoing; Sat, 3 May 1997 23:30:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA11920; Sat, 3 May 1997 23:28:10 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA28497; Sat, 3 May 1997 23:27:46 -0700 (PDT) Date: Sat, 3 May 1997 23:27:46 -0700 (PDT) Message-Id: <199705040627.XAA28497@freefall.freebsd.org> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ifconfig ifconfig.h Makefile ifconfig.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/05/03 23:27:45 Modified: sbin/ifconfig Makefile ifconfig.c Added: sbin/ifconfig ifconfig.h Log: Commit hooks for ifmedia support. It's optional in the Makefile, and can be trivially disabled. Revision Changes Path 1.10 +7 -1 src/sbin/ifconfig/Makefile 1.27 +25 -2 src/sbin/ifconfig/ifconfig.c