Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2001 17:41:24 +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:  <8220.983032884@critter>
In-Reply-To: Your message of "Thu, 22 Feb 2001 21:30:02 PST." <200102230530.f1N5U2c04134@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

> > "send patches" doesn't count as interested in your book ?  :-)
> 
> Fair enough.  See attached.  It implements the 'feature' feature (yes,
> it's called 'feature') of vnconfig in mdconfig.  I couldn't think of a
> better name, so I also called it 'feature'.

The real issue here is of course that I cannot mount a filesystem
which happens to live in a file, I can only mount disk devices.

If there are valid reasons for this, we should not hide the extra
gymnastics needed to circumvent this.

If there are no (longer ?) valid reasons for this we should fix (ie:
remove) the restriction rather than patch around it.

Regarding your patch:

I don't like it that much because in essence it amounts to:

	mdconfig bla bla -feature "execute this command afterwards"

Ie:

	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 ?

--
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?8220.983032884>