dragonfly.git
14 years agoinstaller: Show the name of the interface to configure.
Sascha Wildner [Sun, 11 Oct 2009 22:49:36 +0000 (00:49 +0200)]
installer: Show the name of the interface to configure.

14 years agoclang: -nostdclanginc was renamed -nobuiltininc.
Sascha Wildner [Sat, 31 Oct 2009 19:04:23 +0000 (20:04 +0100)]
clang: -nostdclanginc was renamed -nobuiltininc.

While here, clean up a bit.

14 years agoclang: Suppress 'argument unused during compilation' warnings.
Sascha Wildner [Sat, 31 Oct 2009 19:02:20 +0000 (20:02 +0100)]
clang: Suppress 'argument unused during compilation' warnings.

14 years agomandoc(1): Adjust section titles.
Sascha Wildner [Sat, 31 Oct 2009 10:46:17 +0000 (11:46 +0100)]
mandoc(1): Adjust section titles.

14 years agoHAMMER - Fix cursor tracking bugs and a few other issues
Matthew Dillon [Sat, 31 Oct 2009 01:29:04 +0000 (18:29 -0700)]
HAMMER - Fix cursor tracking bugs and a few other issues

* When recursively removing empty internal nodes from the B-Tree only
  call hammer_cursor_deleted_element() if the related internal
  element is actually removed.  The element might not be removed due
  to the deadlock fail path.

* If hammer_cursor_up_locked() fails fully restore the cursor before
  returning.  The index field was not being restored.

* Acquire the sync lock when recovering a cursor lost due to a deadlock
  in the mirroring code.

* Document and fix an issue in the rebalancing code which could cause a
  cursor to fall off the end of the B-Tree.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
14 years agomake.conf.5: Add documentation for BINUTILSVER and DEBUG_FLAGS.
Sascha Wildner [Fri, 30 Oct 2009 23:57:05 +0000 (00:57 +0100)]
make.conf.5: Add documentation for BINUTILSVER and DEBUG_FLAGS.

While here, sync a couple of descriptions with the current state of
things.

14 years agobinutils220: the amd64 target is called x86_64
Simon Schubert [Thu, 29 Oct 2009 17:23:30 +0000 (10:23 -0700)]
binutils220: the amd64 target is called x86_64

14 years agoMakefile.inc1: introduce WORLD_BINUTILSVER
Simon Schubert [Thu, 29 Oct 2009 14:58:38 +0000 (15:58 +0100)]
Makefile.inc1: introduce WORLD_BINUTILSVER

WORLD_BINUTILSVER can be used to set the binutils version to be used
as ctools when building world, as opposed to BINUTILSVER, which sets the
binutils version to be used for building the ctools.

14 years agolibm: fnstsw only takes a 16bit argument
Simon Schubert [Thu, 29 Oct 2009 14:56:08 +0000 (15:56 +0100)]
libm: fnstsw only takes a 16bit argument

Binutils-2.20 gas polices more strictly and does not accept 32bit
arguments to the fnstsw opcode.  Please it by declaring all arguments as
__uint16_t.  This possibly even fixes some latent bugs due to missing
initialization of the top 16 bits.

14 years agogdb/binutils220: don't terminate bfd target list prematurely
Simon Schubert [Thu, 29 Oct 2009 14:53:56 +0000 (15:53 +0100)]
gdb/binutils220: don't terminate bfd target list prematurely

We must not insert a NULL field into the list of targets, since
targets.c appends some default vectors (namely binary and hex, etc.).
With the NULL termination, these vectors never show up.

14 years agobinutils220: don't mix all DPADD into LDADD
Simon Schubert [Thu, 29 Oct 2009 02:35:34 +0000 (03:35 +0100)]
binutils220: don't mix all DPADD into LDADD

We don't want libz's DPADD to be pulled into LDADD lateron, so nicely
assign all paths to both DPADD and LDADD.

14 years agomandoc(1): Update to 1.9.11.
Sascha Wildner [Thu, 29 Oct 2009 10:35:49 +0000 (11:35 +0100)]
mandoc(1): Update to 1.9.11.

Taken-from: OpenBSD

14 years agoimgact_elf: use correct offset when bouncing .note data
Simon Schubert [Thu, 29 Oct 2009 02:11:58 +0000 (03:11 +0100)]
imgact_elf: use correct offset when bouncing .note data

