Your message dated Tue, 08 Jan 2013 11:32:02 -0500
with message-id <[email protected]>
and subject line
has caused the Debian Bug report #591096,
regarding parted: misparses -1s on command line
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
591096: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591096
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: parted
Version: 2.3-1
Severity: normal
# parted /dev/sda print
Model: ATA WDC WD1002FBYS-0 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB grub2 bios_grub
2 2097kB 602MB 600MB boot
# parted /dev/sda mkpart foo ext2 602MB -1s
parted: invalid option -- '1'
Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]
#
The docs say that -1s means the end of the disk. Parted should
correctl parse this.
A workaround is writing
parted /dev/sda mkpart -- foo ext2 602MB -1s
works fine.
Greetings
Marc
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.34.1-zgws1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages parted depends on:
ii libblkid1 2.17.2-3.1 block device id library
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.48-2 The Linux Kernel Device Mapper use
ii libncurses5 5.7+20100313-2 shared libraries for terminal hand
ii libparted0debian1 2.3-1 The GNU Parted disk partitioning s
ii libreadline6 6.1-3 GNU readline and history libraries
ii libuuid1 2.17.2-3.1 Universally Unique ID library
parted recommends no packages.
Versions of packages parted suggests:
ii parted-doc 2.3-1 The GNU Parted disk partition resi
-- no debconf information
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is not a bug. The workaround you mentioned is the correct way to
do this with all programs that use the getopt library.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iQEcBAEBAgAGBQJQ7EoCAAoJEJrBOlT6nu75u1EH+QF4a+4F2FMUW4L5/Oq05jNy
Z7vCDhevWCFvMyX6I3SSRZbILq/4v4dcaC4jN2RUZWK8dF+hBg36tVtfnIiljW7O
SIc8RrIO1AquxmgnOW7DgnzrMMi3RQdwltRxZc7TYny5lsmlxLRozCbPm2QwVFis
+9Vu/CB4zkH0RLVJc2N7bNKD8xauMpeO7pNARW1pfsTeUKWlFETOhvdKzmfHHBU+
XEhFRXi7l4UgiheVMMiGyZlkFnFBG6uRhS5liDqT/6B5tNLNovstBKTko+Rcl3Au
fN4bDWE4d2dTkiq/2IK5jjC+LaR+VG4tAuWo/Tjk7WCeQIr0V8dh1mpPO7/isU0=
=s+lA
-----END PGP SIGNATURE-----
--- End Message ---