Commit Graph

5818 Commits

Author SHA1 Message Date
matt
11ded42c89 Fix a few straggling BE/LE problems. 2012-07-30 00:53:59 +00:00
matt
8c19c1d834 Make sure utf-16 strings are written as little endian words. 2012-07-25 01:07:49 +00:00
wiz
2dae1f92be From Bug Hunting:
Sync usage with man page.
2012-07-14 20:14:17 +00:00
wiz
2554af119a From Bug Hunting:
- use more common option list header line;
- remove superfluous `.Pp' macro (fixes mandoc(1) warning);
- bump date.
2012-07-14 20:13:30 +00:00
dholland
fc7133543a minor wording improvement. 2012-07-11 18:33:14 +00:00
jakllsch
1f2df78806 constify opts[] 2012-07-04 18:35:58 +00:00
tsutsui
c0aba6b3c5 Use 32KB/4KB for default block/fragment size on >= 128 GB partitions
for modern AFT disks.  No particular comments against PR install/46629.
2012-06-30 15:34:01 +00:00
mlelstv
1e662e8f89 it's really 32bit 2012-06-25 20:39:54 +00:00
mlelstv
58d2e3b383 report luns returns a 32bit list length. 2012-06-25 20:33:56 +00:00
kardel
b01c74c514 PR/44647: commit fix proposed by Takahiro HAYASHI
verified to be working in -current and also helps NetBSD-6 BETA2
2012-06-24 16:24:34 +00:00
mlelstv
af909e1586 use first successful connection to a ISNS server 2012-06-24 13:08:38 +00:00
wiz
0d00d3b578 Bump date for previous. 2012-06-23 23:41:25 +00:00
jdf
8efbef4b63 Clarify use of the union option for mount, as proposed in PR 45919.
Text proposed by apb.
2012-06-23 23:17:46 +00:00
martin
ca09e2766e Fix previous 2012-06-20 08:19:49 +00:00
martin
4c72c57ec6 Avoid printing values past the end of the buffer, and a size_t underflow. 2012-06-20 08:11:11 +00:00
christos
e5d78d1189 don't print the NULL, but the error 2012-06-14 00:39:33 +00:00
tsutsui
0532bb776d Use ${DESTDIR}/usr/mdec for DEFAULT_BOOTDIR on tools fdisk(8)
rather than unknown build host's /usr/mdec directory.

XXX: no option to leave MBR bootcode empty on x86 targets
2012-06-05 13:41:23 +00:00
dsl
0836a9f544 Add support for unsigned decimal values. 2012-06-02 21:38:09 +00:00
njoly
39880f6377 Fix Bl -tag width arguments. 2012-06-02 11:54:07 +00:00
riz
fe4a332636 The 'list_sessions' command has a -c flag to display connections
associated with the sessions.
2012-05-29 00:33:04 +00:00
wiz
c1043d5896 Sort option descriptions (options without args, then options with args). 2012-05-28 08:51:44 +00:00
wiz
cbfba0058c Remove trailing whitespace. 2012-05-28 08:49:57 +00:00
riz
04f0598fd2 Fix up the wording of the new flags, and show that the -d flag
now takes an argument.
2012-05-28 00:45:31 +00:00
riz
57488d154f Fix 4 more instances of the same bug (not returning NULL when stuff
not found).  While I'm here, add comments so it hopefully doesn't happen
again.
2012-05-28 00:37:55 +00:00
riz
c08d1e5212 Make the debugging printouts actually work when setting the debug level,
and allow the level to be set numerically from the command line.
2012-05-28 00:13:19 +00:00
riz
d94a631efa Fix a bug introduced in rev 1.2: return "curr", like the debugging
says we're doing, because it, unlike "t", will propely be NULL when
the target name isn't found in the list.  Now we can have multiple
targets again!
2012-05-27 23:54:45 +00:00
riz
1b247119f1 Implement the remaining bits of unthreaded operation. 2012-05-27 22:03:16 +00:00
riz
763e2736f6 Use Fl for the flags. 2012-05-27 20:11:58 +00:00
christos
f547f45639 use -n for nothreads. 2012-05-27 20:05:04 +00:00
christos
68a964c306 make the debug level available on the command line. 2012-05-27 19:52:51 +00:00
riz
e754ddcc7f When ISCSI_NOTHREAD is defined, make UNLOCK_SESSIONS a different kind
of noop, so that things build.
2012-05-27 17:27:33 +00:00
riz
42b7a81606 Don't try to print pointers as integers, use %p instead and don't cast. 2012-05-27 16:50:32 +00:00
wiz
f2a0d89379 NetBSD -> Nx; new sentence, new line; remove superfluous Pp. 2012-05-27 11:59:12 +00:00
riz
490c38bdf2 Begin the tedious process of documenting iscsictl(8) commands,
options, and flags.  I gathered this information by tediously
slogging through the source code, so it's likely to be incomplete
and occasionally flat wrong.

At a minimum, specify which options the various commands take, and
clarify the address specifications.  There is still much to do,
but this increases the usefulness of this man page for me, at least.
2012-05-26 20:03:34 +00:00
jakllsch
8e3694ab9d Don't exit on ioctl failure, instead let the caller handle it.
This is needed so that we can detect failure of the 40LD firmware
interface and fall back to the 8LD interface.
2012-05-18 14:01:34 +00:00
jakllsch
853736acf9 Add $NetBSD$ to header, and add __RCSID. 2012-05-18 13:59:23 +00:00
jakllsch
cb015b40f8 Use C99 fixed width integer types. 2012-05-18 13:55:15 +00:00
jakllsch
a0e1d2a5df Use err(3) instead of perror(3) + exit(3).
Additionally, use symbolic EXIT_FAILURE.
2012-05-18 13:51:17 +00:00
jakllsch
1304a641ca Use __arraycount instead of identical local macro. 2012-05-18 13:47:33 +00:00
jakllsch
c1cc7f8759 constify number to string lookup tables 2012-05-18 13:41:37 +00:00
christos
57ca898c48 remove ancient crap 2012-05-05 21:03:02 +00:00
tsutsui
56ed3d51fc Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionals
in C source file to define option features.
Define proper options in each Makefile per ${MACHINE_ARCH} variable instead.

Previously if a host is x86 and it has /usr/mdec/mbr file in its system,
tools fdisk implicitly installs it as mbr bootcode even for !x86 targets.
2012-05-05 16:03:55 +00:00
jakllsch
ccce006c72 Bump date to date of previous change. 2012-05-02 15:42:58 +00:00
christos
7c8eec143a fix cast in local macro 2012-04-20 13:20:39 +00:00
mlelstv
4c4531d7b7 return exit code from mount_XXXX again 2012-04-09 15:50:20 +00:00
wiz
1ac719d147 Remove unnecessary Bk/Ek pairs from SYNOPSIS.
No effective change except where I used the opportunity to sort options
and/or option descriptions.
2012-04-08 22:00:37 +00:00
cyber
05b3cc487c PR bin/45744
from Julian Fagir
Removing options that have had implementations removed.

-b: removed in -r1.4
-s: removed in -r1.2
2012-04-08 07:59:53 +00:00
christos
ba7ad7276d Don't re-use the same buffer that we pass in for newname in the cooked->raw
conversion. Better variable names.
2012-04-08 04:19:14 +00:00
christos
ca11e1e667 factor out rawname() from dump, fsck, savecore. 2012-04-07 16:44:10 +00:00
christos
8b15007246 add missing DPADD 2012-04-07 05:58:55 +00:00