]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Let xfs_admin read labels and uuids on mounted filesystems
authorEric Sandeen <sandeen@sgi.com>
Tue, 6 Nov 2001 22:00:03 +0000 (22:00 +0000)
committerEric Sandeen <sandeen@sgi.com>
Tue, 6 Nov 2001 22:00:03 +0000 (22:00 +0000)
db/xfs_admin.sh

index c516ae9f999b6e998ac36f55577ed6a00c25ab06..1d4749992ef6dc6710761f8419290bfc2a39b8b5 100755 (executable)
@@ -38,9 +38,9 @@ while getopts "fluL:U:" c
 do
        case $c in
        f)      OPTS=$OPTS" -f";;
-       l)      OPTS=$OPTS" -c label";;
+       l)      OPTS=$OPTS" -r -c label";;
        L)      OPTS=$OPTS" -c 'label "$OPTARG"'";;
-       u)      OPTS=$OPTS" -c uuid";;
+       u)      OPTS=$OPTS" -r -c uuid";;
        U)      OPTS=$OPTS" -c 'uuid "$OPTARG"'";;
        \?)     echo $USAGE 1>&2
                exit 2