-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Sebastian Schuberth on 5/6/2005 1:19 AM:
> dd if=test_unix.txt of=text.txt
>
> create an exact copy of "test_unix.txt"?
If you are interested, try the coreutils-5.3.0-6 test release (in setup,
you have to specifically request the Exp rad
On May 12 07:25, Eric Blake wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> According to Christopher Faylor on 5/9/2005 8:57 AM:
> >
> > As one of the project leads, I am formally asking you to make dd default
> > to binary behavior.
>
> With a request like that, you've got it! Is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Christopher Faylor on 5/9/2005 8:57 AM:
>
> As one of the project leads, I am formally asking you to make dd default
> to binary behavior.
With a request like that, you've got it! Is there any reason why
fcntl(fd, F_SETFL, O_TEXT) does
On Mon, May 09, 2005 at 06:52:29AM -0600, Eric Blake wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>According to Christopher Faylor on 5/8/2005 5:03 PM:
>>>Hmm, overriding the explicit advice of the system administrator? How
>>>common is it for file systems to be mounted in text mode?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Christopher Faylor on 5/8/2005 5:03 PM:
>>Hmm, overriding the explicit advice of the system administrator? How
>>common is it for file systems to be mounted in text mode? Why would
>>anyone do such a thing? If it's sufficiently rare, th
On Sun, May 08, 2005 at 08:02:30AM -0700, Paul Eggert wrote:
>Eric Blake <[EMAIL PROTECTED]> writes:
>>it now defaults to the underlying mount mode when the user does not
>>specify binary or text. In my opinion, dd should default to binary
>>when neither text nor binary is specified
>
>Hmm, overri
Paul Eggert wrote:
> Eric Blake <[EMAIL PROTECTED]> writes:
>
>>it now defaults to the underlying mount mode when the user does not
>>specify binary or text. In my opinion, dd should default to binary
>>when neither text nor binary is specified
>
> Hmm, overriding the explicit advice of the sys
Eric Blake <[EMAIL PROTECTED]> writes:
> it now defaults to the underlying mount mode when the user does not
> specify binary or text. In my opinion, dd should default to binary
> when neither text nor binary is specified
Hmm, overriding the explicit advice of the system administrator?
How commo
>>>2005-05-06 Paul Eggert <[EMAIL PROTECTED]>
>>>
>>> * NEWS: dd has new iflag= and oflag= flags "binary" and "text".
>>> * doc/coreutils.texi (dd invocation): Document it.
>>> * src/dd.c (flags, usage): Support it.
>
> That's okay for a start, but it now defaults to the underlying m
On Sat, May 07, 2005 at 09:14:17AM -0600, Eric Blake wrote:
>According to Paul Eggert on 5/6/2005 12:01 PM:
>> That looks pretty complicated. How about if we just rely on "open"
>> and "fcntl" to do the work? If they don't work, they should.
>>
>> I installed this into coreutils:
>>
>> 2005-05-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Paul Eggert on 5/6/2005 12:01 PM:
> That looks pretty complicated. How about if we just rely on "open"
> and "fcntl" to do the work? If they don't work, they should.
>
> I installed this into coreutils:
>
> 2005-05-06 Paul Eggert <[E
On Fri, May 06, 2005 at 06:52:15AM -0700, Brian Dessent wrote:
>Eric Blake wrote:
>
>> Predefining O_BINARY as the default input_flags and output_flags is a
>> stopgap measure. While it is fine for other programs, such as od, to
>
>Doesn't that overly complicate things? Seems to me that whenever
On Fri, May 06, 2005 at 07:27:39AM -0600, Eric Blake wrote:
>There is still the question on cygwin whether an unspecified
>text/binary mode should always default to binary, or should default to
>the underlying default for that particular mount.
I think that dd should always default to binary unles
Eric Blake wrote:
> Predefining O_BINARY as the default input_flags and output_flags is a
> stopgap measure. While it is fine for other programs, such as od, to
Doesn't that overly complicate things? Seems to me that whenever you
use dd you are interested in copying fixed record length data. I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Brian Dessent on 5/6/2005 2:06 AM:
> Sebastian Schuberth wrote:
>
>>my mounts are all text mode, i.e. the "Default Text File
>>Type" is "DOS". Nevertheless, shouldn't
>>
>>dd if=test_unix.txt of=text.txt
>>
>>create an exact copy of "test
Sebastian Schuberth wrote:
> my mounts are all text mode, i.e. the "Default Text File
> Type" is "DOS". Nevertheless, shouldn't
Yeah, that does seem a bit broken. You can solve that with something
like the following:
--- dd.c.orig 2005-05-06 01:03:01.12500 -0700
+++ dd.c2005-05-06
Hello,
my mounts are all text mode, i.e. the "Default Text File
Type" is "DOS". Nevertheless, shouldn't
dd if=test_unix.txt of=text.txt
create an exact copy of "test_unix.txt"? It seems DD doesn't open the
file in binary mode (like even VIM does), because
if "test_unix.txt" contains LF line ends, "
17 matches
Mail list logo