Page MenuHomeFreeBSD

bin/dd: Add conv=direct
AbandonedPublic

Authored by imp on Jun 29 2018, 4:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 7:15 PM
Unknown Object (File)
Oct 6 2024, 6:48 AM
Unknown Object (File)
Oct 3 2024, 6:25 AM
Unknown Object (File)
Oct 1 2024, 11:03 AM
Unknown Object (File)
Sep 21 2024, 5:01 AM
Unknown Object (File)
Sep 19 2024, 2:31 PM
Unknown Object (File)
Sep 16 2024, 9:49 PM
Unknown Object (File)
Sep 1 2024, 12:59 AM

Details

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17722
Build 17524: arc lint + arc unit

Event Timeline

eadler added a subscriber: eadler.
eadler added inline comments.
bin/dd/dd.1
219

s/or/to/

This revision is now accepted and ready to land.Jun 29 2018, 4:12 PM

I think it might be better to have 3 conv types, IDIRECT, ODIRECT, and DIRECT==IDIRECT|ODIRECT. You may or may not want vm effects on specific files.

bin/dd/dd.1
219

This line reads ok to me, "to eliminate to reduce" would be wrong.

NetBSD and GNU instead have iflag= and oflag= operands that accept various open flags such as direct. I think that makes more sense, even though conv=notrunc could be considered to belong with oflag instead (but does not for historical reasons).

jilles requested changes to this revision.Jul 3 2018, 10:06 PM

iflag= and oflag= would be better than inventing something new.

This revision now requires changes to proceed.Jul 3 2018, 10:06 PM
linimon retitled this revision from Add conv=direct to bin/dd: Add conv=direct.Aug 2 2018, 10:06 PM