cvs commit: src/sys/sys mdioctl.h src/sys/dev/md md.c src/sbin/mdconfig mdconfig.8 mdconfig.c

Poul-Henning Kamp phk at
Wed Mar 10 13:15:13 PST 2004

In message <200403102109.i2AL96dn073169 at>, "Brian F. Feldman"

>Could you please implement an errx(3) for MD_ASYNC without MD_FORCE, or 
>something of that ilk?  Users who use anything other than mdconfig(8) for 
>leanring how to use mdconfig(8) could quite easily run across something like:
>	"Make sure to use -o async to get better performance."
>and shoot themselves in the foot, whereas if they saw:
>	"Make sure to use -o force -o async..."

mdconfig(8) is plenty dangerous as it is, obfuscating the arguments
is not an improvement for the marginal extra protection.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at 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.

More information about the cvs-all mailing list