"Fernando A. P. Gomes":
> [EMAIL PROTECTED] aufs]# 
> unionctl /mnt/aufs/filesystem --add --before /mnt/aufs/dir1 --mode ro /etc
> 
> [EMAIL PROTECTED] aufs]# unionctl /mnt/aufs/filesystem --list
>         /etc (r--)
>         /mnt/aufs/.changes (rw-)
>         /mnt/aufs/dir1 (r--)
> 
> /etc goes two position above dir1, when should go only one.

Thank you very much.
I will include this patch in next Monday release.

Junjiro Okajima

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

Index: util/unionctl
===================================================================
RCS file: /cvsroot/aufs/aufs/util/unionctl,v
retrieving revision 1.18
diff -u -p -r1.18 unionctl
--- util/unionctl       19 Feb 2007 03:26:18 -0000      1.18
+++ util/unionctl       20 Feb 2007 13:12:20 -0000
@@ -129,7 +129,6 @@ do_add()
        do
                case "$1" in
                --before)       bindex=`find_bindex "$2"`
-                               bindex=`expr $bindex - 1` || :
                                ;;
                --after)        bindex=`find_bindex "$2"`
                                bindex=`expr $bindex + 1` || :

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Reply via email to