From owner-freebsd-bugs Sun Feb 25 22:34:43 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id 3623437B401 for ; Sun, 25 Feb 2001 22:34:39 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.1/8.11.1) with ESMTP id f1Q6YmM18184; Mon, 26 Feb 2001 07:34:48 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Dima Dorfman Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/25273: add fs type feature to vnconfig(8) to allow direct mount of iso images and co. In-Reply-To: Your message of "Sun, 25 Feb 2001 15:29:07 PST." <20010225232907.977053E09@bazooka.unixfreak.org> Date: Mon, 26 Feb 2001 07:34:48 +0100 Message-ID: <18182.983169288@critter> From: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <20010225232907.977053E09@bazooka.unixfreak.org>, Dima Dorfman write s: >> mdconfig -c -f mycd.iso -feature cd9660,/cdimg >> >> In my book that is not the UNIX way. The UNIX way is: >> >> mount -t cd9660 /dev/`mdconfig -c -f mycd.iso` /cdimg >> >> And you can do that without changing mdconfig... >> >> Comments ? > >Suppose I wanted to mount a swap-backed filesystem (e.g., what one >would normally do with MFS). The UNIX way would be to write a simple >script which ran mdconfig, disklabel, newfs, then mount, right? So >should every FreeBSD admin have to write this script themselves, or >should FreeBSD provide something to ease this task? No, it would be neat to include such a script in the system just like we did for burncd.sh and similar. >P.S. On a slightly unrelated note, do you have any plans to MFC the >new "singing and dancing" md to RELENG_4? If all you need someone to >do is confirm that it works and send you a diff, I can do that. I >think the earlier it's MFC'd the less outcry there will be when vn and >MFS meet their doom. I've not settled my mind on this yet. I'll have to see that I have all the necessary bits in 4.x before I try it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message