bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dd tries to truncate devices


From: Jim Meyering
Subject: Re: dd tries to truncate devices
Date: 11 Jan 2001 00:36:29 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.95

Bernhard Rosenkraenzer <address@hidden> wrote:
| Some OSes, like linux 2.4.0, won't permit this.
| Details at
| http://boudicca.tux.org/hypermail/linux-kernel/latest/0857.html
| Patch attached.

Thanks for the report and patch, but 4.0.35 doesn't have that problem.
That bug was fixed for 4.0.33 by changing dd so that it still calls
ftruncate but no longer complains about a failure to truncate files
like /dev/fd0.

| --- fileutils-4.0.35/src/dd.c.trunc   Wed Jan 10 16:37:04 2001
| +++ fileutils-4.0.35/src/dd.c Wed Jan 10 16:39:12 2001
| @@ -1102,6 +1102,7 @@
...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]