Re: dd should be more aggressive about seeking
Jim Meyering <[email protected]>
| Newsgroups | gmane.comp.gnu.core-utils.bugs,gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the report and suggestion. The latest version of dd has a much better test, now. ftp://alpha.gnu.org/gnu/fetish/coreutils-4.5.3.tar.gz If you find a problem with the new version, please let us know. Castor Fu <[email protected]> wrote: > The following code in version 4.1 of fileutils dd seems overly aggressive. > It damns all character devices on all operating systems seems harsh. > > There should probably be a flag to ignore the buggy_lseek_support function, > or the testing should be done in a significantly more OS dependent way. > > As an example, on NetBSD's in-house dd, they test explicitly for being a pipe > by doing an lseek, and they also do an MTIOCGET to see if they are a tapedrive. ...