From owner-freebsd-current Tue Dec 22 10:55:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA02093 for freebsd-current-outgoing; Tue, 22 Dec 1998 10:55:11 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from knecht.Sendmail.ORG (knecht.sendmail.org [209.31.233.160]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA02075 for ; Tue, 22 Dec 1998 10:55:05 -0800 (PST) (envelope-from mckusick@flamingo.McKusick.COM) Received: from flamingo.McKusick.COM (root@flamingo.mckusick.com [209.31.233.178]) by knecht.Sendmail.ORG (8.9.2.Beta4/8.9.2.Beta4) with ESMTP id KAA11091; Tue, 22 Dec 1998 10:54:55 -0800 (PST) Received: from flamingo.McKusick.COM (mckusick@localhost [127.0.0.1]) by flamingo.McKusick.COM (8.8.5/8.8.5) with ESMTP id JAA15538; Tue, 22 Dec 1998 09:31:39 -0800 (PST) Message-Id: <199812221731.JAA15538@flamingo.McKusick.COM> To: "Jordan K. Hubbard" Subject: Re: I almost hate to suggest this... cc: Matthew Dillon , current@FreeBSD.ORG In-reply-to: Your message of "Sat, 19 Dec 1998 02:00:39 PST." <81864.914061639.1@zippy.cdrom.com> Date: Tue, 22 Dec 1998 09:31:39 -0800 From: Kirk McKusick Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Date: Sat, 19 Dec 1998 02:00:39 -0800 From: "Jordan K. Hubbard" Subject: Re: I almost hate to suggest this... To: Matthew Dillon cc: current@FreeBSD.ORG Subject: Re: I almost hate to suggest this... In-reply-to: Your message of "Sat, 19 Dec 1998 01:55:09 PST." <199812190955.BAA07155@apollo.backplane.com> Date: Sat, 19 Dec 1998 02:00:39 -0800 Message-ID: <81864.914061639@zippy.cdrom.com> From: "Jordan K. Hubbard" MIME-Version: 1.0 > When someone has time available, making a separate mount_ufs > and rewriting mount itself to always exec a sub-mount binary > would be even better. But as a poor-man's fix the above Hmmm. I always got the feeling that the original CSRG folk deliberately stuck "ufs mounting" into mount(8) so that one binary could be copied around easily for fixit purposes, ufs being the one fs that could be deemed somewhat in the "bootstrap" class and perhaps worthy of special treatment. Then again, maybe not, I'm just saying that this most obvious lack of orthogonality (not writing mount(8) as a minimal wrapper) may well have been deliberate. I've bcc'd somebody who might know the real story in any case. :) - Jordan The intent was to one day break ufs out of mount. If you look at the sources for mount, you will find mount.c and mount_ufs.c. I think that the day has certainly come to consider making the divide, but it should be done properly, not by creating a link. Properly means moving mount_ufs.c to its own directory and building and installing it in its own right. The mount program should have the code deleted that calls mount_ufs internally. The only reason it was not done earlier was that it was deemed easier to copy just one program around (mount) than two (mount and mount_ufs) when making changes to the way ufs was mounted. I think that those considerations have faded. Kirk McKusick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message