From owner-freebsd-hackers Sat Feb 3 11:36:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 1B0A237B4EC; Sat, 3 Feb 2001 11:36:06 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f13Ja4G11258; Sat, 3 Feb 2001 11:36:04 -0800 (PST) (envelope-from dillon) Date: Sat, 3 Feb 2001 11:36:04 -0800 (PST) From: Matt Dillon Message-Id: <200102031936.f13Ja4G11258@earth.backplane.com> To: Dima Dorfman Cc: mi@aldan.algebra.com, deischen@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: mount_md (was: mdconfig config file (was: cvs commit: src/sys/i386/conf GENERIC)) References: <20010203042241.0A02C3E02@bazooka.unixfreak.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Some thoughts: : : - If you want softupdates, you need to specify the -S flag. Should : softupdates be the default? That's a hard one. Considering that people who have mfs in their fstab probably expect as little disk I/O as possible, softupdate sshould probably be enabled by default. : - To suppress the output of disklabel/newfs/etc., it closes fds 0-2. Is : this evil? Should I devise another method of doing this (something : like opening /dev/null and dup2'ing that fd to 0-2)? Yes, that is evil. opening and dup2()ing /dev/null to 0, 1, and 2 is the prefered method. : - Should there be an option to make use of md's autounit feature? I : don't think it will be very hard to implement, but I don't know how : useful it would be. Yes, I think this should be the default. My -current box is down at the moment so I can't test it immediately, but I looked at your code and it looks great! I think this will make using MD disks in -current as easy s using MFS disks was. -Matt :I think that's it. Comments? Suggestions? : :Thanks in advance : : Dima Dorfman : dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message