cvs commit: src/sbin/fsck_ffs setup.c
Sheldon Hearn
sheldonh at starjuice.net
Wed Nov 19 01:51:42 PST 2003
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.
More information about the cvs-src
mailing list