Subject: Re: vnd...
To: Jason Thorpe <thorpej@CS.ORST.EDU>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
List: port-hp300
Date: 12/03/1994 22:54:22
> Hmm...'Cause the `mount' feature didn't work either...I dunno...Somethin' 
> seems screwey....

umm, first guess on this (i've not looked at it seriously, or tried
it) is that the 'export_args' part of the ufs_args struct is bogus.
you might want to bzero() the ufs_args struct.

of course, i think that having vnconfig mount things (or enable things
for swapping) is a bit hokey, for a couple of reasons:
	(1) it violates the typical UN*X "one tool, one job" breakdown
		of functionality
	(2) vnconfig always assumes they're UFSs.  While it's useful
		to be able to mount UFSs in files (c.f. the
		distribution build scripts!  8-), i've also done it
		with a few other FS types, including msdosfs's, and
		even cd9660, once.

in general, it seems to have vnconfig do these things is just ugly.
of course, vnconfig is ugly for other reasons... (for example,
requiring a file name argument for -u, even though it's not used
for anything, and, unless i'm mistaken, isn't even checked!!!)


vnconfig needs a fair bit of work, i think, some of which would
include careful application of pruning shears!  8-)


chris