Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2001 07:34:48 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Dima Dorfman <dima@unixfreak.org>
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. 
Message-ID:  <18182.983169288@critter>
In-Reply-To: Your message of "Sun, 25 Feb 2001 15:29:07 PST." <20010225232907.977053E09@bazooka.unixfreak.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18182.983169288>