Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2002 03:56:18 -0500
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/mdconfig mdconfig.c
Message-ID:  <20020321035618.U56122@espresso.q9media.com>
In-Reply-To: <711.1016700265@critter.freebsd.dk>; from phk@critter.freebsd.dk on Thu, Mar 21, 2002 at 09:44:25AM %2B0100
References:  <200203210746.g2L7kAQ34183@freefall.freebsd.org> <711.1016700265@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp <phk@critter.freebsd.dk> writes:
> Wouldn't it make a LOT more sense to put the error in newfs ?

There is an error in newfs(8) also; it just isn't meaningful:
first cylinder group ran out of space
write error: 0
newfs: wtfs - writecombine: Read-only file system

The usual procedure for creating a memory disk is:
1. Create it with mdconfig(8)
2. Label it with disklabel(8)
3. Format it with newfs(8)

By having the error message in mdconfig(8), you avoid having to do
step 1, 2 and 3, only to find out you made an error at step 1.

Best regards,
Mike Barcroft

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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