From owner-cvs-sbin Sun Mar 23 12:08:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA25298 for cvs-sbin-outgoing; Sun, 23 Mar 1997 12:08:34 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA25285; Sun, 23 Mar 1997 12:08:29 -0800 (PST) Date: Sun, 23 Mar 1997 12:08:29 -0800 (PST) From: Guido van Rooij Message-Id: <199703232008.MAA25285@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys, cvs-sbin Subject: cvs commit: src/sbin/fsirand Makefile fsirand.8 fsirand.c src/sys/kern vfs_syscalls.c src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h src/sbin Makefile src/sbin/newfs Makefile mkfs.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/03/23 12:08:27 Modified: sbin Makefile sbin/newfs Makefile mkfs.c sys/kern vfs_syscalls.c sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h Added: sbin/fsirand Makefile fsirand.8 fsirand.c Log: Add generation number randomization. Newly created filesystems wil now automatically have random generation numbers. The kenel way of handling those also changed. Further it is advised to run fsirand on all your nfs exported filesystems. the code is mostly copied from OpenBSD, with the randomization chanegd to use /dev/urandom Reviewed by: Garrett Obtained from: OpenBSD Revision Changes Path 1.38 +1 -1 src/sbin/Makefile 1.5 +1 -1 src/sbin/newfs/Makefile 1.15 +38 -5 src/sbin/newfs/mkfs.c 1.61 +13 -1 src/sys/kern/vfs_syscalls.c 1.33 +3 -6 src/sys/ufs/ffs/ffs_alloc.c 1.51 +6 -7 src/sys/ufs/ffs/ffs_vfsops.c 1.11 +2 -3 src/sys/ufs/ffs/fs.h From owner-cvs-sbin Sun Mar 23 13:48:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA01435 for cvs-sbin-outgoing; Sun, 23 Mar 1997 13:48:57 -0800 (PST) Received: from sequent.kiae.su (sequent.kiae.su [193.125.152.6]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA01424; Sun, 23 Mar 1997 13:48:39 -0800 (PST) Received: by sequent.kiae.su id AA15643 (5.65.kiae-2 ); Mon, 24 Mar 1997 00:35:07 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Mon, 24 Mar 97 00:35:06 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id AAA00937; Mon, 24 Mar 1997 00:30:34 +0300 (MSK) Date: Mon, 24 Mar 1997 00:30:29 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Guido van Rooij Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org, Garrett Wollman Subject: Re: cvs commit: src/sbin/fsirand Makefile fsirand.8 fsirand.c src/sys/kern vfs_syscalls.c src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h src/sbin Makefile src/sbin/newfs Makefile mkfs.c In-Reply-To: <199703232008.MAA25285@freefall.freebsd.org> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 23 Mar 1997, Guido van Rooij wrote: > filesystems. the code is mostly copied from OpenBSD, with the randomization > chanegd to use /dev/urandom We need one /dev/random function in libc instead of all attempts to use /dev/urandom in various ways. Moreover, /dev/random can be used only for initial state table computing, not as random() call replacement due to 1) slowness of /dev/random device access 2) eating all true random bits which may be needed for other applications too. I probably will try to modify devsrandom() posted by Garrett to work with /dev/random, not with /dev/urandom... -- Andrey A. Chernov http://www.nagual.ru/~ache/ From owner-cvs-sbin Sun Mar 23 19:38:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA23126 for cvs-sbin-outgoing; Sun, 23 Mar 1997 19:38:18 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA23119; Sun, 23 Mar 1997 19:38:17 -0800 (PST) Date: Sun, 23 Mar 1997 19:38:17 -0800 (PST) From: Bruce Evans Message-Id: <199703240338.TAA23119@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/fsirand Makefile Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/03/23 19:38:17 Modified: sbin/fsirand Makefile Log: Changed MAN to MAN8 so that this builds. Revision Changes Path 1.2 +1 -1 src/sbin/fsirand/Makefile From owner-cvs-sbin Sun Mar 23 20:57:55 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA26202 for cvs-sbin-outgoing; Sun, 23 Mar 1997 20:57:55 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA26195; Sun, 23 Mar 1997 20:57:53 -0800 (PST) Date: Sun, 23 Mar 1997 20:57:53 -0800 (PST) From: Bruce Evans Message-Id: <199703240457.UAA26195@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin Makefile Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/03/23 20:57:52 Modified: sbin Makefile Log: Reactivated dumplfs and newlfs. Revision Changes Path 1.39 +2 -4 src/sbin/Makefile From owner-cvs-sbin Sun Mar 23 21:43:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA28121 for cvs-sbin-outgoing; Sun, 23 Mar 1997 21:43:21 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA28113; Sun, 23 Mar 1997 21:43:18 -0800 (PST) Date: Sun, 23 Mar 1997 21:43:18 -0800 (PST) From: Warner Losh Message-Id: <199703240543.VAA28113@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/disklabel disklabel.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/03/23 21:43:16 Branch: sbin/disklabel RELENG_2_1_0 Modified: sbin/disklabel disklabel.c Log: Use mkstemp rather than mktemp to prevent a small race. Obtained from: OpenBSD Revision Changes Path 1.5.4.4 +11 -11 src/sbin/disklabel/disklabel.c From owner-cvs-sbin Sun Mar 23 21:44:09 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA28226 for cvs-sbin-outgoing; Sun, 23 Mar 1997 21:44:09 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA28216; Sun, 23 Mar 1997 21:44:04 -0800 (PST) Date: Sun, 23 Mar 1997 21:44:04 -0800 (PST) From: Warner Losh Message-Id: <199703240544.VAA28216@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/disklabel disklabel.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/03/23 21:44:03 Branch: sbin/disklabel RELENG_2_2 Modified: sbin/disklabel disklabel.c Log: Use mkstemp rather than mktemp to prevent a small race. Obtained from: OpenBSD Revision Changes Path 1.9.2.1 +11 -11 src/sbin/disklabel/disklabel.c From owner-cvs-sbin Sun Mar 23 21:44:36 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA28289 for cvs-sbin-outgoing; Sun, 23 Mar 1997 21:44:36 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA28280; Sun, 23 Mar 1997 21:44:34 -0800 (PST) Date: Sun, 23 Mar 1997 21:44:34 -0800 (PST) From: Warner Losh Message-Id: <199703240544.VAA28280@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/disklabel disklabel.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/03/23 21:44:33 Modified: sbin/disklabel disklabel.c Log: Use mkstemp rather than mktemp to prevent a small race. Obtained from: OpenBSD Revision Changes Path 1.10 +11 -11 src/sbin/disklabel/disklabel.c From owner-cvs-sbin Sun Mar 23 21:53:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA29142 for cvs-sbin-outgoing; Sun, 23 Mar 1997 21:53:15 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA29134; Sun, 23 Mar 1997 21:53:13 -0800 (PST) Date: Sun, 23 Mar 1997 21:53:13 -0800 (PST) From: Warner Losh Message-Id: <199703240553.VAA29134@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/mount_portal mount_portal.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/03/23 21:53:13 Modified: sbin/mount_portal mount_portal.c Log: Fix small race window when creating portal socket. Obtained from: OpenBSD Revision Changes Path 1.11 +4 -1 src/sbin/mount_portal/mount_portal.c From owner-cvs-sbin Sun Mar 23 21:53:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA29214 for cvs-sbin-outgoing; Sun, 23 Mar 1997 21:53:46 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA29204; Sun, 23 Mar 1997 21:53:44 -0800 (PST) Date: Sun, 23 Mar 1997 21:53:44 -0800 (PST) From: Warner Losh Message-Id: <199703240553.VAA29204@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/mount_portal mount_portal.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/03/23 21:53:42 Branch: sbin/mount_portal RELENG_2_2 Modified: sbin/mount_portal mount_portal.c Log: YAMFC: 1.11 fix permission race Revision Changes Path 1.7.2.1 +4 -1 src/sbin/mount_portal/mount_portal.c From owner-cvs-sbin Mon Mar 24 07:43:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA14339 for cvs-sbin-outgoing; Mon, 24 Mar 1997 07:43:42 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA14324; Mon, 24 Mar 1997 07:43:40 -0800 (PST) Date: Mon, 24 Mar 1997 07:43:40 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199703241543.HAA14324@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/newfs mkfs.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/03/24 07:43:39 Modified: sbin/newfs mkfs.c Log: Cleanup STANDALONE stuff Not replace malloc() family for non-standalone variant Pay attention on malloc() family return code now Use srandomdev() now for RNG initialization Revision Changes Path 1.16 +43 -28 src/sbin/newfs/mkfs.c From owner-cvs-sbin Mon Mar 24 07:51:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA14854 for cvs-sbin-outgoing; Mon, 24 Mar 1997 07:51:13 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA14846; Mon, 24 Mar 1997 07:51:12 -0800 (PST) Date: Mon, 24 Mar 1997 07:51:12 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199703241551.HAA14846@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/fsirand fsirand.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/03/24 07:51:11 Modified: sbin/fsirand fsirand.c Log: Include missing Add missing RNG initialization Use srandomdev() for RNG initialization Revision Changes Path 1.2 +4 -0 src/sbin/fsirand/fsirand.c From owner-cvs-sbin Mon Mar 24 12:51:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA04933 for cvs-sbin-outgoing; Mon, 24 Mar 1997 12:51:05 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA04924; Mon, 24 Mar 1997 12:51:01 -0800 (PST) Date: Mon, 24 Mar 1997 12:51:01 -0800 (PST) From: Mike Pritchard Message-Id: <199703242051.MAA04924@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/fsirand fsirand.8 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/03/24 12:51:00 Modified: sbin/fsirand fsirand.8 Log: Typo police. Also update HISTORY to reflect when this first appeared in FreeBSD. Revision Changes Path 1.2 +6 -3 src/sbin/fsirand/fsirand.8 From owner-cvs-sbin Wed Mar 26 11:08:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA10401 for cvs-sbin-outgoing; Wed, 26 Mar 1997 11:08:08 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA10354; Wed, 26 Mar 1997 11:08:03 -0800 (PST) Date: Wed, 26 Mar 1997 11:08:03 -0800 (PST) From: Guido van Rooij Message-Id: <199703261908.LAA10354@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/fsirand fsirand.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/03/26 11:08:00 Modified: sbin/fsirand fsirand.c Log: Get rid of __progname. I thought I already did that... Revision Changes Path 1.3 +2 -4 src/sbin/fsirand/fsirand.c From owner-cvs-sbin Wed Mar 26 12:06:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA18148 for cvs-sbin-outgoing; Wed, 26 Mar 1997 12:06:17 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA18134; Wed, 26 Mar 1997 12:06:13 -0800 (PST) Date: Wed, 26 Mar 1997 12:06:13 -0800 (PST) From: Guido van Rooij Message-Id: <199703262006.MAA18134@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys, cvs-sbin Subject: cvs commit: src/sys/kern vfs_syscalls.c src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h src/sbin Makefile src/sbin/newfs Makefile mkfs.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/03/26 12:06:12 Branch: sbin RELENG_2_2 sbin/newfs RELENG_2_2 sys/ufs/ffs RELENG_2_2 Modified: sbin Makefile sbin/newfs Makefile mkfs.c sys/kern vfs_syscalls.c sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h Log: Backport of the fsirand stuff to 2.2. I'm sorry this is too late for 2.2.1 Revision Changes Path 1.34.2.1 +1 -1 src/sbin/Makefile 1.3.2.1 +1 -1 src/sbin/newfs/Makefile 1.11.2.1 +21 -5 src/sbin/newfs/mkfs.c 1.51.2.3 +13 -1 src/sys/kern/vfs_syscalls.c 1.26.2.1 +3 -6 src/sys/ufs/ffs/ffs_alloc.c 1.41.2.2 +6 -8 src/sys/ufs/ffs/ffs_vfsops.c 1.7.2.1 +3 -3 src/sys/ufs/ffs/fs.h From owner-cvs-sbin Wed Mar 26 12:28:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA20808 for cvs-sbin-outgoing; Wed, 26 Mar 1997 12:28:39 -0800 (PST) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [131.155.210.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA20787; Wed, 26 Mar 1997 12:28:29 -0800 (PST) Received: (from guido@localhost) by gvr.win.tue.nl (8.8.5/8.8.2) id VAA15659; Wed, 26 Mar 1997 21:28:24 +0100 (MET) From: Guido van Rooij Message-Id: <199703262028.VAA15659@gvr.win.tue.nl> Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h src/sbin Makefile src/sbin/newfs Makefile In-Reply-To: <199703262006.MAA18134@freefall.freebsd.org> from Guido van Rooij at "Mar 26, 97 12:06:13 pm" To: guido@freefall.freebsd.org (Guido van Rooij) Date: Wed, 26 Mar 1997 21:28:24 +0100 (MET) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, cvs-sbin@freefall.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 Guido van Rooij wrote: > guido 97/03/26 12:06:12 > > Branch: sbin RELENG_2_2 > sbin/newfs RELENG_2_2 > sys/ufs/ffs RELENG_2_2 > Modified: sbin Makefile > sbin/newfs Makefile mkfs.c > sys/kern vfs_syscalls.c > sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h > Log: > Backport of the fsirand stuff to 2.2. I'm sorry this is too late for 2.2.1 > YIKES: I forgot to cvs add fsirand. Somehow, however I cannot seem to do that. Can somebody please advise me on how a directory and files added on head can be merged into an older branch? -Guido From owner-cvs-sbin Wed Mar 26 12:29:18 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA21012 for cvs-sbin-outgoing; Wed, 26 Mar 1997 12:29:18 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA21002; Wed, 26 Mar 1997 12:29:16 -0800 (PST) Date: Wed, 26 Mar 1997 12:29:16 -0800 (PST) From: Guido van Rooij Message-Id: <199703262029.MAA21002@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys, cvs-sbin Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h src/sys/kern vfs_syscalls.c src/sbin Makefile src/sbin/newfs Makefile mkfs.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/03/26 12:29:15 Branch: sbin RELENG_2_1_0 sbin/newfs RELENG_2_1_0 sys/ufs/ffs RELENG_2_1_0 sys/kern RELENG_2_1_0 Modified: sbin Makefile sbin/newfs Makefile mkfs.c sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h sys/kern vfs_syscalls.c Log: Get in the fsirand stuff. Revision Changes Path 1.22.4.5 +1 -1 src/sbin/Makefile 1.2.6.1 +1 -1 src/sbin/newfs/Makefile 1.8.4.2 +21 -5 src/sbin/newfs/mkfs.c 1.14.4.1 +3 -6 src/sys/ufs/ffs/ffs_alloc.c 1.21.4.4 +6 -7 src/sys/ufs/ffs/ffs_vfsops.c 1.5.4.1 +3 -3 src/sys/ufs/ffs/fs.h 1.25.4.5 +13 -1 src/sys/kern/vfs_syscalls.c From owner-cvs-sbin Wed Mar 26 16:28:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA15758 for cvs-sbin-outgoing; Wed, 26 Mar 1997 16:28:05 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA15697; Wed, 26 Mar 1997 16:28:00 -0800 (PST) Date: Wed, 26 Mar 1997 16:28:00 -0800 (PST) From: Mike Pritchard Message-Id: <199703270028.QAA15697@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/fsirand fsirand.8 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/03/26 16:27:58 Modified: sbin/fsirand fsirand.8 Log: Typo fix (now how did that one get by me :-). Submitted by: Philippe Charnier Revision Changes Path 1.3 +1 -1 src/sbin/fsirand/fsirand.8 From owner-cvs-sbin Wed Mar 26 16:38:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA16696 for cvs-sbin-outgoing; Wed, 26 Mar 1997 16:38:33 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA16532; Wed, 26 Mar 1997 16:36:39 -0800 (PST) From: Mike Pritchard Message-Id: <199703270036.QAA16532@freefall.freebsd.org> Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h src/sbin Makefile src/sbin/newfs Make To: guido@gvr.win.tue.nl (Guido van Rooij) Date: Wed, 26 Mar 1997 16:36:38 -0800 (PST) Cc: guido@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org In-Reply-To: <199703262028.VAA15659@gvr.win.tue.nl> from "Guido van Rooij" at Mar 26, 97 09:28:24 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Guido van Rooij wrote: > > > Log: > > Backport of the fsirand stuff to 2.2. I'm sorry this is too late for 2.2.1 > > > > YIKES: I forgot to cvs add fsirand. Somehow, however I cannot seem to do that. > Can somebody please advise me on how a directory and files added on head > can be merged into an older branch? Since I had the stuff checked out to fix a typo in the man page, I just went ahead and did it for you :-). You still need to update the 2.2 Makefile to enable fsirand. In the future, if you have just added the file to -current, and then want to add it to another branch, do this: cvs add newfile.c cvs ci newfile.c cvs tag -b RELENG_2_2 newfile.c -- Mike Pritchard mpp@FreeBSD.org "Go that way. Really fast. If something gets in your way, turn" From owner-cvs-sbin Thu Mar 27 10:47:10 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA09202 for cvs-sbin-outgoing; Thu, 27 Mar 1997 10:47:10 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA09195; Thu, 27 Mar 1997 10:47:08 -0800 (PST) Date: Thu, 27 Mar 1997 10:47:08 -0800 (PST) From: Mike Pritchard Message-Id: <199703271847.KAA09195@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/fsirand fsirand.8 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/03/27 10:47:07 Modified: sbin/fsirand fsirand.8 Log: Update HISTORY to reflect that this will first appear in 2.2.5. Revision Changes Path 1.4 +1 -1 src/sbin/fsirand/fsirand.8 From owner-cvs-sbin Thu Mar 27 10:47:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA09288 for cvs-sbin-outgoing; Thu, 27 Mar 1997 10:47:47 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA09277; Thu, 27 Mar 1997 10:47:44 -0800 (PST) Date: Thu, 27 Mar 1997 10:47:44 -0800 (PST) From: Mike Pritchard Message-Id: <199703271847.KAA09277@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/fsirand fsirand.8 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/03/27 10:47:44 Branch: sbin/fsirand RELENG_2_2 Modified: sbin/fsirand fsirand.8 Log: YAMFC: update HISTORY. Revision Changes Path 1.3.2.1 +1 -1 src/sbin/fsirand/fsirand.8 From owner-cvs-sbin Thu Mar 27 11:34:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA13144 for cvs-sbin-outgoing; Thu, 27 Mar 1997 11:34:46 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA13135; Thu, 27 Mar 1997 11:34:41 -0800 (PST) Date: Thu, 27 Mar 1997 11:34:41 -0800 (PST) From: Guido van Rooij Message-Id: <199703271934.LAA13135@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/fsirand fsirand.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/03/27 11:34:40 Branch: sbin/fsirand RELENG_2_2 Modified: sbin/fsirand fsirand.c Log: There is no srandomdev() in 2.2 Revision Changes Path 1.3.2.1 +1 -2 src/sbin/fsirand/fsirand.c From owner-cvs-sbin Thu Mar 27 11:40:45 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA13894 for cvs-sbin-outgoing; Thu, 27 Mar 1997 11:40:45 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA13875; Thu, 27 Mar 1997 11:40:41 -0800 (PST) Date: Thu, 27 Mar 1997 11:40:41 -0800 (PST) From: Guido van Rooij Message-Id: <199703271940.LAA13875@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/fsirand fsirand.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/03/27 11:40:39 Branch: sbin/fsirand RELENG_2_1_0 Modified: sbin/fsirand fsirand.c Log: There was no srandomdev() in 2.1 Revision Changes Path 1.3.4.1 +1 -2 src/sbin/fsirand/fsirand.c From owner-cvs-sbin Thu Mar 27 11:45:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA14535 for cvs-sbin-outgoing; Thu, 27 Mar 1997 11:45:49 -0800 (PST) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [131.155.210.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA14488; Thu, 27 Mar 1997 11:45:30 -0800 (PST) Received: (from guido@localhost) by gvr.win.tue.nl (8.8.5/8.8.2) id UAA19278; Thu, 27 Mar 1997 20:45:20 +0100 (MET) From: Guido van Rooij Message-Id: <199703271945.UAA19278@gvr.win.tue.nl> Subject: Re: cvs commit: src/sys/kern vfs_syscalls.c src/sys/ufs/ffs ffs_alloc.c ffs_vfsops.c fs.h src/sbin Makefile src/sbin/newfs Make In-Reply-To: <199703270036.QAA16532@freefall.freebsd.org> from Mike Pritchard at "Mar 26, 97 04:36:38 pm" To: mpp@freefall.freebsd.org (Mike Pritchard) Date: Thu, 27 Mar 1997 20:45:20 +0100 (MET) Cc: guido@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, cvs-sbin@freefall.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 Mike Pritchard wrote: > > Since I had the stuff checked out to fix a typo in the man page, I just > went ahead and did it for you :-). You still need to update the 2.2 Makefile > to enable fsirand. ?? What Makefile are you talking about? sbin/Makefile was included in my patch. -Guido From owner-cvs-sbin Thu Mar 27 12:01:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA16397 for cvs-sbin-outgoing; Thu, 27 Mar 1997 12:01:29 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA16373; Thu, 27 Mar 1997 12:01:21 -0800 (PST) Date: Thu, 27 Mar 1997 12:01:21 -0800 (PST) From: Guido van Rooij Message-Id: <199703272001.MAA16373@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys, cvs-sbin Subject: cvs commit: src/sys/nfs nfs.h nfs_syscalls.c src/sbin/mountd mountd.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/03/27 12:01:12 Modified: sbin/mountd mountd.c sys/nfs nfs.h nfs_syscalls.c Log: Add code that will reject nfs requests in teh kernel from nonprivileged ports. This option will be automatically set/cleraed when mount is run without/with the -n option. Reviewed by: Doug Rabson Revision Changes Path 1.15 +14 -1 src/sbin/mountd/mountd.c 1.23 +3 -1 src/sys/nfs/nfs.h 1.20 +22 -1 src/sys/nfs/nfs_syscalls.c From owner-cvs-sbin Thu Mar 27 12:04:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA16921 for cvs-sbin-outgoing; Thu, 27 Mar 1997 12:04:23 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA16914; Thu, 27 Mar 1997 12:04:19 -0800 (PST) Date: Thu, 27 Mar 1997 12:04:19 -0800 (PST) From: Guido van Rooij Message-Id: <199703272004.MAA16914@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys, cvs-sbin Subject: cvs commit: src/sys/nfs nfs.h nfs_syscalls.c src/sbin/mountd mountd.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/03/27 12:04:18 Branch: sys/nfs RELENG_2_2 sbin/mountd RELENG_2_2 Modified: sys/nfs nfs.h nfs_syscalls.c sbin/mountd mountd.c Log: Get the privport stuff from current Revision Changes Path 1.18.2.2 +3 -1 src/sys/nfs/nfs.h 1.14.2.3 +22 -1 src/sys/nfs/nfs_syscalls.c 1.11.2.1 +14 -1 src/sbin/mountd/mountd.c From owner-cvs-sbin Fri Mar 28 05:07:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA09817 for cvs-sbin-outgoing; Fri, 28 Mar 1997 05:07:03 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA09808; Fri, 28 Mar 1997 05:07:01 -0800 (PST) Date: Fri, 28 Mar 1997 05:07:01 -0800 (PST) From: Peter Wemm Message-Id: <199703281307.FAA09808@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/dumpfs dumpfs.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/28 05:07:00 Modified: sbin/dumpfs dumpfs.c Log: Make this compile after the fsirand changes that deleted two fields. I was not sure whether the fs_id fields should be printed in the clear in case of sniffing over a network login etc. It might be an idea to have somebody with spare time go through and find any other missing fields that should be reported. Definate 2.2.x/2.1.x candidate since it breaks the build. Revision Changes Path 1.7 +2 -2 src/sbin/dumpfs/dumpfs.c From owner-cvs-sbin Fri Mar 28 19:33:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA01301 for cvs-sbin-outgoing; Fri, 28 Mar 1997 19:33:16 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA01294; Fri, 28 Mar 1997 19:33:14 -0800 (PST) Date: Fri, 28 Mar 1997 19:33:14 -0800 (PST) From: Warner Losh Message-Id: <199703290333.TAA01294@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/i386/mount_msdos mount_msdos.c src/sbin/i386/nextboot nextboot.c src/sbin/mount mount_ufs.c src/sbin/restore main.c src/sbin/adjkerntz adjkerntz.c src/sbin/disklabel disklabel.c src/sbin/dmesg dmesg.c src/sbin/dset dset.c src/sbin/dumpon dumpon.c src/sbin/ipfw ipfw.c src/sbin/modload modload.c src/sbin/modunload modunload.c src/sbin/mount_cd9660 mount_cd9660.c src/sbin/mount_ext2fs mount_ext2fs.c src/sbin/mount_lfs mount_lfs.c src/sbin/mount_nfs mount_nfs.c src/sbin/mount_null mount_null.c src/sbin/mount_portal mount_portal.c src/sbin/mount_std mount_std.c src/sbin/mount_umap mount_umap.c src/sbin/mount_union mount_union.c src/sbin/mountd mountd.c src/sbin/newfs newfs.c src/sbin/newlfs newfs.c src/sbin/nfsd nfsd.c src/sbin/nfsiod nfsiod.c src/sbin/quotacheck quotacheck.c src/sbin/reboot reboot.c src/sbin/routed main.c src/sbin/routed/rtquery rtquery.c src/sbin/savecore savecore.c src/sbin/scsi scsi.c src/sbin/shutdown shutdown.c src/sbin/slattach slattach.c src/sbin/startslip startslip.c src/sbin/swapon swapon.c src/sbin/umount umount.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/03/28 19:33:13 Modified: sbin/adjkerntz adjkerntz.c sbin/disklabel disklabel.c sbin/dmesg dmesg.c sbin/dset dset.c sbin/dumpon dumpon.c sbin/i386/mount_msdos mount_msdos.c sbin/i386/nextboot nextboot.c sbin/ipfw ipfw.c sbin/modload modload.c sbin/modunload modunload.c sbin/mount mount_ufs.c sbin/mount_cd9660 mount_cd9660.c sbin/mount_ext2fs mount_ext2fs.c sbin/mount_lfs mount_lfs.c sbin/mount_nfs mount_nfs.c sbin/mount_null mount_null.c sbin/mount_portal mount_portal.c sbin/mount_std mount_std.c sbin/mount_umap mount_umap.c sbin/mount_union mount_union.c sbin/mountd mountd.c sbin/newfs newfs.c sbin/newlfs newfs.c sbin/nfsd nfsd.c sbin/nfsiod nfsiod.c sbin/quotacheck quotacheck.c sbin/reboot reboot.c sbin/restore main.c sbin/routed main.c sbin/routed/rtquery rtquery.c sbin/savecore savecore.c sbin/scsi scsi.c sbin/shutdown shutdown.c sbin/slattach slattach.c sbin/startslip startslip.c sbin/swapon swapon.c sbin/umount umount.c Log: compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic. Revision Changes Path 1.19 +1 -1 src/sbin/adjkerntz/adjkerntz.c 1.11 +1 -1 src/sbin/disklabel/disklabel.c 1.7 +2 -2 src/sbin/dmesg/dmesg.c 1.9 +1 -1 src/sbin/dset/dset.c 1.5 +2 -2 src/sbin/dumpon/dumpon.c 1.9 +2 -2 src/sbin/i386/mount_msdos/mount_msdos.c 1.4 +1 -1 src/sbin/i386/nextboot/nextboot.c 1.42 +2 -2 src/sbin/ipfw/ipfw.c 1.18 +2 -2 src/sbin/modload/modload.c 1.6 +2 -2 src/sbin/modunload/modunload.c 1.8 +1 -1 src/sbin/mount/mount_ufs.c 1.11 +2 -2 src/sbin/mount_cd9660/mount_cd9660.c 1.8 +2 -2 src/sbin/mount_ext2fs/mount_ext2fs.c 1.9 +2 -2 src/sbin/mount_lfs/mount_lfs.c 1.18 +2 -2 src/sbin/mount_nfs/mount_nfs.c 1.9 +2 -2 src/sbin/mount_null/mount_null.c 1.12 +2 -2 src/sbin/mount_portal/mount_portal.c 1.7 +2 -2 src/sbin/mount_std/mount_std.c 1.11 +2 -2 src/sbin/mount_umap/mount_umap.c 1.7 +1 -1 src/sbin/mount_union/mount_union.c 1.16 +2 -2 src/sbin/mountd/mountd.c 1.16 +1 -1 src/sbin/newfs/newfs.c 1.5 +1 -1 src/sbin/newlfs/newfs.c 1.11 +1 -1 src/sbin/nfsd/nfsd.c 1.6 +1 -1 src/sbin/nfsiod/nfsiod.c 1.6 +1 -1 src/sbin/quotacheck/quotacheck.c 1.4 +1 -1 src/sbin/reboot/reboot.c 1.6 +1 -1 src/sbin/restore/main.c 1.5 +1 -1 src/sbin/routed/main.c 1.5 +1 -1 src/sbin/routed/rtquery/rtquery.c 1.18 +1 -1 src/sbin/savecore/savecore.c 1.15 +2 -2 src/sbin/scsi/scsi.c 1.6 +1 -1 src/sbin/shutdown/shutdown.c 1.26 +2 -2 src/sbin/slattach/slattach.c 1.23 +2 -2 src/sbin/startslip/startslip.c 1.5 +1 -1 src/sbin/swapon/swapon.c 1.5 +1 -1 src/sbin/umount/umount.c From owner-cvs-sbin Fri Mar 28 22:32:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA12742 for cvs-sbin-outgoing; Fri, 28 Mar 1997 22:32:33 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA12733; Fri, 28 Mar 1997 22:32:32 -0800 (PST) Date: Fri, 28 Mar 1997 22:32:32 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199703290632.WAA12733@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/dumpfs dumpfs.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 97/03/28 22:32:32 Branch: sbin/dumpfs RELENG_2_2 Modified: sbin/dumpfs dumpfs.c Log: Bring in Peter's fix from -current. Maybe this is "fixing" the problem with a pair of bolt cutters, but having the tree stand broken while everyone sits in a mexican standoff over it hardly wins any awards for elegance in operational methodology either. If a better fix comes along, it can be my most welcome guest.. Revision Changes Path 1.5.2.1 +2 -2 src/sbin/dumpfs/dumpfs.c From owner-cvs-sbin Sat Mar 29 12:14:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA10583 for cvs-sbin-outgoing; Sat, 29 Mar 1997 12:14:33 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA10576; Sat, 29 Mar 1997 12:14:31 -0800 (PST) Date: Sat, 29 Mar 1997 12:14:31 -0800 (PST) From: Mike Pritchard Message-Id: <199703292014.MAA10576@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/dumpfs dumpfs.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/03/29 12:14:30 Branch: sbin/dumpfs RELENG_2_1_0 Modified: sbin/dumpfs dumpfs.c Log: YAMF22: make dumpfs compile under 2.1 as well due to breakage from the fsirand changes. Revision Changes Path 1.3.6.1 +2 -2 src/sbin/dumpfs/dumpfs.c