We have to copy to data+firstlen, not firstoff, since firstoff is
relative to page and not to data.

14 years agoimgact_elf: accept .note.ABI-tag sections located anywhere
Simon Schubert [Thu, 29 Oct 2009 01:38:13 +0000 (02:38 +0100)]
imgact_elf: accept .note.ABI-tag sections located anywhere

This follows up on commit d9f47b9b82dc9e762119fd00267eef9a0268680a.

While our current build infrastructure now produces binaries which can
be read properly by the kernel, this does not hold true for any non-base
linker, particularly binutils compiled directly from source, or even the
recent binutils-2.20 import.

Instead of relying on local modifications to the Elf linker scripts,
bite the bullet and make the kernel deal with PT_NOTE sections that lie
outside the first page.

14 years agoMerge branch 'gcc442'
Simon Schubert [Wed, 28 Oct 2009 11:52:53 +0000 (12:52 +0100)]
Merge branch 'gcc442'

14 years agoMerge branch 'bu220'
Simon Schubert [Wed, 28 Oct 2009 11:52:45 +0000 (12:52 +0100)]
Merge branch 'bu220'

14 years agobinutils220: hook into build
Simon Schubert [Tue, 27 Oct 2009 00:31:15 +0000 (01:31 +0100)]
binutils220: hook into build

14 years agobinutils220: add our build infrastructure
Simon Schubert [Wed, 28 Oct 2009 11:47:52 +0000 (12:47 +0100)]
binutils220: add our build infrastructure

14 years agobinutils220: add local modifications
Simon Schubert [Wed, 28 Oct 2009 11:45:58 +0000 (12:45 +0100)]
binutils220: add local modifications

14 years agobinutils220: add our READMEs
Simon Schubert [Wed, 28 Oct 2009 11:45:52 +0000 (12:45 +0100)]
binutils220: add our READMEs

14 years agoMerge branch 'vendor/BINUTILS220' into bu220
Simon Schubert [Wed, 28 Oct 2009 11:40:16 +0000 (12:40 +0100)]
Merge branch 'vendor/BINUTILS220' into bu220

14 years agoImport binutils-2.20
Simon Schubert [Wed, 28 Oct 2009 09:53:46 +0000 (10:53 +0100)]
Import binutils-2.20

14 years agogcc44: adjust build infrastructure for gcc-4.4.2
Simon Schubert [Wed, 28 Oct 2009 11:32:06 +0000 (12:32 +0100)]
gcc44: adjust build infrastructure for gcc-4.4.2

14 years agogcc44: drop questionable local modifications
Simon Schubert [Wed, 28 Oct 2009 10:03:25 +0000 (11:03 +0100)]
gcc44: drop questionable local modifications

14 years agogcc44: add our local modifications
Simon Schubert [Wed, 28 Oct 2009 11:29:41 +0000 (12:29 +0100)]
gcc44: add our local modifications

14 years agogcc44: update our READMEs
Simon Schubert [Wed, 28 Oct 2009 11:24:28 +0000 (12:24 +0100)]
gcc44: update our READMEs

14 years agoMerge branch 'vendor/GCC44' into gcc442
Simon Schubert [Wed, 28 Oct 2009 11:23:16 +0000 (12:23 +0100)]
Merge branch 'vendor/GCC44' into gcc442

14 years agoImport gcc-4.4.2
Simon Schubert [Wed, 28 Oct 2009 09:30:59 +0000 (10:30 +0100)]
Import gcc-4.4.2

14 years agocpdup(1): trans is NULL here, so don't print trans->id.
Sascha Wildner [Tue, 27 Oct 2009 20:58:25 +0000 (21:58 +0100)]
cpdup(1): trans is NULL here, so don't print trans->id.

14 years agoBring in OpenBSD's mandoc(1) tool for formatting manual pages.
Sascha Wildner [Tue, 27 Oct 2009 08:42:29 +0000 (09:42 +0100)]
Bring in OpenBSD's mandoc(1) tool for formatting manual pages.

It's not (yet) used by anything but it is quite useful for
error checking.

Thanks to Kristaps Dzonsons and OpenBSD!

14 years agoSync zoneinfo database with tzdata2009p from elsie.
Sascha Wildner [Mon, 26 Oct 2009 15:37:44 +0000 (16:37 +0100)]
Sync zoneinfo database with tzdata2009p from elsie.

southamerica:   8.37 -> 8.40

