rodent
6212f5ad46
s/user code/user mode/1
2013-03-30 11:07:40 +00:00
christos
f27e0a25cc
Document debug
2013-03-29 21:46:32 +00:00
christos
7e8a523e59
pdisk has moved
2013-03-23 15:43:37 +00:00
mlelstv
9e59300471
For MFS, no longer use heuristic based on rlimit to determine mmap size.
...
This is no longer functional with current memory allocation routines.
2013-03-17 12:25:36 +00:00
yamt
4398e962ce
more precision for F_TIMING64
2013-03-06 11:33:08 +00:00
joerg
e240adbd0b
Retire OSI network stack. OK core@
2013-03-01 18:25:13 +00:00
wiz
cd5f9eed2e
Remove trailing whitespace.
2013-02-27 21:21:47 +00:00
is
959a998bde
Fix terminology issue brought up by Bug Hunting in PR 47314.
...
The boot records in extended partitions are called "Extended Boot Record"
(EBR); use that in the documentation where appropriate.
2013-02-27 20:43:00 +00:00
christos
c1fffff4c4
Don't produce spurious errors when creating labels on files.
2013-02-13 00:40:28 +00:00
christos
26a38a4618
CID/979997: missing va_end()
2013-02-09 01:50:04 +00:00
jakllsch
8c9dbb49b1
Decode 6Gbps signaling SATA capability in IDENTIFY DEVICE data.
2013-02-08 03:58:36 +00:00
apb
819da78f2e
Abort on error from prop_dictionary_augment.
2013-02-07 13:21:34 +00:00
apb
acc2342d2c
Avoid dereferencing NULL. Coverity CID 275201.
...
Also fix a typo in previous: !== should be !=
2013-02-07 13:20:51 +00:00
apb
2f2c48e223
Don't pass NULL to prop_dictionary_set.
...
Coverity CID 275196.
2013-02-07 12:04:01 +00:00
apb
beb9ef8fe5
Don't call prop_distionary_make_immutable on a NULL pointer.
...
Coverity CID 275179.
2013-02-07 11:24:15 +00:00
apb
bf5fabe51d
free(bbp) in error paths. Coverity CID 274748.
2013-02-07 11:00:59 +00:00
apb
392ef41021
getrawpartition(3) may fail, so call it only once and test for failure.
...
Coverity CID 274527.
2013-02-07 10:44:45 +00:00
matt
2f0a3a2017
There are other little endian arm machine_arches other than "arm"
2013-02-05 07:22:59 +00:00
christos
2d1d9d47bc
don't truncate the file if an offset is given.
2013-02-03 03:21:42 +00:00
christos
9eab57ada8
nbtool_config.h undefines _NETBSD_SOURCE, and that makes <sys/types.h> not
...
define cpuid_t, which makes <sys/mount.h> unincludable. Although this is a
bug in the build system, it is simpler to fix it here.
2013-01-27 21:56:26 +00:00
christos
3060c42593
toolify
2013-01-24 19:24:56 +00:00
christos
0a4e19dfb8
use return instead of exit.
2013-01-24 17:53:49 +00:00
christos
9c80670845
don't do the partition dance for makefs; we have no real disk
2013-01-24 00:10:09 +00:00
christos
c613c761ab
We don't need getdiskinfo() for makefs() since we always deal with an image.
2013-01-23 22:48:18 +00:00
christos
30441591f7
fix regressions after split.
2013-01-23 15:29:15 +00:00
dholland
dcd34a91c5
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
...
pollution. Specifically:
ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NXADDR -> UFS_NXADDR
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.
No functional change intended.
2013-01-22 09:39:11 +00:00
christos
aed35c482d
Split the make fs portion into a function; do argument tests inside the
...
function.
2013-01-21 20:28:38 +00:00
jakllsch
6959a7ad63
Now that GPT_ENT_TYPE_LINUX_DATA is diffrent from the Windows one, use it.
2013-01-18 17:58:15 +00:00
christos
772a10450c
move dk_ioctl to a header file for the benefit of x-building.
2013-01-17 18:33:58 +00:00
jakllsch
ec5e5d471b
An uninitialized next-free-cluster value in the file system information
...
block is valid; do not consider it for correction.
2013-01-17 16:45:48 +00:00
christos
b7825cc95f
- simplify getinput.
...
- add adjust command.
2013-01-15 23:52:48 +00:00
dholland
1df724eeb6
Use __printflike.
2013-01-13 23:45:35 +00:00
dholland
0f01602e5e
Use void * for I/O functions and remove no-longer-needed casts.
2013-01-13 23:17:18 +00:00
dholland
aaa9827ea1
Use more static.
2013-01-13 23:07:16 +00:00
dholland
a010b743a6
Use static; remove unused global var this uncovered.
2013-01-13 22:59:31 +00:00
dholland
895e26fb92
Use <ctype.h> functions correctly.
2013-01-13 22:54:24 +00:00
dholland
9c53e91b7d
Add some const.
2013-01-13 22:53:01 +00:00
mlelstv
9fc3186941
Support symlinks to a block device to resolve the name of the
...
corresponding raw device.
2013-01-13 19:53:16 +00:00
wiz
0ce5dbc6e9
Bump date for previous.
2013-01-12 10:19:01 +00:00
jakllsch
7528c09b60
We supply data with the FORMAT UNIT command, so tell the kernel which
...
direction it is to go (write).
2013-01-12 02:52:59 +00:00
jakllsch
8c34b2a378
take sizeof actual symbol we are memsetting
2013-01-12 02:50:09 +00:00
mlelstv
a11271cda5
Provide a script for devpubd(8) that creates symlinks for each dk(4)
...
device under /dev/wedges so that you can access them by name.
2013-01-11 23:49:23 +00:00
riastradh
50ce00ea5e
Add some ATA SECURITY commands to atactl(8).
2013-01-09 21:58:23 +00:00
riastradh
ac9a343544
Show pass1 SIGINFO output on stderr like other passes, not on stdout.
2013-01-06 22:06:00 +00:00
dsl
249ad9a058
Explicitly include sys/ioctl.h
2013-01-01 19:01:10 +00:00
dsl
4467f3ec3d
Explicitly include sys/ioctl.h
2013-01-01 18:44:27 +00:00
christos
17cb1d718c
fix function name in error messages.
2012-12-30 22:52:35 +00:00
christos
082a5b2911
PR/46579: Takahiro HAYASHI: ifconfig clone destroy should not print useless
...
diagnostic and exit with an error code. Get the interface name and flags
opportunistically to allow the code to return normally if it does not need
to do anything.
2012-12-30 22:50:42 +00:00
christos
ed79344487
deduct phdrlen after computing max size.
2012-12-30 03:19:24 +00:00
christos
0ec9e614e3
1. Allocate the max packet size before accounting for phdrlen, harmless.
...
2. In the clear-route-cache sendto, don't send 0 bytes (if -s was specified
with < 8, phdrlen would be 0).
3. Always send ICMP_MINLEN packets; this is what everyone else does. Makes
ping -s n where n < 8 work.
4. The condition for checking the data bytes was completely wrong. only check
the data bytes if we got all of them.
5. The condition for printing a newline was wrong; before it would not print
a newline before printing the data bytes, and it would append to the previous
error message.
2012-12-30 02:41:11 +00:00
mlelstv
4fa33b60bd
Handle invalid messages more gracefully, handle sessions with no valid
...
connections, and be more verbose about errors.
2012-12-29 08:28:20 +00:00
mlelstv
153341a17d
Allow named wedges to be used on command line, also fix name lookup
...
for the dump device.
2012-12-26 10:15:28 +00:00
mbalmer
49e3ec350a
Consistent use of return.
2012-12-25 09:24:45 +00:00
khorben
d01557a2c8
Added complete support for touchscreen calibration (see PR kern/45872).
...
Tested with the uts(4) driver, as well as with mice without calibration
support.
Reviewed by uwe@ (thank you!)
2012-12-24 01:29:20 +00:00
khorben
76cf3dff78
Added read-only support for touchscreen calibration (see PR kern/45872).
...
Tested with the uts(4) driver, as well as with mice without calibration
support.
Reviewed by uwe@ (thank you!)
2012-12-24 01:27:23 +00:00
khorben
0033dc95e8
Added a field type for signed integers. This is required when handling
...
touchscreen calibration values, which is about to be implemented in
wsconsctl (see PR kern/45872).
Reviewed by uwe@ (thank you!)
2012-12-24 01:20:12 +00:00
jakllsch
913c04e5ec
There are two problems with insisting the FAT file system size be a multiple
...
of track-size units: 2) the FAT metadata areas may not be a multiple of a
"track", 1) the partition may not be track-aligned to begin with, 0) what's
a "track"? is it something a robot rover leaves on Mars?
2012-12-15 04:34:36 +00:00
msaitoh
a4771072f5
Add missing free() in error path.
2012-12-13 05:27:01 +00:00
christos
9878d5e5c4
use __BITMAP_TYPE
2012-12-07 02:27:29 +00:00
christos
87e18d03a8
fix bug found by clang.
2012-12-05 13:53:39 +00:00
wiz
5fd31fe80e
Whitespace.
...
New sentence, new line.
2012-12-05 08:56:54 +00:00
christos
0f179f793d
add cgdconfig -l like vnconfig -l
2012-12-05 02:23:20 +00:00
wiz
be789ebcbe
Document how to resize the WAPBL log size.
...
Based on patch by Edgar Fuß <ef@math.uni-bonn.de>.
2012-12-03 12:28:06 +00:00
christos
f9868bf95f
switch from fd_set to bitmap macros, by popular demand.
2012-12-01 15:30:16 +00:00
christos
b8e38193b8
put back line I accidentally deleted.
2012-11-29 02:24:14 +00:00
christos
97613513e6
add a handler for the reserved port sysctl variable.
2012-11-29 02:06:17 +00:00
christos
de1cb60c9b
use the proper variable
2012-11-29 02:05:38 +00:00
jakllsch
a3904b0b1f
Catch up to the kernel with respect to Ext2 huge_file feature.
2012-11-25 19:42:14 +00:00
jakllsch
afc2ce4252
e2di_nblock is (assuming the huge_file feature is not active) stored in
...
DEV_BSIZE units, not fs block size units.
2012-11-25 19:36:23 +00:00
reed
3a3bcb7dc5
Add some details about the hook scripts.
2012-11-22 17:16:30 +00:00
tsutsui
1c2763589b
Note mount_msdos -G option also allows mounting X680x0's Human68k floppies.
2012-11-16 15:00:18 +00:00
msaitoh
b6620403e7
Add missing free() in error path.
2012-11-09 06:27:17 +00:00
christos
d6532d627c
include the headers that you need.
2012-11-04 22:30:23 +00:00
christos
6a9b095c0d
include the headers that we need
2012-11-04 22:28:16 +00:00
christos
e3f7c883f9
include the needed headers
2012-11-04 22:20:03 +00:00
jakllsch
b7565c8f0e
According to current file(1) magic definitions an unlabeled FAT is
...
denoted with "NO NAME" rather than "NO_NAME".
2012-11-04 14:27:15 +00:00
jakllsch
9211d76436
make a bunch of globals static
2012-11-03 19:26:52 +00:00
jakllsch
7f13651aab
drop write-only variable
2012-11-03 19:14:53 +00:00
pgoyette
52dd3d0558
Use snprintb_m(3) to split flags/capabilities/enabled across multiple
...
output lines.
As discussed on current-users
2012-11-01 13:43:23 +00:00
msaitoh
bbc956a9be
Add SIOCGETHERCAP ioctl.
...
There was no way to know the setting of ec_capabilities and ec_capenable
other than grepping the source.
See http://mail-index.netbsd.org/tech-kern/2010/07/28/msg008613.html
2012-10-31 10:17:34 +00:00
enami
78b4053513
The id chgrp command is required to change is not uid but gid.
2012-10-24 01:12:51 +00:00
christos
968ce182a5
- use {g,s}etprogname()
...
- fix usage
2012-10-23 17:55:46 +00:00
wiz
2690e9488f
+ ly
2012-10-23 17:30:59 +00:00
christos
722882388a
allow non-command keysyms to be mapped as commands (experimental)
2012-10-23 15:30:45 +00:00
christos
2b7d68ecf8
- remove obsolete = { syntac
...
- print context for yyerror()
- add a production to clarify a syntax error
2012-10-23 01:59:18 +00:00
christos
c8bd03f1a4
support --reference=rfile
2012-10-22 18:02:26 +00:00
drochner
5724e77fda
Implement experimental support to pass notifications that a file
...
was deleted from the filesystem to the disk driver, commonly
known as "discard" or "trim".
fs/driver support is in ffs and ata wd for now.
This is what was posted here:
http://mail-index.netbsd.org/tech-kern/2012/02/28/msg012813.html
with minor cleanup, and the global switch replaced by a mount option.
2012-10-19 17:09:06 +00:00
wiz
4d8d2d3c45
Revert my previous commit, I misunderstood the intention.
...
Noted by njoly.
2012-10-06 09:11:34 +00:00
wiz
ff22935a2e
Previous slightly more consistently.
2012-10-05 21:30:29 +00:00
njoly
1fd47d12e9
Fix indented blocks rendering with mandoc. Switch from .in unsupported
...
macro to .Bd/.Ed ones. While here kill some unneeded .Pp/.br macros.
2012-10-05 18:07:46 +00:00
uwe
a855fb9e85
Fix fallout from 1.129 that converted sou::so_foo from unions to
...
pointers but missed (char *)&soup->so_foo => (char *)soup->so_foo in
mask_addr(). It worked by luck - unless it didn't: due to pointer
numerology on amd64 route add -net ClassC without explicit /24 prefix
length specification would result into /16 destination instead of /24.
2012-10-04 00:01:48 +00:00
wiz
547319c1ee
- Improve wording;
...
- remove superfluous `.Pp' macro (fixes mandoc(1) warning).
From Bug Hunting.
2012-10-03 19:36:11 +00:00
riz
1c8ef6d0ac
Remove the bit about empty DOS file systems assumed to have short names
...
by default; jmcneill changed this back in Jan 2009, but missed this
text.
2012-09-27 21:51:12 +00:00
christos
9db5ca4e66
add back old options for compatibility, but complain if specified.
2012-09-20 18:56:05 +00:00
christos
41a9f0e839
Does not make sense to mount this as NFS, so it is not a bug.
...
We can now mount multiple instances, but all of them show all the ptys.
2012-09-19 15:38:09 +00:00
christos
7097f02a88
remove -c and chroot option; they are always on now
2012-09-18 21:35:43 +00:00
msaitoh
c29bab8ba9
Fix a bug that misunderstand F_TIMING64, F_POLICY and F_AUTHHDR.
2012-09-18 04:07:44 +00:00
msaitoh
5699fb2d89
Accept "-s 0"
2012-09-10 04:32:24 +00:00
wiz
23f6e3c1fb
Bump date for previous.
2012-09-09 17:11:49 +00:00
dholland
31ea0cb5b3
ptyfs hasn't been experimental in a long time. (noticed by blymn)
2012-09-09 17:09:51 +00:00
riz
012f92fc5b
Remove -g from CPPFLAGS.
2012-09-05 23:01:42 +00:00
riz
18bc268e49
Remove "-g" from CPPFLAGS.
2012-09-05 22:58:53 +00:00
dholland
06b26cd86b
Use more markup, fix English usage.
2012-08-29 18:46:13 +00:00
dholland
2d1cf01ec8
stdlib.h, not malloc.h
2012-08-26 09:33:18 +00:00
joerg
067600c8cf
Revert last, it breaks the tricks xsrc uses.
2012-08-23 21:21:14 +00:00
joerg
8e96262375
Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
...
SHLIBDIR differs from /usr/lib.
2012-08-23 15:45:02 +00:00
drochner
0065310310
the address expire counter is just a time difference; it can turn
...
negative after the timer expired until the entry is deleted.
make it signed, so that we don't get output like
"00:1b:78:12:50:46 wm0 18446744073709551349 flags=0<>"
2012-08-23 12:06:32 +00:00
jnemeth
0f1ee6e9e1
Set WARNS=5. No warnings/errors were found with a test compile.
2012-08-22 07:47:18 +00:00
jnemeth
c6e45a5dd0
Bump up to WARNS=5. No new warnings/errors were found.
2012-08-16 19:47:48 +00:00
jruoho
dd68a56f79
Use _PATH_URANDOM from paths(3).
2012-08-14 14:41:07 +00:00
wiz
a4fbef4f94
Make the difference between -A and -a clearer by using more markup.
2012-08-12 17:20:19 +00:00
joerg
e16a720f89
Don't depend on HAVE_GCC being always defined.
2012-08-10 12:20:10 +00:00
christos
54abeff8fd
don't define RUMP_ACTION if MKRUMP = no
2012-08-08 14:10:38 +00:00
christos
1e5d8920de
remove useless rump headers.
2012-08-08 14:04:26 +00:00
jakllsch
da6f244356
The free space value in the FSInfo block is merely unitialized when it is
...
0xffffffff. Fixes first part of bin/46743
2012-08-07 19:30:41 +00:00
jnemeth
942121f54c
Add -A, -a, and -e options to modstat(8) along with kernel
...
changes required to support these options. The -e option was
requested by martin@ in private chat in order to make writing tests
easier (i.e. don't bother testing MODULAR functionaility if it
doesn't exist). While there, I added -A and -a since those were
quite similar.
-A Tells you whether or not modules can be autoloaded at the moment.
This option does take into consideration the sysctl
kern.module.autoload.
-a Tells you whether or not modules can be autoloaded at the moment.
This option does not take into consideration the sysctl
kern.module.autoload.
-e Tells you whether or not you may load a module at the moment.
2012-08-07 01:19:05 +00:00
jakllsch
1423b85c62
Use correct values for minimum and maximum cluster counts for the various FAT
...
types. These values come from a publically-avaliable document of an
infallible source that must not be named due to a violation of the document's
license restrictions. This is justified by interoperability concerns.
2012-07-31 13:52:44 +00:00
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
christos
5727fadda2
use getfsspecname()
2012-04-07 04:52:20 +00:00
christos
338fb03101
use getfsspecname
2012-04-07 04:13:06 +00:00
christos
6ab6e47220
Accept NAME=label for special so that we can wire down our wedges.
2012-04-07 03:13:32 +00:00
christos
fe1ffb96a2
compile this for everyone, and warns=5
2012-04-06 22:42:50 +00:00
christos
788118e647
support sector sizes > 512.
2012-04-06 20:09:26 +00:00
christos
1b4e5840af
don't print 2 lines of info, remove the bogus one.
2012-04-02 21:08:02 +00:00
njoly
5dfcab3622
Note that amd64 defaults to 32k read/write data size, just like i386.
2012-04-02 07:27:43 +00:00
joerg
6d6a95294e
Avoid non-literal format string. Raise WARNS to 4 and disable
...
sign warnings instead.
2012-03-24 08:22:24 +00:00
njoly
af97374da1
Remove unexpected newline between Em macro and text.
2012-03-23 18:28:13 +00:00
wiz
89cc021f65
Bump date for previous.
2012-03-22 21:47:20 +00:00
drochner
364a06bb29
remove KAME IPSEC, replaced by FAST_IPSEC
2012-03-22 20:34:37 +00:00
he
1afead990d
Convert from K&R to c89 function definitions.
2012-03-21 16:11:26 +00:00
matt
d8695ce615
Default to WARNS=5
2012-03-21 05:47:53 +00:00
riz
f76fc16550
Remove ${NETBSDSRCDIR}/sys/lib/libkern from .PATH; there are no
...
source files from there compiled.
2012-03-21 00:35:33 +00:00
matt
cf7ed4c9cc
Convert to C89 function definitions
2012-03-20 18:50:30 +00:00
christos
c583007244
PR/43141: Tobias Nygren: Print an error on unknown interfaces.
2012-03-17 02:25:08 +00:00
christos
e101c08658
PR/42179: Christoph Badura: Be a little friendlier about missing args.
2012-03-17 02:13:44 +00:00
njoly
d0e00679ff
Use Lk macro when dealing with URLs. While here update or remove some
...
dead URL links. Another part of PR/29238.
2012-03-15 22:35:02 +00:00
joerg
66dd2755f5
Add __printflike attribution to use vprintf and friends with an argument
...
as format string.
2012-03-15 02:02:20 +00:00
christos
3ddbe03f5e
PR/44961: Jukka Ruohonen: for sysctl's with built-in handlers, return OPNOTSUPP
...
if we don't have handlers instead of using the handler we have and silently
failing on attempts to write a node that cannot be written.
2012-03-11 23:33:00 +00:00
drochner
da4ea9e87f
fix a path
2012-03-09 12:30:28 +00:00
tsutsui
50ccec61ff
Stop zero'ing all possible superblock backup leftovers conservatively.
...
Instead, explicitly zap only possible first backups and FFS superblocks.
Fixes "Extreamly slow newfs_ext2fs on 60Gb USB stick" problem
reported by Aleksey Cheusov on tech-kern@.
2012-03-06 15:39:41 +00:00
wiz
f801d65453
Mention scan_ffs -b.
...
Based on a patch by Matthew Mondor <mm_lists@pulsar-zone.net> on
tech-userlevel.
Bump date.
2012-03-06 10:30:20 +00:00
jakllsch
68ceb36701
Prevent stack buffer overflow when copying too-large-CDB into request.
2012-02-21 02:22:54 +00:00
jakllsch
1355b3bb87
constify command data argument to scsi_command().
2012-02-21 02:19:41 +00:00
wiz
ea95a8c187
Sort option descriptions a bit more.
2012-02-19 21:32:02 +00:00
christos
fd6f00f4bf
PR/45735: Bug Hunting: The dump(8) manpage, as well as the program's `usage'-line,
...
needs improvement
2012-02-19 19:49:20 +00:00
perseant
ed08fe6512
Pass t_renamerace and t_rmdirrace tests.
...
Adapt dholland@'s fix to ufs_rename to fix PR kern/43582. Address several
other MP locking issues discovered during the course of investigating the
same problem.
Removed extraneous vn_lock() calls on the Ifile, since the Ifile writes
are controlled by the segment lock.
Fix PR kern/45982 by deemphasizing the estimate of how much metadata
will fill the empty space on disk when the disk is nearly empty
(t_renamerace crates a lot of inode blocks on a tiny empty disk).
2012-02-16 02:47:54 +00:00
wiz
155b16958f
Fix typo.
2012-02-14 11:05:32 +00:00
wiz
d2b212ea03
Remove unused variables.
...
From cppcheck via Henning Petersen in PR 46004.
2012-02-13 12:59:56 +00:00
christos
b678a11dc2
Only print errors when -A or required. Fix the error message to match others.
2012-02-12 20:54:07 +00:00
wiz
b3d989a54f
Remove duplicate RS_LOCAL. From cppcheck via Henning Petersen in PR 46000.
2012-02-12 13:56:56 +00:00
tsutsui
d42cbdf611
Explicitly zap possible Ext2fs magic leftover to prevent
...
kernel vfs_mountroot() and bootloaders from mis-recognizing
the newfs(8)'ed file system as still Ext2fs.
The problem is reported and the fix is tested by Frank Wille
on current-users@. Also approved by releng.
2012-02-07 14:14:45 +00:00