Hi,

David:
> Why don't you just write a wrapper to the binaries that decides which aufs
> binary version to run according the kernel version?

It seems to be the best way for Yair.

The utilities in aufs1 and aufs2 have some incompatibilities, though the
basic feature is equivalent.

For instance, you should flush aufs pseudo-links at remount/umount time.
In aufs1, the script named /sbin/auplink handles it with using find and
aulchown binary.
In aufs2, auplink is re-written by C language and aulchown is
unused. The major difference is that aufs2 has an ioctl interface to
maintain the pseudo-links, and the auplink scirpt in aufs1 doesn't know.
If you use aufs1 auplink script for aufs2, you may break pseudo-link.
If you use aufs2 auplink binary for aufs1, it will exit in error.


J. R. Okajima


------------------------------------------------------------------------------

Reply via email to