OpenBSD CVS

CVS log for src/sbin/bioctl/bioctl.8


[BACK] Up to [local] / src / sbin / bioctl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.114 / (download) - annotate - [select for diffs], Sat Sep 2 09:14:47 2023 UTC (8 months, 4 weeks ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.113: +7 -6 lines
Diff to previous 1.113 (colored)

Use a hardware based number of KDF rounds by default for passphrases

When creating new crypto volumes with a passphrase or updating one, pick a
number of rounds that aims to take around 1s instead of just 16 (on X230 and
T14 machines, 16 rounds unlock pretty much instantly).

New default [-r auto] never decreases rounds, only explicit '-r N' can.
16 is the absolute minimum.

Motivation is to provide a saner and more modern default, especially for
fresh installations utilizing new disk encryption question.

Prodding for new default from and OK jsing on early "-r auto" installer diff
idea to to pick MAX(auto, old-rounds) from Lucas[AT sexy DOT is]
"seems acceptable to me" deraadt
Feedback kettenis sthen
OK op

Revision 1.113 / (download) - annotate - [select for diffs], Mon Aug 21 08:33:11 2023 UTC (9 months, 1 week ago) by kn
Branch: MAIN
Changes since 1.112: +5 -4 lines
Diff to previous 1.112 (colored)

Retry passphrase on mismatch by default

Gracefully prompt again during interactive creation and passphrase change on
CRYPTO/1C volumes when confirmation fails instead of exiting, so bioctl(8)
behaves more like passwd(1) in this regard.

Use -s aka. non-interactive scripting mode to try just once.

Input OK jsing op

Revision 1.112 / (download) - annotate - [select for diffs], Fri Aug 18 14:09:19 2023 UTC (9 months, 2 weeks ago) by kn
Branch: MAIN
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored)

Make -s read passphrases without prompts or confirmation

-s for non-interactive usage disables prompts, but still silently expects
two inputs, which is neither intuitive nor ergonomic.

Fix this get sane scriptable behaviour and documentation.

Feedback OK jsing op

Revision 1.111 / (download) - annotate - [select for diffs], Thu Jul 6 21:08:50 2023 UTC (10 months, 3 weeks ago) by kn
Branch: MAIN
Changes since 1.110: +2 -3 lines
Diff to previous 1.110 (colored)

Rectify -s lie

-s to read passphrases from stdin can indeed be used for creation.

OK jmc

