Skip to content

Commit f78e914

Browse files
committed
Possibilty to add extra options to blkdiscard command
1 parent 76b022f commit f78e914

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deployment/docker/scripts/blkdiscard.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
# Usage:
19-
# $ blkdiscard.sh
19+
# $ blkdiscard.sh <blkoptions extra options>
2020

2121
# Import common functions.
2222
. $(dirname "$0")/common.sh
@@ -31,4 +31,4 @@ fi
3131
validateBlockDevice
3232

3333
echo "Calling blkdiscard"
34-
/sbin/blkdiscard -v $LOCAL_PV_BLKDEVICE
34+
/sbin/blkdiscard $1 -v $LOCAL_PV_BLKDEVICE

0 commit comments

Comments
 (0)