Most of Argentina is not using DST in 2009-2010, but the San Juan
province is.

14 years agosh: fix spurious newline slips in backquote expansion
Simon Schubert [Mon, 26 Oct 2009 10:28:35 +0000 (11:28 +0100)]
sh: fix spurious newline slips in backquote expansion

From FreeBSD revision 1.43:
    Instead of eating trailing newlines after inserting them into the
    output buffer, don't insert them at all.  This prevents a buffer
    *underrun* when the substitution consists completely of newlines
    (e.g. `echo`) and the byte before the source buffer to which p
    points is a '\n', in which case more characters would be removed
    from the output buffer than were inserted.

DragonFly-bug: <http://bugs.dragonflybsd.org/issue1588>

14 years agocmp: honor -x also for special files
Simon Schubert [Mon, 26 Oct 2009 00:15:37 +0000 (01:15 +0100)]
cmp: honor -x also for special files

14 years agomdoc cleanup: Fix some column lists (add .It).
Sascha Wildner [Sun, 25 Oct 2009 22:33:55 +0000 (23:33 +0100)]
mdoc cleanup: Fix some column lists (add .It).

14 years agonextboot.8: Remove duplicate DESCRIPTION section.
Sascha Wildner [Sun, 25 Oct 2009 19:39:21 +0000 (20:39 +0100)]
nextboot.8: Remove duplicate DESCRIPTION section.

14 years agomdoc cleanup: Fix mangled NAME sections.
Sascha Wildner [Sun, 25 Oct 2009 19:24:01 +0000 (20:24 +0100)]
mdoc cleanup: Fix mangled NAME sections.

14 years agomqueues: Implement S_TYPEISMQ() macro.
Stathis Kamperis [Sat, 24 Oct 2009 18:09:32 +0000 (21:09 +0300)]
mqueues: Implement S_TYPEISMQ() macro.

Since Issue 6 of POSIX standard S_TYPEISMQ(), S_TYPEISSEM() and
S_TYPEISSHM() macros are unconditionally mandated. Here we add
support for the message queues only.

14 years agomdoc: No '.' is needed for .Ud
Sascha Wildner [Sat, 24 Oct 2009 20:55:30 +0000 (22:55 +0200)]
mdoc: No '.' is needed for .Ud

14 years agoRemove some useless tabs in two manual pages.
Sascha Wildner [Sat, 24 Oct 2009 20:47:07 +0000 (22:47 +0200)]
Remove some useless tabs in two manual pages.

14 years agoFix some references in a couple of manual pages.
Sascha Wildner [Sat, 24 Oct 2009 20:34:55 +0000 (22:34 +0200)]
Fix some references in a couple of manual pages.

14 years agoFix -offset -indent -> -offset indent in two manual pages.
Sascha Wildner [Sat, 24 Oct 2009 20:33:46 +0000 (22:33 +0200)]
Fix -offset -indent -> -offset indent in two manual pages.

14 years agochpass.1: mdoc will care about multiple authors itself.
Sascha Wildner [Sat, 24 Oct 2009 19:33:50 +0000 (21:33 +0200)]
chpass.1: mdoc will care about multiple authors itself.

14 years agodc.1: Add missing .Os
Sascha Wildner [Sat, 24 Oct 2009 19:33:31 +0000 (21:33 +0200)]
dc.1: Add missing .Os

14 years agops(1): Remove dead initialization.
Sascha Wildner [Sat, 24 Oct 2009 08:14:00 +0000 (10:14 +0200)]
ps(1): Remove dead initialization.

14 years agopax(1): Remove dead initialization.
Sascha Wildner [Sat, 24 Oct 2009 08:13:53 +0000 (10:13 +0200)]
pax(1): Remove dead initialization.

14 years agomkdir(1): Remove dead initialization.
Sascha Wildner [Sat, 24 Oct 2009 08:13:23 +0000 (10:13 +0200)]
mkdir(1): Remove dead initialization.

14 years agols(1): Remove dead initialization.
Sascha Wildner [Sat, 24 Oct 2009 08:12:52 +0000 (10:12 +0200)]
ls(1): Remove dead initialization.

14 years agocpdup(1): Remove dead initialization.
Sascha Wildner [Sat, 24 Oct 2009 08:11:58 +0000 (10:11 +0200)]
cpdup(1): Remove dead initialization.

