[Bug 4616] New: dd: invalid number when too big
bugzilla at busybox.net
bugzilla at busybox.net
Wed Dec 14 17:12:22 UTC 2011
https://bugs.busybox.net/show_bug.cgi?id=4616
Summary: dd: invalid number when too big
Product: Busybox
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Standard Compliance
AssignedTo: unassigned at busybox.net
ReportedBy: mikolaj at kucharski.name
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
This is a report for busybox in RHEL 5.7 installer. As I think the issue is
more related to busybox than RHELs installer, I'm reporting it here.
Sorry I don't have access to newer version of busybox, to check does the issue
exist in newer versions.
When I supply to big number dd(1) command fails with error 'invalid number'
however it doesn't happen to dd(1) version from coreutils.
-sh-3.2# grep -e 'sda$' /proc/partitions
8 0 35566479 sda
-sh-3.2# dd --help
BusyBox v1.2.0 (2011.07.22-08:19+0000) multi-call binary
-sh-3.2# dd if=/dev/zero of=/dev/sda seek=36411452416 count=8622592 bs=1
dd: invalid number `36411452416'
I did some testing here, but not sure at what number exactly it fails:
-sh-3.2# dd if=/dev/zero of=/dev/sda seek=5000000000 count=0 bs=1
dd: invalid number `5000000000'
-sh-3.2# dd if=/dev/zero of=/dev/sda seek=4000000000 count=0 bs=1
0+0 records in
0+0 records out
-sh-3.2#
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list