Commit Graph

5373 Commits

Author SHA1 Message Date
mlelstv bc76b1d5b0 When clearing a log on failure, not only ask the kernel to ignore an
existing log but to remove it on next mount.
2010-03-06 11:31:40 +00:00
christos c6af1de885 - use warn/err properly
- wrap long lines
2010-03-06 00:30:54 +00:00
pooka 04e9fbfc62 Remove no longer used -DNFS. 2010-03-05 19:53:37 +00:00
pooka 696ffdd08a note module changes 2010-03-05 18:51:22 +00:00
pooka 0299287e5f Use 8k buffer, since 4k is too short for the default list (might
save one round of modctl()).
2010-03-05 10:27:16 +00:00
wiz f704e3fc5c -i does not take an argument. Remove unnecessary Bk/Ek. New sentence, new line. 2010-02-26 07:01:17 +00:00
christos c40eb1e731 PR/42883: Greywolf: Add -i flag which brings "true incremental" capability. 2010-02-26 02:11:40 +00:00
tsutsui 5b900f2697 Avoid line break in `Linux Ext2' strings. 2010-02-25 13:09:17 +00:00
hannken 626b19f88a Dont pass option -x down to fsck_xxxfs.
Hi christos ...
2010-02-24 13:56:07 +00:00
tsutsui 62936fc84a 32 bit UID and GID support on ext2fs has been added since 5.0
so remove description about the limitations from BUGS section.
2010-02-22 09:45:02 +00:00
mlelstv d3dff438aa dev_bsize wasn't initialized. The actual value doesn't matter since
the same value is used to compute byte offsets into the special file
but a value of zero causes a division by zero.
2010-02-21 16:24:21 +00:00
wiz 1a64f4201c Call the file system "ext2" consistently. Suggested by tsutsui. 2010-02-21 13:26:45 +00:00
wiz dcced1277c Fix string, noted by tsutsui. 2010-02-21 13:23:15 +00:00
ahoka daea46045b Fix two problems with argc handling in bioctl(8), which makes
bioctl(8) dump core if expected arguments are not passed in.

Closes PR bin/39946 (patch by Juan RP).
2010-02-20 22:25:54 +00:00
mlelstv 6ae5a6ad41 Initialize device_name before opendisk to avoid
"unable to open device '(null)'" error messages
when the opendisk fails.
2010-02-20 08:47:10 +00:00
wiz 8f657e21de Fix typo (specifed -> specified). 2010-02-18 14:00:39 +00:00
wiz 40effc38c9 Pull over some of Jason McIntyre's fixes for newfs_ext2fs.
Suggested by tsutsui.
2010-02-18 13:51:45 +00:00
wiz 380455a930 Fix pasto noted by tsutsui. 2010-02-18 13:49:19 +00:00
wiz e386b4ea79 Use Dq for double quotes; remove trailing whitespace. 2010-02-18 06:57:17 +00:00
christos 639f597520 Add -x <mountpoint> ``exclude'' option. 2010-02-17 23:30:21 +00:00
wiz 841db612d9 Various fixes from Jason McIntyre <jmc@kerhand.co.uk>. 2010-02-17 21:39:14 +00:00
mlelstv 7974872552 Three changes in a single commit.
- drop the notion of frags (LFS fragments) vs fsb (FFS fragments)
  The code uses a complicated unity function that just makes the
  code difficult to understand.

- support larger sector sizes. Fix disk address computations
  to use DEV_BSIZE in the kernel as required by device drivers
  and to use sector sizes in userland.

- Fix several locking bugs in lfs_bio.c and lfs_subr.c.
2010-02-16 23:20:30 +00:00
plunky f5c86c146d use
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4

rather than

.if ${HAVE_GCC} == 4

as HAVE_GCC may be undefined
2010-02-08 07:56:06 +00:00
christos c68c36a514 Centralize time printing and deal with ctime possibly returning NULL. 2010-02-04 23:55:42 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
mlelstv 0aef69272b Skip handling of APPLEUFS_LABEL if it is smaller than a device block.
In particular:

- newfs will not try to erase the label
- fsck_ffs will not try to validate the label

This lets newfs and fsck work on 2048-byte-per-sector media.

Does Apple UFS support such media and how?
2010-01-31 16:04:34 +00:00
is c41a4b460e Use getnameinfo() for printing AppleTalk addresses. While here, fix
printing of broadcast for this address family (AT broadcast is fixed
node 255 on the local net).
2010-01-30 18:30:33 +00:00
drochner 821d4396bd follow KS_GROUP_Ascii->KS_GROUP_Plain rename in kernel,
noticed by Andreas Gustafsson
2010-01-29 09:49:34 +00:00
christos 13a5940614 use warn/err appropriately. 2010-01-27 18:34:02 +00:00
pooka 03fdf6b025 error message: \n\n -> \n 2010-01-27 17:02:06 +00:00
spz 1cb24f3feb range-check what we assign to int cachebufs from calculations with
uint64_t usermem. This only becomes relevant if you have several TB of RAM.
Promoting cachebufs to uint64_t is not necessary as it gets limited to
(currently) 512 anyway.

fixes the last issue of PR: 19852
2010-01-27 12:20:25 +00:00
wiz e08d841a54 + Fatal errors due to uninitialized components are ignored.
for -C. For dillo@
2010-01-27 09:26:16 +00:00
wiz 4421a69224 Consistently use "START disks" in examples. Bump date. 2010-01-27 08:56:08 +00:00
is 000fbf6b41 Add AF_APPLETALK support to getnameinfo(); make "route show" use it.
Doesn't print "ranges" yet (should it be done here?); only numeric
output.
2010-01-26 21:27:54 +00:00
jakllsch ce12229e40 Add display of Long Physical Sector and Long Logical Sectors feature set
information to atactl identify output.

Also:
- remove caddr_t cast
- warn about invalid IDENTIFY data checksum (when possible)
- humanize capacity in power-of-10 format
- remove semi-pointless ATAPI check
- slightly rework command queue depth output to be less conversational
2010-01-25 01:24:11 +00:00
dyoung 6abb73d262 Compare a pointer with NULL instead of testing its "truth." 2010-01-22 23:50:07 +00:00
pooka 0552fc0a0c from main with return 0;
(Why did I manage to succesfully build n times, including a full
distribution build, without tripping this before ?!?)
2010-01-14 22:06:54 +00:00
pooka ce626609cc Remove puffs| from vfstype before making comparison to determine if
fs is mounted.

Fixes slightly-miscategorized kern/37626.
2010-01-14 21:46:24 +00:00
pooka 707f1f2b92 If getargs and vfs has PUFFS_TYPEPREFIX, use mount_puffs to query args. 2010-01-14 21:30:17 +00:00
pooka 335e5fc6dc Descend into mount_puffs. 2010-01-14 21:29:26 +00:00
pooka 0f16a0e5f3 Add a generic puffs kernel utility for querying mount arguments.
E.g.:
	golem> dtfs -r 'chr 15 25' dtfs /puffs
	golem> mount_puffs -o getargs dtfs /puffs
	version=26, flags=0x10, root cookie=0xbb90c0c0, root type=VCHR, root size=0, root rdev=0xf19
2010-01-14 21:25:48 +00:00
christos 808212fb9d missing errno.h 2010-01-07 04:21:28 +00:00
christos 36cd9355e9 make this compile again. 2010-01-07 01:39:56 +00:00
christos 87e82597b6 PR/42568: Pedro F. Giffuni: Better signal handling from OpenBSD, but simplified. 2010-01-06 18:12:37 +00:00
tsutsui d3724ba41f Add necessary byteswap ops for tools disklabel(8) used with -F option
(treating a target disk as a regular file and suppressing ioctl(2)s)
on reading/writing disklabel in a target file.
This allows cross build enviroment creating bootable disk images
for targets in different endian.
No functional changes to native (non-tools) disklabel(8) command.

Closes PR toolchain/42357.
2010-01-05 15:45:26 +00:00
elad 34edb026e5 Keep an internal variable indicating whether securelevel is present, and
don't blindly try to get/set it. Prevents error messages that don't make
sense if securelevel isn't supported by the kernel.
2009-12-29 17:07:17 +00:00
dsl 5281921f56 Add info for -A ptn_alignment[/ptn_0_offset] 2009-12-23 20:56:18 +00:00
dsl 4d8b353d15 Put #endif in correct place - fixes PR/42500
Update usage() for -A, and rename one of the variables for clarity.
2009-12-23 18:50:40 +00:00
mbalmer c84c875a15 Bump date. 2009-12-23 09:18:48 +00:00
mbalmer 8a65aabe5b Fix typo in command output. 2009-12-23 09:13:21 +00:00