From owner-freebsd-stable@FreeBSD.ORG Tue May 23 15:49:24 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A90D16A981 for ; Tue, 23 May 2006 15:49:24 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from mail.classis.ru (classis.ru [213.248.60.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80B2843D46 for ; Tue, 23 May 2006 15:49:23 +0000 (GMT) (envelope-from citrin@citrin.ru) Received: from mail.classis.ru (localhost [127.0.0.1]) by mail.classis.ru (Postfix) with ESMTP id 44B491229CC2 for ; Tue, 23 May 2006 19:49:22 +0400 (MSD) Received: from citrin.rambler.stack.net (citrin.rambler.stack.net [81.19.65.41]) by mail.classis.ru (Postfix) with ESMTP id 29F2A1222059 for ; Tue, 23 May 2006 19:49:22 +0400 (MSD) Date: Tue, 23 May 2006 19:49:21 +0400 From: Anton Yuzhaninov X-Mailer: The Bat! (v3.62.14) Professional Organization: Rambler X-Priority: 3 (Normal) Message-ID: <1084886706.20060523194921@citrin.ru> To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="----------BA1111181F4426B" X-AV-Checked: ClamAV using ClamSMTP on mail.classis.ru X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mount_mfs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 15:49:24 -0000 This is a cryptographically signed message in MIME format. ------------BA1111181F4426B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hello, How create memory disk from /etc/fstab in FreeBSD 6 without soft-updates? As I can see it impossible. flag -S not allowed in compatibility mode, but by default disk created with soft-updates turned on. I see to ways to fix this problem: 1. In compatibility mode turn off soft-updates --- mdmfs.c.orig Tue May 23 19:38:26 2006 +++ mdmfs.c Tue May 23 19:43:42 2006 @@ -133,6 +133,7 @@ if (compat) usage(); compat =3D true; + softdep =3D false; break; case 'c': argappend(&newfs_arg, "-c %s", optarg); 2. In compatibility mode allow -S option --- mdmfs.c.orig Tue May 23 19:38:26 2006 +++ mdmfs.c Tue May 23 19:45:02 2006 @@ -205,8 +205,6 @@ free(set); break; case 'S': - if (compat) - usage(); softdep =3D false; break; case 's': --=20 WBR, Anton Yuzhaninov. P. S. Benchmark show that memory disk mounted in async mode work up to 30% faster when soft-updates turned off ------------BA1111181F4426B--