Revision 1.110 / (download) - annotate - [select for diffs], Fri Aug 26 09:14:00 2022 UTC (21 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.109: +6 -6 lines
Diff to previous 1.109 (colored)

Sync usage with manual

-l takes chunks not specials;  while here, simplify markup for optional parts.

Feedback OK jmc

Revision 1.109 / (download) - annotate - [select for diffs], Mon Feb 8 11:20:03 2021 UTC (3 years, 3 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.108: +10 -2 lines
Diff to previous 1.108 (colored)

Add a RAID1C (raid1 + crypto) softraid(8) discipline.

The RAID1C discipline encrypts data like the CRYPTO discipline, and accepts
multiple chunks during creation and assembly like the RAID1 discipline.

To deal with failing disks a RAID1C volume may be assembled with a smaller
number of chunks than the volume was created with. The volume will then come
up in degraded state. If the volume is now detached and assembled again with
the correct number of chunks, any re-added chunks will require a rebuild.

Consequently, assembling RAID1C volumes requires careful attention to the
chunks passed via 'bioctl -l'.  If a chunk is accidentally omitted from the
command line during volume assembly, then this chunk will need to be rebuilt.

At least one known-good chunk is required in order to assemble the volume.

Like CRYPTO, RAID1C supports passphrase and key-disk authentication.
Key-disk based volumes are assembled automatically if the key disk is present
while the system is booting up.

Unlike CRYPTO and RAID1, there is no boot support for RAID1C yet.

RAID1C largely reuses existing code of RAID1 and CRYPTO disciplines.
At present RAID1C's discipline-specific data structure is shared with that
of the CRYPTO discipline to allow re-use of existing CRYPTO code. A custom
RAID1C data structure would require CRYPTO code to access struct sr_crypto
via a pointer instead of via a member field of struct sr_discipline.

ok jsing@

Revision 1.108 / (download) - annotate - [select for diffs], Fri Oct 30 13:55:48 2020 UTC (3 years, 7 months ago) by schwarze
Branch: MAIN
Changes since 1.107: +13 -9 lines
Diff to previous 1.107 (colored)

Do not use ".Ar device" for both an option argument and for the operand.
Instead, use ".Ar chunk" for the -R option argument just like it is
already done for -l and -O.
While here, polish a few minor details in the vicinity of the word "device".
OK kn@

Revision 1.107 / (download) - annotate - [select for diffs], Mon Sep 28 17:03:34 2020 UTC (3 years, 8 months ago) by solene
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.106: +3 -3 lines
Diff to previous 1.106 (colored)

Revert a wording change that was made in revision 1.05
which was reverting a change made into 1.03

bioctl -d is "detaching" and not "deleting" a volume

Revision 1.106 / (download) - annotate - [select for diffs], Sat Apr 25 14:37:43 2020 UTC (4 years, 1 month ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.105: +5 -5 lines
Diff to previous 1.105 (colored)

Reduce minimum allowed number of chunks in a CONCAT volume from 2 to
1.

This increases the number of volumes that can be created on a single disk
from 7 to 15. i.e. a disk can be sliced into a maximum of 225
(15 * 15) filesystems instead of a mere 105 (7 * 15).

ok deraadt@

Revision 1.105 / (download) - annotate - [select for diffs], Mon Jul 9 14:10:58 2018 UTC (5 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.104: +37 -30 lines
Diff to previous 1.104 (colored)

Unify and disambiguate various aspects of the terminology, clarify
that there is only one softraid(4) controller (called softraid0), and
clarify that you cannot add or delete chunks, but merely replace them.
Tweaks and OK jsing@, and OK henning@ on a previous version.

Revision 1.104 / (download) - annotate - [select for diffs], Thu Apr 6 18:55:42 2017 UTC (7 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.103: +8 -11 lines
Diff to previous 1.103 (colored)

less chatty EXAMPLES; from anton lindqvist

Revision 1.103 / (download) - annotate - [select for diffs], Sun Nov 27 18:04:18 2016 UTC (7 years, 6 months ago) by stsp
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

Document bioctl -d as a "detach" rather than a "delete" operation.
ok tb@ danj@ deraadt@

Revision 1.102 / (download) - annotate - [select for diffs], Wed Sep 21 17:57:33 2016 UTC (7 years, 8 months ago) by jsing
Branch: MAIN
Changes since 1.101: +7 -3 lines
Diff to previous 1.101 (colored)

Document auto rounds.

Revision 1.101 / (download) - annotate - [select for diffs], Wed Sep 21 17:08:04 2016 UTC (7 years, 8 months ago) by jsing
Branch: MAIN
Changes since 1.100: +5 -4 lines
Diff to previous 1.100 (colored)

Be clearer with the description of bioctl(8)'s -r option.

ok jmc@

Revision 1.100 / (download) - annotate - [select for diffs], Mon Sep 19 18:02:20 2016 UTC (7 years, 8 months ago) by jsing
Branch: MAIN
Changes since 1.99: +4 -11 lines
Diff to previous 1.99 (colored)

Update for bcrypt pbkdf.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Apr 4 18:53:31 2016 UTC (8 years, 1 month ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.98: +2 -4 lines
Diff to previous 1.98 (colored)

Remove caveat about only supporting 512-byte sectors.

Revision 1.98 / (download) - annotate - [select for diffs], Thu Oct 22 08:35:18 2015 UTC (8 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.97: +2 -3 lines
Diff to previous 1.97 (colored)

halex removed the -p restriction, so do not document it;
from kirill bychkov

Revision 1.97 / (download) - annotate - [select for diffs], Sat Sep 12 14:21:25 2015 UTC (8 years, 8 months ago) by schwarze
Branch: MAIN
Changes since 1.96: +40 -44 lines
Diff to previous 1.96 (colored)

obvious macros fixes:
* use .Cm for fixed argument strings
* properly use .Ar on individual arguments
* drop redundant .Bk

Revision 1.96 / (download) - annotate - [select for diffs], Fri May 29 00:33:37 2015 UTC (9 years ago) by uebayasi
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.95: +26 -2 lines
Diff to previous 1.95 (colored)

Initial addition of ``Patrol Read'' support in bio(4), biocto(8), and
mfi(4).  Based on FreeBSD, but done without mfiutil(8).

OK deraadt@

Revision 1.95 / (download) - annotate - [select for diffs], Sat Apr 11 16:37:34 2015 UTC (9 years, 1 month ago) by jsing
Branch: MAIN
Changes since 1.94: +7 -7 lines
Diff to previous 1.94 (colored)

Re-enable the RAID 5 discipline for softraid(4).

The RAID 5 implementation has been largely rewritten during the last two
hackathons in Dunedin - it now needs further testing and usage.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Feb 28 21:51:57 2015 UTC (9 years, 3 months ago) by bentley
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.93: +7 -7 lines
Diff to previous 1.93 (colored)

Reduce usage of predefined strings in manpages.

Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.

No output changes, except for two instances where the incorrect escape
was used in the first place.

tweaks + ok schwarze@

Revision 1.93 / (download) - annotate - [select for diffs], Sat Jan 18 09:11:12 2014 UTC (10 years, 4 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.92: +7 -12 lines
Diff to previous 1.92 (colored)

Disable the RAID 5 discipline in bioctl, as the current softraid RAID 5
discipline will more than likely eat data if a drive is lost.

Discussed with krw@

Revision 1.92 / (download) - annotate - [select for diffs], Sun Aug 11 05:54:09 2013 UTC (10 years, 9 months ago) by brad
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

capitalize RAID in one spot.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Jul 16 09:45:27 2013 UTC (10 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

Add missing .Mt macros for AUTHORS email addresses.
From Jan Stary <hans at stare dot cz>.
ok jmc@

Revision 1.90 / (download) - annotate - [select for diffs], Sat Sep 22 20:09:43 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.89: +5 -3 lines
Diff to previous 1.89 (colored)

last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;

Revision 1.89 / (download) - annotate - [select for diffs], Sun Jan 29 17:26:13 2012 UTC (12 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored)

use Pp, not blank lines;

Revision 1.88 / (download) - annotate - [select for diffs], Sun Jan 29 16:51:52 2012 UTC (12 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.87: +3 -1 lines
Diff to previous 1.87 (colored)

Add CAVEAT that only 512-byte sector devices are supported.

ok jsing@ jmc@

Revision 1.87 / (download) - annotate - [select for diffs], Sat Jan 7 13:59:46 2012 UTC (12 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.86: +13 -13 lines
Diff to previous 1.86 (colored)

Move -O to the correct section.

Spotted by jmc@

Revision 1.86 / (download) - annotate - [select for diffs], Sat Jan 7 12:16:46 2012 UTC (12 years, 4 months ago) by jsing
Branch: MAIN
Changes since 1.85: +13 -2 lines
Diff to previous 1.85 (colored)

Provide a bioctl(8) option that changes the state of a chunk to offline.

man page part with todd@

Revision 1.85 / (download) - annotate - [select for diffs], Sat Dec 31 17:06:09 2011 UTC (12 years, 5 months ago) by jsing
Branch: MAIN
Changes since 1.84: +5 -1 lines
Diff to previous 1.84 (colored)

Implement a concatenating discipline for softraid.

Many thanks to Marco Peereboom for his assistance with testing and
debugging. Thanks also to Josh Grosse and Chris Jackman for testing.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Dec 22 16:25:32 2010 UTC (13 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.83: +4 -3 lines
Diff to previous 1.83 (colored)

-s carries the same caveat as -p; from Jiri B.
ok krw

Revision 1.83 / (download) - annotate - [select for diffs], Wed Dec 1 19:40:18 2010 UTC (13 years, 6 months ago) by ckuethe
Branch: MAIN
Changes since 1.82: +8 -3 lines
Diff to previous 1.82 (colored)

Allow add a -s switch to make bioctl read the passphrase from stdin. Handy
for scripting a big batch of remote unlocks. ok marco

Revision 1.82 / (download) - annotate - [select for diffs], Sat Nov 20 17:46:24 2010 UTC (13 years, 6 months ago) by stsp
Branch: MAIN
Changes since 1.81: +18 -6 lines
Diff to previous 1.81 (colored)

Explain how to start a rebuild in a more obvious way and add an example.
help and ok marco@ jsing@ jmc@

Revision 1.81 / (download) - annotate - [select for diffs], Mon Sep 13 18:45:58 2010 UTC (13 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.80: +13 -6 lines
Diff to previous 1.80 (colored)

various tweaks, based on a diff from Chris Palmer;
ok marco

Revision 1.80 / (download) - annotate - [select for diffs], Thu Dec 31 14:00:45 2009 UTC (14 years, 5 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.79: +7 -2 lines
Diff to previous 1.79 (colored)

Add support for key disks. This allows a crypto volume to be constructed
without using a passphrase - instead the encryption mask key is stored on
the specified key disk partition (ideally being one on a removable device).
This also enables automatic assembly of crypto volumes at boot time.

ok marco@

Revision 1.79 / (download) - annotate - [select for diffs], Sat Dec 19 16:27:54 2009 UTC (14 years, 5 months ago) by jsing
Branch: MAIN
Changes since 1.78: +1 -1 lines
Diff to previous 1.78 (colored)

Explain what 'noauto' really does.

ok marco@

Revision 1.78 / (download) - annotate - [select for diffs], Wed Nov 25 18:51:58 2009 UTC (14 years, 6 months ago) by jsing
Branch: MAIN
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored)

Move the -p option to the correct place.

ok jmc@

Revision 1.77 / (download) - annotate - [select for diffs], Tue Nov 24 06:06:06 2009 UTC (14 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

put -P in the right place;

Revision 1.76 / (download) - annotate - [select for diffs], Tue Nov 24 02:19:35 2009 UTC (14 years, 6 months ago) by jsing
Branch: MAIN
Changes since 1.75: +3 -1 lines
Diff to previous 1.75 (colored)

Allow the passphrase to be changed on softraid crypto volumes. Ensure that
you backup your data and lock up your pets prior to using this.

Tested by todd@

ok marco@

Revision 1.75 / (download) - annotate - [select for diffs], Thu Oct 22 15:27:15 2009 UTC (14 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored)

tweak previous; ok marco

Revision 1.74 / (download) - annotate - [select for diffs], Wed Oct 21 22:35:27 2009 UTC (14 years, 7 months ago) by marco
Branch: MAIN
Changes since 1.73: +8 -2 lines
Diff to previous 1.73 (colored)

Add delete example since it has come up several times.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Oct 21 22:31:17 2009 UTC (14 years, 7 months ago) by marco
Branch: MAIN
Changes since 1.72: +7 -2 lines
Diff to previous 1.72 (colored)

Add passphrase file for crypto volume bring-up.  Proded and ok deraadt

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jul 31 05:58:51 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.71: +2 -11 lines
Diff to previous 1.71 (colored)

bioctl.8 should not try to keep track of all devices which can use it;
ok marco cnst

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jul 30 18:18:10 2009 UTC (14 years, 10 months ago) by cnst
Branch: MAIN
Changes since 1.70: +4 -2 lines
Diff to previous 1.70 (colored)

Xr cac(4) && mpi(4);  ok marco

Revision 1.70 / (download) - annotate - [select for diffs], Tue Jun 23 18:47:15 2009 UTC (14 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.69: +6 -6 lines
Diff to previous 1.69 (colored)

tweak previous;

Revision 1.69 / (download) - annotate - [select for diffs], Wed Jun 17 23:00:03 2009 UTC (14 years, 11 months ago) by marco
Branch: MAIN
Changes since 1.68: +11 -6 lines
Diff to previous 1.68 (colored)

Bring bioctl back to reality by adding rebuild and documenting RAID 4 & 5.
ok jordan

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jun 13 21:14:38 2009 UTC (14 years, 11 months ago) by halex
Branch: MAIN
Changes since 1.67: +6 -2 lines
Diff to previous 1.67 (colored)

mention the number of special devices required
for the different disciplines.

Revision 1.67 / (download) - annotate - [select for diffs], Sat May 9 13:42:03 2009 UTC (15 years ago) by sthen
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

fix example dd invocation; multipliers (e.g. bs=1m) use lower-case.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Mar 19 15:11:59 2009 UTC (15 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

minor tweaks (sorry grunk!);

Revision 1.65 / (download) - annotate - [select for diffs], Thu Mar 19 13:44:46 2009 UTC (15 years, 2 months ago) by grunk
Branch: MAIN
Changes since 1.64: +10 -5 lines
Diff to previous 1.64 (colored)

correct an example in the manpage:  after creating a new crypto volume,
it is sufficient to zero the first megabyte of the disk, not the whole
disk.

ok marco@ mpf@ rainer@ jmc@

Revision 1.64 / (download) - annotate - [select for diffs], Sun Feb 22 07:46:55 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.63: +80 -51 lines
Diff to previous 1.63 (colored)

split synopsis and the options list according to functionality;
diff from Mitja Mu?eni?

ok marco

Revision 1.63 / (download) - annotate - [select for diffs], Mon Feb 9 20:39:56 2009 UTC (15 years, 3 months ago) by grange
Branch: MAIN
Changes since 1.62: +3 -2 lines
Diff to previous 1.62 (colored)

Document that ips has bio support now.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Feb 9 16:41:08 2009 UTC (15 years, 3 months ago) by marco
Branch: MAIN
Changes since 1.61: +3 -1 lines
Diff to previous 1.61 (colored)

Add caveat that rebuild is not currently implemented on softraid.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Aug 22 06:41:36 2008 UTC (15 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.60: +11 -9 lines
Diff to previous 1.60 (colored)

- -R before -r in SYNOPSIS/usage()
- avoid marking up `|'

Revision 1.60 / (download) - annotate - [select for diffs], Fri Aug 22 02:00:12 2008 UTC (15 years, 9 months ago) by marco
Branch: MAIN
Changes since 1.59: +8 -1 lines
Diff to previous 1.59 (colored)

Add a hack to manually kick off rebuilds.  This will need some love in the
near future.

ok deraadt

Revision 1.59 / (download) - annotate - [select for diffs], Mon Aug 11 17:28:24 2008 UTC (15 years, 9 months ago) by marco
Branch: MAIN
Changes since 1.58: +2 -9 lines
Diff to previous 1.58 (colored)

Undo last commit; deraadt didn't like it.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Aug 11 17:22:54 2008 UTC (15 years, 9 months ago) by marco
Branch: MAIN
Changes since 1.57: +9 -2 lines
Diff to previous 1.57 (colored)

Add infrastructure to manually kick off rebuilds.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jul 21 21:37:30 2008 UTC (15 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

spelling fix from Mark Pecaut;

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jun 24 13:52:35 2008 UTC (15 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.55: +16 -2 lines
Diff to previous 1.55 (colored)

- document the raidlevels
- tweak CAVEATS, as requested by marco

ok hshoexer marco

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jun 14 17:04:50 2008 UTC (15 years, 11 months ago) by djm
Branch: MAIN
Changes since 1.54: +9 -2 lines
Diff to previous 1.54 (colored)

add a -r option to specify the number of PKCS5 PBKDF2 iterations used
to derive the password (minimum: 1000, maximum: more than you want)
ok hshoexer@

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jun 14 00:16:38 2008 UTC (15 years, 11 months ago) by hshoexer
Branch: MAIN
Changes since 1.53: +19 -1 lines
Diff to previous 1.53 (colored)

Update bioctl(8) and softraid(4) to recent changes and enable softraid
crypto.  It's still considered experimental!

ok djm marco

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jun 12 16:08:48 2008 UTC (15 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

-d tweaks;

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jun 12 00:25:33 2008 UTC (15 years, 11 months ago) by marco
Branch: MAIN
Changes since 1.51: +4 -2 lines
Diff to previous 1.51 (colored)

Add blurb for delete volume

Revision 1.51 / (download) - annotate - [select for diffs], Wed Nov 21 13:06:42 2007 UTC (16 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.50: +2 -4 lines
Diff to previous 1.50 (colored)

back out previous: henning says it's wrong;

Revision 1.50 / (download) - annotate - [select for diffs], Wed Nov 21 09:04:37 2007 UTC (16 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored)

note that -q is the default if no other options are specified; ok dlg

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jul 11 07:40:11 2007 UTC (16 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

put -q in the right place;

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jul 10 15:46:54 2007 UTC (16 years, 10 months ago) by henning
Branch: MAIN
Changes since 1.47: +4 -2 lines
Diff to previous 1.47 (colored)

implement -q to query a scsi disk for its inquiry data (vendor, model,
revision, serial #) and print that.
when the default bio ioctl fails with ENOTTY because the given disk is not
on a bio-supported raid controller, fall back to -q.
use strnvis to sanitize inquiry data so it is safe to use in scripts.
ok deraadt

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jun 4 11:26:53 2007 UTC (17 years ago) by jmc
Branch: MAIN
Changes since 1.46: +9 -10 lines
Diff to previous 1.46 (colored)

- remove an extraneous .Bl
- -C before -c

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jun 4 05:28:43 2007 UTC (17 years ago) by todd
Branch: MAIN
Changes since 1.45: +18 -4 lines
Diff to previous 1.45 (colored)

document -C option of bioctl
use a simpler form of options with variable number of args
suggestions jmc@ ok marco@

Revision 1.45 / (download) - annotate - [select for diffs], Thu May 31 19:19:43 2007 UTC (17 years ago) by jmc
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

convert to new .Dd format;

Revision 1.44 / (download) - annotate - [select for diffs], Mon Apr 23 16:38:55 2007 UTC (17 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.43: +2 -4 lines
Diff to previous 1.43 (colored)

remove -D stuff which is just silly, imagine if ls had a debug mode; ok marco

Revision 1.43 / (download) - annotate - [select for diffs], Tue Mar 20 06:12:11 2007 UTC (17 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.42: +11 -7 lines
Diff to previous 1.42 (colored)

tweaks;

Revision 1.42 / (download) - annotate - [select for diffs], Tue Mar 20 03:40:38 2007 UTC (17 years, 2 months ago) by todd
Branch: MAIN
Changes since 1.41: +25 -2 lines
Diff to previous 1.41 (colored)

document softraid and bioctl creation of softraid
ok marco@, help from jmc@

Revision 1.41 / (download) - annotate - [select for diffs], Sun Sep 3 18:37:44 2006 UTC (17 years, 9 months ago) by marco
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.40: +3 -1 lines
Diff to previous 1.40 (colored)

Add drivers

ok jmc miod

Revision 1.40 / (download) - annotate - [select for diffs], Fri Jun 30 08:13:40 2006 UTC (17 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored)

-.Xr mpt 4 ,

Revision 1.39 / (download) - annotate - [select for diffs], Tue Oct 4 20:11:27 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

wording from simon kuhnle (pr #4530);

Revision 1.38 / (download) - annotate - [select for diffs], Tue Aug 23 23:20:23 2005 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.37: +1 -10 lines
Diff to previous 1.37 (colored)

disable -B support for now; ok dlg

Revision 1.37 / (download) - annotate - [select for diffs], Mon Aug 22 14:11:12 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

fix Xr;

Revision 1.36 / (download) - annotate - [select for diffs], Mon Aug 22 04:27:17 2005 UTC (18 years, 9 months ago) by david
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

spelling

Revision 1.35 / (download) - annotate - [select for diffs], Sun Aug 21 23:36:32 2005 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.34: +6 -1 lines
Diff to previous 1.34 (colored)

device may be {ses,safte}# as well, for slot-operations

Revision 1.34 / (download) - annotate - [select for diffs], Fri Aug 19 06:18:51 2005 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

if Unused is .Dq, then so is Hot Spare..

Revision 1.33 / (download) - annotate - [select for diffs], Fri Aug 19 05:23:53 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.32: +19 -16 lines
Diff to previous 1.32 (colored)

- sort options
- tighten up a list
- reference ses(4) and safte(4) in SEE ALSO

Revision 1.32 / (download) - annotate - [select for diffs], Thu Aug 18 22:14:43 2005 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.31: +38 -8 lines
Diff to previous 1.31 (colored)

sync with new functionality, and add a bit more meat

Revision 1.31 / (download) - annotate - [select for diffs], Thu Aug 18 13:32:59 2005 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

if you show an example, BE CORRECT DAMNIT

Revision 1.30 / (download) - annotate - [select for diffs], Thu Aug 18 13:31:37 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.29: +3 -2 lines
Diff to previous 1.29 (colored)

tweak SYNOPSIS;

Revision 1.29 / (download) - annotate - [select for diffs], Thu Aug 18 12:53:22 2005 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.28: +4 -9 lines
Diff to previous 1.28 (colored)

a step towards where dlg is heading next + knf

Revision 1.28 / (download) - annotate - [select for diffs], Thu Aug 18 12:19:08 2005 UTC (18 years, 9 months ago) by dlg
Branch: MAIN
Changes since 1.27: +8 -1 lines
Diff to previous 1.27 (colored)

very basic blink support.

some manpage tweaks from jmc@

Revision 1.27 / (download) - annotate - [select for diffs], Thu Aug 18 09:16:16 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.26: +5 -3 lines
Diff to previous 1.26 (colored)

- mark up argument
- missing full stop at end of sentence

Revision 1.26 / (download) - annotate - [select for diffs], Thu Aug 18 04:49:52 2005 UTC (18 years, 9 months ago) by marco
Branch: MAIN
Changes since 1.25: +5 -1 lines
Diff to previous 1.25 (colored)

Add "create hot spare" ok dlg@

Revision 1.25 / (download) - annotate - [select for diffs], Tue Aug 9 08:11:33 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

sort options;

Revision 1.24 / (download) - annotate - [select for diffs], Tue Aug 9 01:43:33 2005 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

verbose output option

Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 8 04:04:13 2005 UTC (18 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.22: +7 -2 lines
Diff to previous 1.22 (colored)

lots of cleanup, print lots of information based on new linkages between
devices provided by marco; ok marco

Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 5 02:40:30 2005 UTC (18 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.21: +16 -16 lines
Diff to previous 1.21 (colored)

flash up the man page

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 3 21:15:01 2005 UTC (18 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

device is not optional; spotted by jmc

Revision 1.20 / (download) - annotate - [select for diffs], Wed Aug 3 16:15:07 2005 UTC (18 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +3 -9 lines
Diff to previous 1.19 (colored)

clarify device vs drive; marco ok

Revision 1.19 / (download) - annotate - [select for diffs], Wed Aug 3 15:20:55 2005 UTC (18 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

link back to ciss from here as well

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 3 02:39:55 2005 UTC (18 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +7 -14 lines
Diff to previous 1.17 (colored)

various cleanups, the way i like it, ok marco

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 2 20:27:13 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

add -a properly to SYNOPSIS; sync usage();
ok marco@

Revision 1.16 / (download) - annotate - [select for diffs], Tue Aug 2 16:47:30 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

sort SEE ALSO;

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 2 11:53:28 2005 UTC (18 years, 10 months ago) by marco
Branch: MAIN
Changes since 1.14: +24 -2 lines
Diff to previous 1.14 (colored)

Reflect new reality.  Lots of help and ok jmc@

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 29 16:59:13 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.13: +12 -6 lines
Diff to previous 1.13 (colored)

add some tweaks that were lost...

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jul 29 16:01:18 2005 UTC (18 years, 10 months ago) by marco
Branch: MAIN
Changes since 1.12: +10 -38 lines
Diff to previous 1.12 (colored)

Redo bioctl because initial implementation was too complex.

tested and ok dlg@ beck@
get it in @deraadt

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jul 18 15:10:56 2005 UTC (18 years, 10 months ago) by dlg
Branch: MAIN
Changes since 1.11: +39 -16 lines
Diff to previous 1.11 (colored)

revert marcos bio changes, mickey not ok

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 18 14:34:41 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.10: +11 -6 lines
Diff to previous 1.10 (colored)

tweaks;
ok marco@

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 18 01:58:01 2005 UTC (18 years, 10 months ago) by marco
Branch: MAIN
Changes since 1.9: +10 -38 lines
Diff to previous 1.9 (colored)

Reflect new reality.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jul 1 21:53:40 2005 UTC (18 years, 11 months ago) by marco
Branch: MAIN
Changes since 1.8: +7 -2 lines
Diff to previous 1.8 (colored)

Add -f option for disk operations.  Idea by deraadt.

This is not fully functional yet.

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 5 02:18:50 2005 UTC (19 years, 1 month ago) by marco
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Remove REGENTS in license.  Spotted miod@

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 6 02:36:34 2005 UTC (19 years, 2 months ago) by marco
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Add ses blink crud.  Not fully functional yet.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 5 06:32:16 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

add -b to synopsis;
use .Bk/.Ek to avoid line split;

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 4 22:43:07 2005 UTC (19 years, 2 months ago) by marco
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored)

Add initial blink/unblink harness.
Fix INQUIRY namespace polution.
Little clean up and new debug messages.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Apr 1 15:59:20 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

.Ox 3.8, not 3.7;

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 30 08:06:03 2005 UTC (19 years, 2 months ago) by dlg
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

update copyright for marco who says i can have the free commit

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 30 07:18:55 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.1: +23 -18 lines
Diff to previous 1.1 (colored)

fix .Dd;
fix SEE ALSO;
new sentence, new line;
sort options list;

Revision 1.1 / (download) - annotate - [select for diffs], Tue Mar 29 22:04:21 2005 UTC (19 years, 2 months ago) by marco
Branch: MAIN

adding initial bioctl code

ok mickey@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.