Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 1999 10:13:50 -0500 (EST)
From:      Brian Feldman <green@unixhelp.org>
To:        hackers@FreeBSD.ORG
Subject:   Re: dd(1) seek/skip limited why?
Message-ID:  <Pine.BSF.4.05.9904031006360.6761-100000@janus.syracuse.net>
In-Reply-To: <Pine.BSF.4.05.9904021912290.95226-100000@janus.syracuse.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Apr 1999, Brian Feldman wrote:

>   Why are dd(1) seek and skip operations limited to INT_MAX? Is this for any
> real use, hysterical raisins, or just because noone cares? It's very useful
> to allow larger seeks/skips, and I've made the modifications to do so (very
> little, actually), but I wonder if we actually WANT this limitation... Do we?
> 
>  Brian Feldman                _ __ ___ ____  ___ ___ ___  
>  green@unixhelp.org                _ __ ___ | _ ) __|   \ 
>      FreeBSD: The Power to Serve!      _ __ | _ \__ \ |) |
>          http://www.freebsd.org           _ |___/___/___/ 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 

  Also, I find that dd(1) refuses to lseek for the skip operation (pos_in) on
a cdev, even though it certainly does seem to work on all that I've tried
except sndstat... Now I could have dd(1) work around this if lseek actually
worked correctly on these cdevs. However, lseek succeeds on devices that
cannot be seeked (joy0, sndstat, etc). Am I the only one who thinks this is
wrong?

 Brian Feldman                _ __ ___ ____  ___ ___ ___  
 green@unixhelp.org                _ __ ___ | _ ) __|   \ 
     FreeBSD: The Power to Serve!      _ __ | _ \__ \ |) |
         http://www.freebsd.org           _ |___/___/___/ 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904031006360.6761-100000>