lkml.org 
[lkml]   [2008]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 66/67] aufs umount helper
    Date
    From: Junjiro Okajima <hooanon05@yahoo.co.jp>

    initial commit
    aufs umount helper

    Signed-off-by: Junjiro Okajima <hooanon05@yahoo.co.jp>
    ---
    Documentation/filesystems/aufs/umount.aufs | 33 ++++++++++++++++++++++++++++
    1 files changed, 33 insertions(+), 0 deletions(-)

    diff --git a/Documentation/filesystems/aufs/umount.aufs b/Documentation/filesystems/aufs/umount.aufs
    new file mode 100755
    index 0000000..f05a462
    --- /dev/null
    +++ b/Documentation/filesystems/aufs/umount.aufs
    @@ -0,0 +1,33 @@
    +#!/bin/sh -
    +
    +# Copyright (C) 2007 Junjiro Okajima
    +#
    +# This program, aufs is free software; you can redistribute it and/or modify
    +# it under the terms of the GNU General Public License as published by
    +# the Free Software Foundation; either version 2 of the License, or
    +# (at your option) any later version.
    +#
    +# This program is distributed in the hope that it will be useful,
    +# but WITHOUT ANY WARRANTY; without even the implied warranty of
    +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    +# GNU General Public License for more details.
    +#
    +# You should have received a copy of the GNU General Public License
    +# along with this program; if not, write to the Free Software
    +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    +
    +# $Id: umount.aufs,v 1.1 2007/01/15 04:58:42 sfjro Exp $
    +
    +#
    +# The main purpose of this script is calling auplink.
    +#
    +
    +PATH=/usr/bin:/usr/sbin:/bin:/sbin
    +export PATH
    +
    +set -e
    +#set -x; echo $0 $@
    +dev="$1"
    +shift
    +auplink "$dev" flush
    +exec umount -i $@ "$dev"
    --
    1.4.4.4


    \
     
     \ /
      Last update: 2008-05-16 17:25    [W:4.184 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site