--- Robert Millan <[EMAIL PROTECTED]> wrote:
> No idea on what happened. But note that the GRUB documentation claims to
> support all *BSD.

The documentation is always out of date as well as many other projects.

> Is it ok to use #ifdefs in fsys_ffs.c? Perhaps a lot of code can be shared
> between both implementations.

Please don't do that. Using cpp conditionals is an evil of necessity really.
Such code is unreadble and unmaintainable.

You might think the difference between UFS and UFS2 is quite small, but that
won't be true in my experience. Suppose that UFS2 will be extended in the
future. Imagine that UFS3 will appear.

Just copy code and/or segregate common functions, if you want to reuse code in
this case.

Okuji


_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to