[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
negative numbers in command line mode
From: |
michael.leu |
Subject: |
negative numbers in command line mode |
Date: |
Thu, 9 Aug 2012 15:40:44 +0000 |
Hi
I cannot get negative numbers to work in command line mode:
# ./parted -v
parted (GNU parted) 3.1
[...]
# ./parted /dev/cciss/c0d2 mkpart primary 1GiB -1s
/root/parted-3.1/parted/.libs/parted: invalid option -- '1'
Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]
# ./parted /dev/cciss/c0d2 mkpart primary 1GiB '-1s'
/root/parted-3.1/parted/.libs/parted: invalid option -- '1'
Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]
# ./parted /dev/cciss/c0d2 mkpart primary 1GiB \-1s
/root/parted-3.1/parted/.libs/parted: invalid option -- '1'
Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]
# ./parted /dev/cciss/c0d2 mkpart primary 1GiB --1s
/root/parted-3.1/parted/.libs/parted: unrecognized option '--1s'
Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]
# ./parted /dev/cciss/c0d2 mkpart primary 1GiB
End? -1s
-1s
Information: You may need to update /etc/fstab.
#
Any idea what I'm doing wrong? Or may I hereby report this as a a bug? ;)
Thanks,
Michael
- negative numbers in command line mode,
michael.leu <=