Date: Mon, 4 May 1998 06:40:01 -0700 (PDT) From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/6509: 64bit offset support in dd Message-ID: <199805041340.GAA16974@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <luoqi@chen.ml.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805041340.GAA16974>