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)
Feb 20 2024, 2:48 AM
Unknown Object (File)
Feb 3 2024, 8:35 PM
Unknown Object (File)
Dec 22 2023, 9:47 PM
Unknown Object (File)
Oct 22 2023, 7:28 PM
Unknown Object (File)
Sep 16 2023, 12:07 PM
Unknown Object (File)
Sep 15 2023, 12:38 PM
Unknown Object (File)
Jun 27 2023, 6:52 PM
Unknown Object (File)
Jun 26 2023, 2:21 PM

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