cvs commit: src/etc/mtree BSD.local.dist BSD.usr.dist

Andrey Chernov ache at nagual.pp.ru
Tue Mar 30 12:27:48 PST 2004


On Tue, Mar 30, 2004 at 11:27:58AM -0500, Brian F. Feldman wrote:
> Okay, now I understand what the situation is that would make this not work 
> well.  Why not just warn and ignore it, then?  

Warnings can be too verbose, in case too many dirs affected, so they can
hide real errors. In opposite situation, i.e. no warnings at all, some
errors could be skipped. So this thing needs a proper fix, not just a
workaround.

> The proper fix would be to 
> resolve, at the end of reading the mtree spec file, any type=link (when -L) 
> and fail if they cannot be dereferenced internally.

It can be kinda of two-passes mode, if -L is specified:

1st pass checks everything excepting type=link, in -L mode
2nd pass checks type=link only, in -P mode

And remember that both workaround and proper fix will make us very 
different from any other *BSD.

-- 
Andrey Chernov | http://ache.pp.ru/


More information about the cvs-src mailing list