summaryrefslogtreecommitdiffstats
path: root/bin/dd/args.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-03-05 19:35:51 +0000
committerphk <phk@FreeBSD.org>2004-03-05 19:35:51 +0000
commitd0818243a98d068bca04404ffdf26cdcfd64b0d0 (patch)
tree255c7e9c97c457694b6ee81156e5b2ffe6ab693b /bin/dd/args.c
parent99a4684d724673ae90d63adc80a14fa2b42d2bb5 (diff)
downloadFreeBSD-src-d0818243a98d068bca04404ffdf26cdcfd64b0d0.zip
FreeBSD-src-d0818243a98d068bca04404ffdf26cdcfd64b0d0.tar.gz
Teach dd(1) about parity bits.
Diffstat (limited to 'bin/dd/args.c')
-rw-r--r--bin/dd/args.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/dd/args.c b/bin/dd/args.c
index b629b3a..2b17f1e 100644
--- a/bin/dd/args.c
+++ b/bin/dd/args.c
@@ -299,6 +299,10 @@ static const struct conv {
{ "oldebcdic", C_EBCDIC, C_ASCII, a2e_32V },
{ "oldibm", C_EBCDIC, C_ASCII, a2ibm_32V },
{ "osync", C_OSYNC, C_BS, NULL },
+ { "pareven", C_PAREVEN, C_PARODD|C_PARSET|C_PARNONE, NULL},
+ { "parnone", C_PARNONE, C_PARODD|C_PARSET|C_PAREVEN, NULL},
+ { "parodd", C_PARODD, C_PAREVEN|C_PARSET|C_PARNONE, NULL},
+ { "parset", C_PARSET, C_PARODD|C_PAREVEN|C_PARNONE, NULL},
{ "sparse", C_SPARSE, 0, NULL },
{ "swab", C_SWAB, 0, NULL },
{ "sync", C_SYNC, 0, NULL },
OpenPOWER on IntegriCloud