diff options
| author | Tom Grennan <tgrennan@io.vyatta.com> | 2007-12-13 18:21:38 -0800 | 
|---|---|---|
| committer | Tom Grennan <tgrennan@io.vyatta.com> | 2007-12-13 18:21:38 -0800 | 
| commit | c6a0c8078b8be141618fed1011229582f13ec30f (patch) | |
| tree | c3c926daeac802eb834e2d7b05eea1ee42fd2b09 /src/commit.c | |
| parent | 832dbf144bc019ec524e4163b716dd823ee26900 (diff) | |
| download | vyatta-cfg-c6a0c8078b8be141618fed1011229582f13ec30f.tar.gz vyatta-cfg-c6a0c8078b8be141618fed1011229582f13ec30f.zip | |
support aufs and unionfs
Diffstat (limited to 'src/commit.c')
| -rw-r--r-- | src/commit.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/commit.c b/src/commit.c index 3fa77c5..d0d2517 100644 --- a/src/commit.c +++ b/src/commit.c @@ -1318,8 +1318,8 @@ static int fin_commit(boolean ok)    static char format4[]="rm -rf %s/{.*,*} >&/dev/null ; /bin/true"; /*cdirp*/    static char format5[]="rm -rf %s/{.*,*} >&/dev/null ; /bin/true"; /*adirp*/    static char format6[]="mv -f %s/* -t %s";/*tmpp, adirp*/ -  static char format7[]="sudo mount -t unionfs -o dirs=%s=rw:%s=ro"  -    " unionfs %s"; /*cdirp, adirp, mdirp*/ +  static char format7[]="sudo mount -t $UNIONFS -o dirs=%s=rw:%s=ro"  +    " $UNIONFS %s"; /*cdirp, adirp, mdirp*/    int m_len = strlen(get_mdirp());     int t_len = strlen(get_tmpp());     int c_len = strlen(get_cdirp());  | 
