From owner-freebsd-bugs Mon May 4 06:42:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA29888 for freebsd-bugs-outgoing; Mon, 4 May 1998 06:42:33 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA29883 for ; Mon, 4 May 1998 06:42:30 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA16974; Mon, 4 May 1998 06:40:01 -0700 (PDT) Date: Mon, 4 May 1998 06:40:01 -0700 (PDT) Message-Id: <199805041340.GAA16974@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Subject: Re: bin/6509: 64bit offset support in dd Reply-To: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/6509; it has been noted by GNATS. From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) To: luoqi@chen.ml.org Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/6509: 64bit offset support in dd Date: 04 May 1998 15:33:39 +0200 Luoqi Chen writes: > Currently dd doesn't allow offset to be greater than INT_MAX > (2G for i386). This means on disks larger than 2G (which by the > way are true for almost all new disks sold nowadays) a substantial > portaion of the disk blocks are unreachable through dd. This patch > raises the limit to QUAD_MAX (2^63). Unfortunately, this is wrong, because it assumes that OFF_T is a quad, which it may or may not be. The Right Way is to define OFF_T_MAX and use that. -- Noone else has a .sig like this one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message