Date: Wed, 19 Nov 2003 11:51:38 +0200 From: Sheldon Hearn <sheldonh@starjuice.net> To: Wes Peters <wes@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/fsck_ffs setup.c Message-ID: <20031119095138.GA752@starjuice.net> In-Reply-To: <200311160710.hAG7AtRR047311@repoman.freebsd.org> References: <200311160710.hAG7AtRR047311@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On (2003/11/15 23:10), Wes Peters wrote: > FreeBSD src repository > > Modified files: > sbin/fsck_ffs setup.c > Log: > Catch and report on filesystems that were interrupted during newfs, > sporting the new 'BAD' magic number. Exit with a unique error code > (11) so callers who care about this can respond appropriately. Can you document this unique error code gracefully so that authors of such callers get clued in easily? Doing so will probably require choosing a reasonable, existing errno and documenting its return in the DIAGNOSTICS section of fsck_ffs(8). That's the first place I'd look for something like this if I were the author of a caller that cares. Ciao, Sheldon.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031119095138.GA752>