14 years agocp(1): When continuing, badcp will be automatically set to 0.
Sascha Wildner [Sat, 24 Oct 2009 08:11:16 +0000 (10:11 +0200)]
cp(1): When continuing, badcp will be automatically set to 0.

14 years agochio(1): cesr_flags needs to be initialized before we can |= later.
Sascha Wildner [Sat, 24 Oct 2009 08:10:23 +0000 (10:10 +0200)]
chio(1): cesr_flags needs to be initialized before we can |= later.

14 years agops: print /dev/pts/* as numbers, not as "pts"
Simon Schubert [Fri, 23 Oct 2009 20:47:31 +0000 (22:47 +0200)]
ps: print /dev/pts/* as numbers, not as "pts"

14 years agoapmd(8): Fix a warning and raise WARNS to 2.
Sascha Wildner [Fri, 23 Oct 2009 18:19:20 +0000 (20:19 +0200)]
apmd(8): Fix a warning and raise WARNS to 2.

BATTTIME and BATTPERCENT are in fact int.

14 years agobsd.dep.mk: correctly sequence .depend* and generated sources
Simon Schubert [Thu, 22 Oct 2009 10:02:37 +0000 (12:02 +0200)]
bsd.dep.mk: correctly sequence .depend* and generated sources

If depend files are paritioned, we need to make sure that all .depend*
files have generated files from SRCS in their sources, otherwise a
mkdep might run before all necessary headers have been generated.

Noticed-by: swildner@
14 years agodevfs - Rework write-opening cases for disk devices.
Antonio Huete [Sun, 18 Oct 2009 14:25:04 +0000 (16:25 +0200)]
devfs - Rework write-opening cases for disk devices.

Reported-by: Jan Lentfer <Jan.Lentfer@web.de>
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1570

14 years agohammer: Reverse logic in MOPT_HAMMEROPTS
Antonio Huete [Mon, 19 Oct 2009 07:21:30 +0000 (09:21 +0200)]
hammer: Reverse logic in MOPT_HAMMEROPTS

Reported-by: Jan Lentfer <Jan.Lentfer@web.de>
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1569

14 years ago_timespec.h: Fix a comment
Antonio Huete Jimenez [Mon, 19 Oct 2009 14:43:49 +0000 (07:43 -0700)]
_timespec.h: Fix a comment

14 years agofortunes2: Fix typo
Sascha Wildner [Wed, 21 Oct 2009 17:56:32 +0000 (19:56 +0200)]
fortunes2: Fix typo

14 years agomake.conf.5: Remove BUGS section.
Sascha Wildner [Wed, 21 Oct 2009 17:56:03 +0000 (19:56 +0200)]
make.conf.5: Remove BUGS section.

etc/defaults/make.conf and the make.conf(5) are compared daily and
have not been out of sync for a long time.

14 years agoMerge branch 'gdb7'
Simon Schubert [Wed, 21 Oct 2009 11:38:21 +0000 (13:38 +0200)]
Merge branch 'gdb7'

14 years agorl(4): Read IDR to extract MAC address for unknown 8139 chips
Sepherosa Ziehau [Wed, 21 Oct 2009 10:48:11 +0000 (18:48 +0800)]
rl(4): Read IDR to extract MAC address for unknown 8139 chips

Obtained-from: FreeBSD
Submitted-by: Saifi Khan <saifi.khan@datasynergy.org>
14 years agobusdma: Put alignment/boundary check failure logging under bootverbose
Sepherosa Ziehau [Wed, 21 Oct 2009 10:43:55 +0000 (18:43 +0800)]
busdma: Put alignment/boundary check failure logging under bootverbose

14 years agogdb: update build infrastructure for gdb-7
Simon Schubert [Mon, 19 Oct 2009 10:47:47 +0000 (12:47 +0200)]
gdb: update build infrastructure for gdb-7

14 years agogdb: add our changes
Simon Schubert [Mon, 19 Oct 2009 11:21:34 +0000 (13:21 +0200)]
gdb: add our changes

14 years agogdb: add our READMEs
Simon Schubert [Mon, 19 Oct 2009 11:01:01 +0000 (13:01 +0200)]
gdb: add our READMEs

14 years agoMerge branch 'vendor/GDB' into gdb7
Simon Schubert [Tue, 20 Oct 2009 22:47:05 +0000 (00:47 +0200)]
Merge branch 'vendor/GDB' into gdb7

14 years agogdb: GC old versions
Simon Schubert [Mon, 19 Oct 2009 10:56:56 +0000 (12:56 +0200)]
gdb: GC old versions

14 years agoImport gdb-7.0
Simon Schubert [Mon, 19 Oct 2009 10:55:02 +0000 (12:55 +0200)]
Import gdb-7.0

14 years agoloader(8): Add multi-root selection documentation.
Antonio Huete [Tue, 20 Oct 2009 09:21:04 +0000 (11:21 +0200)]
loader(8): Add multi-root selection documentation.

14 years agoSync zoneinfo database with tzdata2009o from elsie.
Sascha Wildner [Tue, 20 Oct 2009 07:10:27 +0000 (09:10 +0200)]
Sync zoneinfo database with tzdata2009o from elsie.

asia:           8.41 -> 8.42
australasia:    8.13 -> 8.14

* Bangladesh will stay on DST until the cabinet makes a fresh decision.

* Pakistan will end DST on November 1 (instead of October 1).

* Samoa is not starting DST in 2009 (comments only).

14 years agoRoot fallback support.
Alexander Polakov [Mon, 19 Oct 2009 18:48:30 +0000 (22:48 +0400)]
Root fallback support.

vfs.root.mountfrom can now be specified as a list, separated by ';'

14 years agocore dumps: don't claim we are FreeBSD
Simon Schubert [Sat, 17 Oct 2009 12:05:08 +0000 (14:05 +0200)]
core dumps: don't claim we are FreeBSD

Our elf core dump format (slightly) changed before, and we could only
convince gdb to work nicely by changing gdb's FreeBSD support.  Now fix
it the right way by not claiming that we are FreeBSD.

At the same time, change the way tids are stored in the elf notes.  This
is actually like FreeBSD does it.

14 years agolibedit: add readline compat rl_completion_word_break_hook
Simon Schubert [Sat, 17 Oct 2009 12:03:26 +0000 (14:03 +0200)]
libedit: add readline compat rl_completion_word_break_hook

This follows roughly what is described in the readline manual.
rl_completion_word_break_hook is needed by gdb-7.

14 years agobsd.dep.mk: don't build .depend every time
Simon Schubert [Mon, 19 Oct 2009 10:29:35 +0000 (12:29 +0200)]
bsd.dep.mk: don't build .depend every time

My last commits had introduced a dependency issue which made .depend to
be built again every time.  This commit addresses this issue by not
deleting the intermediate .depend_${grp} files.

Also change the .depend generation so that no .depend__ is generated,
but output is directly sent to .depend.

14 years agotools/genreadmedeleted: chmod +x
Simon Schubert [Mon, 19 Oct 2009 10:26:36 +0000 (12:26 +0200)]
tools/genreadmedeleted: chmod +x

14 years agomq_*.2: .Nx -> .Dx
Stathis Kamperis [Mon, 19 Oct 2009 08:48:43 +0000 (11:48 +0300)]
mq_*.2: .Nx -> .Dx

14 years agomqueues: Remove left-over commented out code.
Stathis Kamperis [Sat, 17 Oct 2009 15:39:45 +0000 (18:39 +0300)]
mqueues: Remove left-over commented out code.

14 years agomqueues: Remove left-over commented out code.
Stathis Kamperis [Sat, 17 Oct 2009 15:18:59 +0000 (18:18 +0300)]
mqueues: Remove left-over commented out code.

14 years agomqueues: Remove unused variable.
Stathis Kamperis [Sat, 17 Oct 2009 14:20:06 +0000 (17:20 +0300)]
mqueues: Remove unused variable.

14 years agoHAMMER - Fix bug in 'hammer cleanup' when deleting snapshots
Matthew Dillon [Fri, 16 Oct 2009 20:45:24 +0000 (13:45 -0700)]
HAMMER - Fix bug in 'hammer cleanup' when deleting snapshots

* When deleting more then 16 snapshots the dsnapshot.count field was not
  being properly cleared, resulting in later ioctls failing.

* Adjust error and warning messages to provide the proper context.

* Do not try to delete meta-data snapshots with a transaction id of 0, just
  in case a degenerate softlink is created.  The VFS will not allow it
  and the ioctl will fail.

14 years agoHAMMER - more fixes to snapshot softlink generation
Matthew Dillon [Fri, 16 Oct 2009 20:20:06 +0000 (13:20 -0700)]
HAMMER - more fixes to snapshot softlink generation

* Instead of generating "<directory>/@@0x<transid>" we want
  to generate "<directory>@@0x<transid>" (without the /).

  Otherwise if the directory is rm -rf'd and recreated, the
  snapshot will be pointing to the wrong place.

14 years agoHAMMER - Fix 'snapq' directive - softlink constructed improperly
Matthew Dillon [Fri, 16 Oct 2009 20:14:25 +0000 (13:14 -0700)]
HAMMER - Fix 'snapq' directive - softlink constructed improperly

14 years agoHAMMER - Fix 64-bit compile-time error.
Matthew Dillon [Thu, 15 Oct 2009 17:12:55 +0000 (10:12 -0700)]
HAMMER - Fix 64-bit compile-time error.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
14 years agosecurelevel - Fix disk accessing with high secure level.
Antonio Huete [Thu, 15 Oct 2009 11:27:18 +0000 (13:27 +0200)]
securelevel - Fix disk accessing with high secure level.

14 years agoHAMMER - Add additional warnings for v2/v3 upgrades, fix bug in snaprm
Matthew Dillon [Thu, 15 Oct 2009 01:19:15 +0000 (18:19 -0700)]
HAMMER - Add additional warnings for v2/v3 upgrades, fix bug in snaprm

* Add warnings related to backup scripts when upgrading from V2 to V3.
  The synctid directive does not generate a snapshot.  You should generate
  a real snapshot to properly track them.

  Also, removing a snapshot softlink does not remove the meta-data and
  thus the pruning code will continue to prune around that snapshot.
  The snaprm directive should be used when removing snapshot softlinks
  to also remove the meta-data.

* Snaprm now uses the current directory when removing a transaction id
  and no target directory was specified.

* Snaprm now makes it clear that a failure to remove meta-data when
  removing a softlink is just a warning, not a fatal error.

14 years agoHAMMER - Add upgrade instructions to the manual page, fix bug in snaprm
Matthew Dillon [Thu, 15 Oct 2009 01:07:01 +0000 (18:07 -0700)]
HAMMER - Add upgrade instructions to the manual page, fix bug in snaprm

* Added upgrade instructions for V1->V2 and V2->V3

* Fixed a bug when running hammer snaprm on a softlink which references
  a snapshot in a PFS other then the one containing the softlink.

14 years agoHAMMER - Enhance cleanup utility for HAMMER v3
Matthew Dillon [Thu, 15 Oct 2009 00:26:55 +0000 (17:26 -0700)]
HAMMER - Enhance cleanup utility for HAMMER v3

* For each PFS if the snapshots directory has not been overridden in
  the PFS config it will be migrated from <fs>/snapshots to
  /var/hammer/<path_from_root>.  The snapshots directory for the
  root directory itself will be called /var/hammer/root.  The old
  <fs>/snapshots directory will then removed.

  If a PFS has a snapshots directory config set no migration will
  occur.  Users can migrate it manually and then clear the snapshots
  directory in the PFS config if they desire.  We can't do it
  automatically because users might use this mechanic to mix snapshots
  with the live backup and needless to say cpdup()ing a live backup
  into /var is probably a bad idea.

* Fix a bug when generating softlinks in a directory that is not
  under the PFS being snapshotted.

* Add an optional third argument to the 'hammer snapshot' directive
  to allow a meta-data note to be specified.  The meta-data entry
  is created whether you specify a note or not.

14 years agoHAMMER - Correct bug in last commit. hammer cleanup snapshot command.
Matthew Dillon [Wed, 14 Oct 2009 20:46:22 +0000 (13:46 -0700)]
HAMMER - Correct bug in last commit.  hammer cleanup snapshot command.

* hammer cleanup was generating a bad directive when trying to run the
  snapshot command.

14 years agoHAMMER - Add version 3 meta-data features
Matthew Dillon [Wed, 14 Oct 2009 18:44:59 +0000 (11:44 -0700)]
HAMMER - Add version 3 meta-data features

* These features are available for filesystem version 3.  Version 2 may be upgraded
  to version 3 in-place.  These features are not usable until you upgrade.

* Definitively store snapshots in filesystem meta-data.  Softlinks still
  work.  The new snapshot directives (snap, snaplo, snapq, etc) also allow
  you to specify up to a 64-character note for each snapshot you create.
  The snapls directive may be used to list all snapshots stored in meta-data.

  'hammer cleanup' will move all softlink-based snapshots residing in the
  <fs>/snapshots directory to meta-data when it next snapshots the filesystem
  (within a day of upgrading, usually).   The snapshot softlinks are left intact.

  Storing snapshot information in meta-data means that accidental wipes of
  your <fs>/snapshots directory will NOT cause later hammer cleanup runs to
  destroy your snapshots!  The meta-data snapshots are also removed if you
  do a prune-everything, or through normal pruning expirations, and thus
  'hammer snapls' will definitively list your valid snapshots.

  This feature also means that you can obtain a definitive list of snapshots
  available on mirroring slaves.

* Definitively store the hammer cleanup configuration file in filesystem meta-data.
  This meta-data is not mirrored.  'hammer cleanup' will move <fs>/snapshots/config
  to the new meta-data config and deletes <fs>/snapshots/config after you've upgraded
  the filesystem.  You can edit the configuration with the 'viconfig' directive.

* The HAMMER utility has new directives:  snap, snaplo, snapq, snaprm, snapls,
  config, and viconfig.

* WARNING!  Filesystems mounted 'nohistory' and files chflagged similarly do not
  have snapshots, but the hammer utility still allows the directives to be run.
  This is a bug that needs to be fixed.

14 years agoACPICA: Unbreak ACPI_DEBUG_CACHE support
Sepherosa Ziehau [Wed, 14 Oct 2009 16:07:52 +0000 (00:07 +0800)]
ACPICA: Unbreak ACPI_DEBUG_CACHE support

14 years agoACPI C-STATE: Function renaming
Sepherosa Ziehau [Sun, 11 Oct 2009 05:04:07 +0000 (13:04 +0800)]
ACPI C-STATE: Function renaming

14 years agomessage queue manpages: Fix section numbers (3 -> 2).
Sascha Wildner [Tue, 13 Oct 2009 23:22:58 +0000 (01:22 +0200)]
message queue manpages: Fix section numbers (3 -> 2).

14 years agoRemove machdep.msgbuf, machdep.msgbuf_clear.
Alexander Polakov [Tue, 13 Oct 2009 18:34:18 +0000 (22:34 +0400)]
Remove machdep.msgbuf, machdep.msgbuf_clear.

There're no consumers in base and nothing machine-dependent in code.

14 years agoboot - tftp - Fix bzero() with wild length field.
Matthew Dillon [Mon, 12 Oct 2009 23:46:32 +0000 (16:46 -0700)]
boot - tftp - Fix bzero() with wild length field.

Reported-by: swildner
14 years agolibcam: Remove dead assignment.
Sascha Wildner [Mon, 12 Oct 2009 22:31:27 +0000 (00:31 +0200)]
libcam: Remove dead assignment.

14 years agolibutil: Miscellaneous cleanup.
Sascha Wildner [Mon, 12 Oct 2009 21:56:15 +0000 (23:56 +0200)]
libutil: Miscellaneous cleanup.

* In setusercontext(), pwd is not guaranteed to be non-NULL if
  LOGIN_SETPRIORITY is in flags. Therefore, don't use it in the
  syslog() call.

* Remove some dead assignments.

14 years agouuidgen.2: Include <sys/types.h> for <sys/uuid.h>.
Sascha Wildner [Mon, 12 Oct 2009 19:07:54 +0000 (21:07 +0200)]
uuidgen.2: Include <sys/types.h> for <sys/uuid.h>.

14 years agousbhid.3: Use standard types.
Sascha Wildner [Mon, 12 Oct 2009 19:07:26 +0000 (21:07 +0200)]
usbhid.3: Use standard types.

14 years agoSOEKRIS: Adjust indent.
Sascha Wildner [Mon, 12 Oct 2009 12:37:04 +0000 (14:37 +0200)]
SOEKRIS: Adjust indent.

14 years agoLINT: Remove PAS_JOYSTICK_ENABLE option which doesn't exist.
Sascha Wildner [Mon, 12 Oct 2009 12:36:30 +0000 (14:36 +0200)]
LINT: Remove PAS_JOYSTICK_ENABLE option which doesn't exist.

14 years agoFreeBSD-supfile: Add 'projects'.
Sascha Wildner [Sun, 11 Oct 2009 23:30:44 +0000 (01:30 +0200)]
FreeBSD-supfile: Add 'projects'.