Commit Graph

5933 Commits

Author SHA1 Message Date
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