Commit Graph

5915 Commits

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