tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: chfs support in makefs

On Tue, Apr 10, 2012 at 11:41:11AM +0200, Tamas Toth wrote:
> Hi,
> I added chfs support to makefs. It's a bit ugly, because I had to
> copy some parts of sys/vnode.h to chfs/mkfs_chfs.c. (Tools can't be
> compiled with if I include the sys/vnode.h.)
> Does anyone have a better solution to this problem and/or comments
> on the code or can I commit it?

sys/vnode.h should not be used to define the on-disk format of any file system.
everything it contains is for in-core use only.  chfs should provide its own
definition for anything that it wants to store on disk.


Home | Main Index | Thread Index | Old Index