Hello Thomas, Thomas Wei schuh: > recently util-linux 2.39 was released. > In this release the mount(8) command and libmount where changed to use > the new fd-based mount API found in newer kernels. ::: > Would it make sense from aufs side to update the docs to use the > equality sign based syntax? > It seems to be supported as well as the colon-based one.
Thanx for the report. Aufs is using colon in several options where an eaual sign specifies the branch attribute such as RW and ROs. Now I need to consider about all of them. Currently br:/upper=rw:/lower=ro is the only option to take multiple branch specifiers. Also this branch syntax appears in /sys/fs/aufs/si_XXX/br0, br1, ... br0: /upper=rw br1: /lower=ro I believe they should be same to the mount option syntax. "br=/upper=rw:/lower=ro" is not bad but I feel weird. If I change "/upper:rw' syntax, that is not bad. But what is good to delimit the branches? Additionally there are other options using colon, add:1:/middle=rw mod:/upper=ro append:/bottom=rr+wh prepend:/new_top=rw+icex Hmm, these options take only one branch specifier. It may be rather easier than 'br' option. But I need to consider. The option to remove a branch from the union is easy to replace. del:dir Other options using colon are not required to replace create=tdmfs:low[:second] create=mfs[:second] create=mfsrr:low[:second] create=pmfs[:second] create=pmfsrr:low[:second] I am still thinking... J. R. Okajima