dragonfly.git
4 years agonrelease: fsck the root filesystem on our USB images.
Sascha Wildner [Sun, 10 Jan 2010 19:07:51 +0000 (20:07 +0100)]
nrelease: fsck the root filesystem on our USB images.

/ is mounted r/w for USB images, hence we need to fsck to prevent
accidental foot shooting in case some doesn't shutdown cleanly.

Reported-by: Emmanuel De Paepe <emmanuel_depaepe@yahoo.com>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1637>

4 years agogdtoa - Allocate more entries on freelist to better handle large fields.
Antonio Huete Jimenez [Wed, 6 Jan 2010 23:12:59 +0000 (00:12 +0100)]
gdtoa - Allocate more entries on freelist to better handle large fields.

http://www.securityfocus.com/bid/35510

Taken-from: NetBSD
Reported-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>
4 years agoFix a panic during snd_uaudio(4) attach.
Sascha Wildner [Tue, 5 Jan 2010 21:18:23 +0000 (22:18 +0100)]
Fix a panic during snd_uaudio(4) attach.

If mixer_ioctl() is called without process context, don't call
vchanvolume().

In-discussion-with: corecode

4 years agoHAMMER VFS - Fix serious bug when downgrading (and later upgrading) a PFS
Matthew Dillon [Tue, 5 Jan 2010 19:36:56 +0000 (11:36 -0800)]
HAMMER VFS - Fix serious bug when downgrading (and later upgrading) a PFS

* When downgrading a PFS master to a slave the sync-end-tid (in the
  pfs-status) is not updated.  This will cause the data to become
  inaccessible.

  Then, when upgrading back to a master the original stale sync-end-tid
  is used to rollback the PFS, effectively destroying its contents.

* We now properly update sync-end-tid when downgrading a PFS.  This
  makes the data accessible in slave mode and prevents the rollback
  when re-upgrading the PFS from destroying any of the master's original
  data.

* Why is a rollback used at all when upgrading you ask?  When a PFS is
  operating as a slave mirroring operations can be interrupted, leaving
  a lot of partially updated records.  Since sync-end-tid is not updated
  until the mirroring operation completes (when in slave mode), these
  partially mirrored records are not visible.

  However, if the slave is upgraded to a master any records from
  incomplete mirroring operations must be destroyed.  Hence the rollback
  during an upgrade is a necessary feature under normal operation.

Reported-by: Thomas Nikolajsen
4 years agoMerge branch 'DragonFly_RELEASE_2_4' of ssh://swildner@crater.dragonflybsd.org/reposi...
Sascha Wildner [Thu, 31 Dec 2009 17:58:43 +0000 (18:58 +0100)]
Merge branch 'DragonFly_RELEASE_2_4' of ssh://swildner@crater.dragonflybsd.org/repository/git/dragonfly into rel2_4

4 years agoSync zoneinfo database with tzdata2009u from elsie.
Sascha Wildner [Thu, 31 Dec 2009 17:57:31 +0000 (18:57 +0100)]
Sync zoneinfo database with tzdata2009u from elsie.

asia:           8.48 -> 8.50

Bangladesh will go back to Standard Time on December 31, 2009.

4 years agoinstaller: Fix the manual configuration of lnc(4) in VMware.
Sascha Wildner [Mon, 28 Dec 2009 20:51:17 +0000 (21:51 +0100)]
installer: Fix the manual configuration of lnc(4) in VMware.

7daaee58e8b828a4951bb466c19b066381826d2c fixed the DHCP case but not the
manual configuration case. Apply a similar fix there.

While here, move the DHCP fix a bit up, just to look similar in both
cases.

However, the exact issue hasn't been found yet. We don't know why string
is junk in VMware before these fixes, as nothing before the old location
of the asprintf() seems to modify it.

In-discussion-with: matthias

4 years agoSync zoneinfo database with tz{code,data}2009t from elsie.
Sascha Wildner [Mon, 21 Dec 2009 18:40:48 +0000 (19:40 +0100)]
Sync zoneinfo database with tz{code,data}2009t from elsie.

Theory:         8.3  -> 8.4
asia:           8.44 -> 8.48
europe:         8.24 -> 8.25
zone.tab:       8.29 -> 8.31

Theory      "Calendrical Calculations" updated (thanks to Steve Ward).
asia        Hong Kong comments corrected; Xinjiang comments added.
europe      Russian region comments updated (thanks to Oscar van Vlijmen)
zone.tab    version change only

4 years agoperiodic - Don't include timestamps in e-mail output by default.
Joe Talbott [Mon, 14 Dec 2009 17:25:39 +0000 (12:25 -0500)]
periodic - Don't include timestamps in e-mail output by default.

4 years agoSync zoneinfo database with tzdata2009s from elsie.
Sascha Wildner [Mon, 16 Nov 2009 21:29:24 +0000 (22:29 +0100)]
Sync zoneinfo database with tzdata2009s from elsie.

antarctica:     8.6  -> 8.7
australasia:    8.14 -> 8.15

* Fiji will re-introduce DST from November 29, 2009 to April 25, 2010

* Cosmetic change in 'antarctica' (2:0 -> 2:00)

4 years agoSync zoneinfo database with tzdata2009r from elsie.
Sascha Wildner [Mon, 9 Nov 2009 18:52:35 +0000 (19:52 +0100)]
Sync zoneinfo database with tzdata2009r from elsie.

antarctica:     8.5  -> 8.6

Three Australian stations in Antarctica have changed time zones on
October 18, 2009, 02:00 (local times):

Casey:    UTC+8 -> UTC+11
Davis:    UTC+7 -> UTC+5
Mawson:   UTC+6 -> UTC+5

4 years agoUpdate OpenSSL version number and regenerate the manual pages.
Aggelos Economopoulos [Sat, 7 Nov 2009 18:47:29 +0000 (18:47 +0000)]
Update OpenSSL version number and regenerate the manual pages.

4 years agoImport OpenSSL 0.9.8l
Aggelos Economopoulos [Sat, 7 Nov 2009 18:44:09 +0000 (18:44 +0000)]
Import OpenSSL 0.9.8l

Disables renegotiation to workaround CVE-2009-3555.

4 years agoFix xdm path in the Live{CD,DVD}'s /etc/ttys.
Sascha Wildner [Sat, 7 Nov 2009 15:18:35 +0000 (16:18 +0100)]
Fix xdm path in the Live{CD,DVD}'s /etc/ttys.

Reported-by: Johannes Hofmann <johannes.hofmann@gmx.de>
4 years agoSync zoneinfo database with tzdata2009q from elsie.
Sascha Wildner [Tue, 3 Nov 2009 08:12:39 +0000 (09:12 +0100)]
Sync zoneinfo database with tzdata2009q from elsie.

asia:           8.42 -> 8.44
europe:         8.22 -> 8.24
zone.tab:       8.28 -> 8.29

* Change end of DST in Syria in 2009 and forward from November 1 to the
  last Friday in October.

* Changes to past Hong Kong transitions.

* New zone for Russia's Kemerovo oblast' (Asia/Novokuznetsk).

4 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.

5 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"

5 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.

5 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@
5 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.

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

5 years agogetopt.1: getopt is deprecated, add a reference to getopts
Simon Schubert [Wed, 7 Oct 2009 12:15:15 +0000 (14:15 +0200)]
getopt.1: getopt is deprecated, add a reference to getopts

5 years agoMakefile.inc1: make sure that mtree is run for quickworld
Simon Schubert [Wed, 7 Oct 2009 00:26:12 +0000 (02:26 +0200)]
Makefile.inc1: make sure that mtree is run for quickworld

We need to run mtree in case new directories are added to the hierarchy
in case these directories are also used during the build.

5 years agodevelopment.7: clarify vendor import section
Simon 'corecode' Schubert [Wed, 30 Sep 2009 14:38:20 +0000 (16:38 +0200)]
development.7: clarify vendor import section

Vendor imports on branches that already exist have to be handled a bit
differently, so document this.

5 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).

5 years agoUnbreak building vkernel by not linking against -lthread_xu.
YONETANI Tomokazu [Fri, 9 Oct 2009 15:51:12 +0000 (00:51 +0900)]
Unbreak building vkernel by not linking against -lthread_xu.

5 years agothread libs: also remove the static libraries from /usr/lib
Simon Schubert [Wed, 7 Oct 2009 18:37:07 +0000 (20:37 +0200)]
thread libs: also remove the static libraries from /usr/lib

This is necessary, otherwise some software might want to link to the
static libc_r.a instead of leaving it alone alltogether.

5 years agothread libs: migrate the libpthread.* symlinks on upgrade
Simon Schubert [Wed, 7 Oct 2009 18:26:05 +0000 (20:26 +0200)]
thread libs: migrate the libpthread.* symlinks on upgrade

5 years agothread libs: move libc_r and libthread_xu to /usr/lib/thread
Simon Schubert [Wed, 7 Oct 2009 00:27:42 +0000 (02:27 +0200)]
thread libs: move libc_r and libthread_xu to /usr/lib/thread

This is so that badly written programs don't mistakenly pick up either
libc_r or libthread_xu.  The only correct way to get threading support
is to link to libpthread.

By moving the underlaying thread libs to a directory that is not
searched by the linker, we can enforce this policy.

Requested-by: hasso@
5 years agoamd64 - mpt(4) should use {,u}int32_t for S32/U32
YONETANI Tomokazu [Mon, 5 Oct 2009 01:04:20 +0000 (10:04 +0900)]
amd64 - mpt(4) should use {,u}int32_t for S32/U32
or else it uses {,un}signed long type which is of 64bits on 64-bit platforms.

5 years agoamd64 - add kvtop and add back ed(4) to AMD64_GENERIC
YONETANI Tomokazu [Sat, 3 Oct 2009 10:19:08 +0000 (19:19 +0900)]
amd64 - add kvtop and add back ed(4) to AMD64_GENERIC

5 years agorc.d/{initrandom,random}: Remove unneeded output
Thomas Nikolajsen [Sat, 18 Jul 2009 14:25:31 +0000 (16:25 +0200)]
rc.d/{initrandom,random}: Remove unneeded output

5 years agoNFS - Fix BIO size panics
Matthew Dillon [Sat, 3 Oct 2009 00:09:13 +0000 (17:09 -0700)]
NFS - Fix BIO size panics

* NFS calculates the BIO block size and stores it in mnt_stat.f_iosize.
  This field was getting overwritten with default values by STATFS
  being passing &mp->mnt_stat from the kernel.

  Conditionalize the field so it no longer gets overwritten, and also
  correct nm_rsize/nm_wsize tests to use the smaller of the two
  specifications for the BIO block size.

* Fixes diskless NFS root mounts, and NFS mounts which use smaller
  blocksizes.

Reported-by: Rumko <rumcic@gmail.com>, and others
5 years agoktrace - Add kern.ktrace_suid, allowing suid/sgid execs to be ktraced.
Matthew Dillon [Fri, 2 Oct 2009 18:16:30 +0000 (11:16 -0700)]
ktrace - Add kern.ktrace_suid, allowing suid/sgid execs to be ktraced.

* Defaults to off (secure).  May be set to non-zero to allow ktraces to
  ktrace through an suid/sgid exec, for debugging purposes only.

5 years agovkernel - Fix FP corruption from preemptive thread switch
Matthew Dillon [Fri, 2 Oct 2009 22:53:17 +0000 (15:53 -0700)]
vkernel - Fix FP corruption from preemptive thread switch

* Recent work on the vkernel enabled preemptive interrupt thread switching.
  This introduced a race where the floating point state could change
  out from under the vkernel's go_user() function, causing the FP state
  in the virtual user process to become corrupt.

* Fixed by introducing a critical section which essentially defers any
  preemptive thread switches inside go_user().

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
Test-cases-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
5 years agoHAMMER - Fix root inode creation for slave.
Matthew Dillon [Fri, 2 Oct 2009 16:11:44 +0000 (09:11 -0700)]
HAMMER - Fix root inode creation for slave.

* The root inode for a PFS is only supposed to be created for PFS masters.
  PFS slaves get their root inode from the mirroring operation.  No longer
  create the root inode for a PFS slave.

  The root inode was being incorrectly created for slaves as well as
  masters, causing the root inode from the mirroring operation to be
  ignored.

  This caused the root directory for a slave to show up as empty when
  doing a mirror-copy from a HAMMER version 1 filesystem to a HAMMER
  version 2 filesystem.

Reported-by: "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de>
5 years agoSync zoneinfo database with tzdata2009n from elsie.
Sascha Wildner [Thu, 1 Oct 2009 09:35:51 +0000 (11:35 +0200)]
Sync zoneinfo database with tzdata2009n from elsie.

asia:           8.40 -> 8.41
southamerica:   8.36 -> 8.37

* Pakistan ends DST on Oct 1, 2009

* Add some comments about Argentinian provinces oppsing 2009/10 DST.

5 years agotcsh: fix warning to keep compiling with WARNS=2 v2.4.1
Simon 'corecode' Schubert [Wed, 30 Sep 2009 13:55:28 +0000 (15:55 +0200)]
tcsh: fix warning to keep compiling with WARNS=2

5 years agotcsh: add our READMEs
Simon 'corecode' Schubert [Wed, 30 Sep 2009 13:52:31 +0000 (15:52 +0200)]
tcsh: add our READMEs

5 years agoMerge branch 'vendor/TCSH'
Matthew Dillon [Thu, 1 Oct 2009 00:44:54 +0000 (17:44 -0700)]
Merge branch 'vendor/TCSH'

5 years agoCAM - Fix missing SIM lock in cam_periph_release()
Matthew Dillon [Wed, 30 Sep 2009 22:26:05 +0000 (15:26 -0700)]
CAM - Fix missing SIM lock in cam_periph_release()

* When releasing the last reference on a CAM peripheral which has been
  marked invalid, the peripheral is then freed.  Freeing the peripheral
  requires the SIM lock.

  Go through necessary tribulations to acquire the SIM lock.  The lock order
  is important (SIM lock first, XPT lock second), and the SIM lock may or
  may not already be held by the thread.

* The bug could cause a crash after burning a CD as the CD becomes invalid
  after the burn completes in order to reload its state.

5 years agokernel - add missing header commit to interrupt config hooks changes
Matthew Dillon [Wed, 30 Sep 2009 19:57:50 +0000 (12:57 -0700)]
kernel - add missing header commit to interrupt config hooks changes

5 years agokernel - close holes in autoconf's run_interrupt_driven_config_hooks()
Matthew Dillon [Wed, 30 Sep 2009 18:47:25 +0000 (11:47 -0700)]
kernel - close holes in autoconf's run_interrupt_driven_config_hooks()

* Interlock with a ran_config_hooks static variable instead of 'cold'

* Get rid of list races which might occur due to hooks being removed
  while the hooks are being run.

* Use a finer 1-second sleep interval instead of a 10-second sleep.

5 years agokernel - CAM - track busses for configuration
Matthew Dillon [Wed, 30 Sep 2009 18:45:53 +0000 (11:45 -0700)]
kernel - CAM - track busses for configuration

* To prevent an underflow of the busses_to_config variable, track
  which busses were counted towards the busses we are waiting for.

* Add kprintfs for verbose operation plus one or two for normal booting.

5 years agokernel - taskqueue - MFC M_ZERO fix
Matthew Dillon [Wed, 30 Sep 2009 18:50:56 +0000 (11:50 -0700)]
kernel - taskqueue - MFC M_ZERO fix

* MFC just the M_ZERO fix from master.

5 years agonrelease - gui build www/firefox3 -> www/firefox
Matthew Dillon [Wed, 30 Sep 2009 16:39:52 +0000 (09:39 -0700)]
nrelease - gui build www/firefox3 -> www/firefox

* The www/firefox3 directory was removed from pkgsrc and
  is now just www/firefox.

5 years agoman: fix bug with relative file names
Simon 'corecode' Schubert [Wed, 30 Sep 2009 14:35:32 +0000 (16:35 +0200)]
man: fix bug with relative file names

Man assembles a command chain which only works properly when the passed
file name is absolute or relative without any directory component.

5 years agoFix chdir/fchdir for setuid/setgid binaries
Simon 'corecode' Schubert [Wed, 30 Sep 2009 15:02:24 +0000 (17:02 +0200)]
Fix chdir/fchdir for setuid/setgid binaries

Access checks for a directory have to be done using the euid/egid, not
the ruid/rgid.

5 years agoFix exec from setuid/setgid binaries
Simon Schubert [Tue, 29 Sep 2009 18:42:01 +0000 (20:42 +0200)]
Fix exec from setuid/setgid binaries

In the context of exec, we have to use the effective uid/gid to check
whether the process has permissions to exec, not the ruid/rgid.

5 years agoi386/identcpu.c: Add VIA Nano support
Thomas Nikolajsen [Wed, 15 Jul 2009 16:29:25 +0000 (18:29 +0200)]
i386/identcpu.c: Add VIA Nano support

Obtained-from: FreeBSD

5 years agoi386/identcpu.c: Add support for VIA C7
Thomas Nikolajsen [Mon, 28 Sep 2009 20:41:14 +0000 (22:41 +0200)]
i386/identcpu.c: Add support for VIA C7

Obtained-from: FreeBSD

5 years agoperiodic(8): Add time stamps to log
Thomas Nikolajsen [Wed, 15 Jul 2009 22:26:21 +0000 (00:26 +0200)]
periodic(8): Add time stamps to log

5 years agozmore: Fix incorrect test
Thomas Nikolajsen [Sun, 19 Jul 2009 08:28:14 +0000 (10:28 +0200)]
zmore: Fix incorrect test

DragonFly test(1) (aka [) doesn't support `X == Y' (unlike e.g. bash),
this applies to both sh(1) buildin and stand alone.

5 years agogpt.8: Update example and note
Thomas Nikolajsen [Mon, 28 Sep 2009 20:28:23 +0000 (22:28 +0200)]
gpt.8: Update example and note

 * don't use da8 as general disk in examples,
   as it is now default for removable device

 * adjust boot setup example to present defaults:
   * no `-o packet' needed for bootcfg,
   * kernel lives in boot/, no need for extra mv

 * use preferred HAMMER label (as in installer & rconfig example)

 * add suggestion for exact text to commands and break too long lines

 * drop note that boot only is supported on 32 bit disklabels

5 years agodragonfly-tips: Add missing spaces
Thomas Nikolajsen [Fri, 24 Jul 2009 19:40:24 +0000 (21:40 +0200)]
dragonfly-tips: Add missing spaces

5 years agodragonfly-tips: Add to varsym tip & add some HAMMER tips
Thomas Nikolajsen [Mon, 28 Sep 2009 20:20:18 +0000 (22:20 +0200)]
dragonfly-tips: Add to varsym tip & add some HAMMER tips

5 years agorc.8: Fix description of fsck durig startup
Thomas Nikolajsen [Mon, 28 Sep 2009 20:02:46 +0000 (22:02 +0200)]
rc.8: Fix description of fsck durig startup

 DragonFly doesn't do background fsck

5 years agomd.4: Include kernel module description & adjust example for devfs chnage
Thomas Nikolajsen [Mon, 28 Sep 2009 19:51:06 +0000 (21:51 +0200)]
md.4: Include kernel module description & adjust example for devfs chnage

5 years agorc.d/devfs: Add missing line termination.
Thomas Nikolajsen [Sun, 6 Sep 2009 18:53:26 +0000 (20:53 +0200)]
rc.d/devfs: Add missing line termination.

5 years agogetdevpath(8): Sync usage() to man page
Thomas Nikolajsen [Sat, 12 Sep 2009 20:13:27 +0000 (22:13 +0200)]
getdevpath(8): Sync usage() to man page

5 years agomountctl(8): Improve Synopsis & sync usage(), also improve markup
Thomas Nikolajsen [Mon, 28 Sep 2009 19:33:06 +0000 (21:33 +0200)]
mountctl(8): Improve Synopsis & sync usage(), also improve markup

5 years agoDEVFS - Add probing of OpenBSD slices
Thomas Nikolajsen [Mon, 21 Sep 2009 18:21:00 +0000 (20:21 +0200)]
DEVFS - Add probing of OpenBSD slices

5 years agosystat.1: Improve markup & add line breaks (end of sentence etc.)
Thomas Nikolajsen [Mon, 28 Sep 2009 18:55:01 +0000 (20:55 +0200)]
systat.1: Improve markup & add line breaks (end of sentence etc.)

5 years agoiscontrol(8): Fix synopsis, sync usage() & improve markup
Thomas Nikolajsen [Tue, 22 Sep 2009 20:10:36 +0000 (22:10 +0200)]
iscontrol(8): Fix synopsis, sync usage() & improve markup

 * Note that /etc/iscsi.conf is default -c file

 * Sort options, fix synopsis & sync usage()

 * Add FILES section

 * Change example to specify non-default config file

 * Improve markup

5 years agonrelease (2.4.1) - Bump subversion to 1
Matthew Dillon [Tue, 29 Sep 2009 03:00:17 +0000 (20:00 -0700)]
nrelease (2.4.1) - Bump subversion to 1

5 years agodisklabel(8): Update man page & sync usage()
Thomas Nikolajsen [Mon, 28 Sep 2009 18:37:01 +0000 (20:37 +0200)]
disklabel(8): Update man page & sync usage()

 * improve markup

 * sync to disklabel64.8

 * sync usage() to synopsis

5 years agodisklabel64(8): Update man page & sync usage()
Thomas Nikolajsen [Mon, 28 Sep 2009 18:32:08 +0000 (20:32 +0200)]
disklabel64(8): Update man page & sync usage()

 * re-add description of bootstrap support

 * improve markup

 * sync to disklabel.8

5 years agokernconf.5: Add info on 64-bit kernels & improve markup
Thomas Nikolajsen [Mon, 28 Sep 2009 17:45:59 +0000 (19:45 +0200)]
kernconf.5: Add info on 64-bit kernels & improve markup

5 years agoln: Drop deprecated flag in man page example & sync usage() to man page
Thomas Nikolajsen [Sat, 26 Sep 2009 22:18:19 +0000 (00:18 +0200)]
ln: Drop deprecated flag in man page example & sync usage() to man page

 * `sysctl -w' is deprecated; drop `-w' in man page example

 * sync usage() to man page

 * break lines at end of sentence

5 years agovarsym: Update man page & sync usage()
Thomas Nikolajsen [Sun, 27 Sep 2009 11:17:43 +0000 (13:17 +0200)]
varsym: Update man page & sync usage()

 * fix synopsis: multiple variables can be handled

 * sort options

 * sync usage() to synopsis

 * improve markup

 * break line at end of sentence

5 years agoaibs: Add ASUSTeK AI Booster ACPI ATK0110 sensors
Thomas Nikolajsen [Sun, 27 Sep 2009 21:04:57 +0000 (23:04 +0200)]
aibs: Add ASUSTeK AI Booster ACPI ATK0110 sensors

Submitted-by: Constantine A. Murenin <cnst+dfly@bugmail.mojo.ru>
DragonFly bugs: <http://bugs.dragonflybsd.org/issue1529>

5 years agomount_hammer(8): Update man page & sync usage()
Thomas Nikolajsen [Sun, 27 Sep 2009 21:52:46 +0000 (23:52 +0200)]
mount_hammer(8): Update man page & sync usage()

 * fix synopsis: -u not optional in last form of synopsis

 * sort options

 * improve description of -o flag:
non HAMMER specific options are also supported

 * improve markup

 * break lines at end of sentence

 * sync usage() to synopsis

5 years agohammer.5: Add info on general items & new features
Thomas Nikolajsen [Mon, 28 Sep 2009 00:33:17 +0000 (02:33 +0200)]
hammer.5: Add info on general items & new features

 * add more info on maximum HAMMER file system size & minimum recommended

 * add info on nohistory chflags(1) flag

 * .. rebalance

 * .. prune-min

5 years agonewfs_hammer(8): Update man page and program messages
Thomas Nikolajsen [Mon, 28 Sep 2009 01:01:43 +0000 (03:01 +0200)]
newfs_hammer(8): Update man page and program messages

 * add `B' / `byte' in a few places

 * sort options

 * sync usage() to synopsis

 * improve markup

5 years agovnconfig.8: Describe autocloning & improve markup
Thomas Nikolajsen [Mon, 28 Sep 2009 12:22:30 +0000 (14:22 +0200)]
vnconfig.8: Describe autocloning & improve markup

5 years agovn.4: Describe autocloning & use standard description for kernel modules
Thomas Nikolajsen [Mon, 28 Sep 2009 17:20:55 +0000 (19:20 +0200)]
vn.4: Describe autocloning & use standard description for kernel modules

5 years agohammer(8): Update man page & sync usage()
Thomas Nikolajsen [Mon, 28 Sep 2009 13:20:49 +0000 (15:20 +0200)]
hammer(8): Update man page & sync usage()

 * adjust description to prune-min

 * add description of prune-min syntax
and use same syntax in error message, usage() & man page

 * add info on HAMMER version 2

 * remove stale note:
'PFS support is currently very new and experimental.'

 * sort options

 * sync usage() to synopsis

 * improve markup

 * break lines at end of sentence

5 years agoboot - Bring in real-mode fixes for BIOS calls
Matthew Dillon [Fri, 18 Sep 2009 19:18:55 +0000 (12:18 -0700)]
boot - Bring in real-mode fixes for BIOS calls

* Make BIOS calls in real mode now (I think), and no longer use the
  pmap hacks.

  Improves BIOS compatibility, particularly when booting from a USB
  mass storage device.

Taken-from: FreeBSD
Submitted-by: Jordan Gordeev <smtms@crater.dragonflybsd.org>
5 years agoHook mount_hpfs into the build. It builds and even works.
Sascha Wildner [Wed, 16 Sep 2009 15:05:30 +0000 (17:05 +0200)]
Hook mount_hpfs into the build. It builds and even works.

However, comment out all code related to the (undocumented) -W option.
It would be painful to convert it to libiconv and the current code
depends on /usr/libdata/msdosfs which is gone.

Tested-with-OS/2: polachok

5 years agoinstaller: Move the remaining installer related files out of /usr/local.
Sascha Wildner [Sat, 26 Sep 2009 19:06:27 +0000 (21:06 +0200)]
installer: Move the remaining installer related files out of /usr/local.

Reported-by: y0netan1
5 years agodevfs - Change make_dev_covering to use dev_ops
Alex Hornung [Fri, 25 Sep 2009 21:49:30 +0000 (22:49 +0100)]
devfs - Change make_dev_covering to use dev_ops

* Change make_dev_covering and all other related functions to use a
  backing dev_ops instead of a backing cdev.
  This allows for a more generic use of make_dev_covering, without the
  need of an explicit backing cdev.

* Also change make_autoclone_dev to use the new make_dev_covering to
  avoid maj/min collision between base clonable devices.

5 years agotty_pty - Use different dev_ops for unix98 ptys
Alex Hornung [Fri, 25 Sep 2009 21:45:55 +0000 (22:45 +0100)]
tty_pty - Use different dev_ops for unix98 ptys

* Use a different struct dev_ops for unix98 ptys, so a different major
  number is automatically allocated for them. This avoids maj/min collision
  between old-style bsd ptys and unix98 ptys.

5 years ago__sys__exit() -> __sys_exit()
Hasso Tepper [Fri, 25 Sep 2009 07:20:43 +0000 (10:20 +0300)]
__sys__exit() -> __sys_exit()

Reported-by: Jeremy C. Reed <reed at reedmedia.net>
5 years agoamd64: sync cpu/stdint.h with i386
Simon 'corecode' Schubert [Tue, 22 Sep 2009 00:18:48 +0000 (17:18 -0700)]
amd64: sync cpu/stdint.h with i386

5 years agoamd64: install intrinsic headers
Simon 'corecode' Schubert [Tue, 22 Sep 2009 00:17:57 +0000 (17:17 -0700)]
amd64: install intrinsic headers

5 years agodma: defer delivery if STARTTLS fails
Simon Schubert [Mon, 21 Sep 2009 13:37:30 +0000 (15:37 +0200)]
dma: defer delivery if STARTTLS fails

5 years agodma: treat connect status messages properly
Simon Schubert [Mon, 21 Sep 2009 11:28:37 +0000 (13:28 +0200)]
dma: treat connect status messages properly

5 years agodma: rework config parsing
Simon Schubert [Mon, 21 Sep 2009 11:16:07 +0000 (13:16 +0200)]
dma: rework config parsing

5 years agodisk - Also probe NetBSD slices for labels
Alex Hornung [Sun, 20 Sep 2009 19:59:48 +0000 (20:59 +0100)]
disk - Also probe NetBSD slices for labels

* Also probe NetBSD slice types (169 / 0xa9) for disklabels, as we also
  support them.

Reported-by: trevorjk
5 years agomd - when setdiskinfo, also set no of blocks
Alex Hornung [Sun, 20 Sep 2009 19:52:44 +0000 (20:52 +0100)]
md - when setdiskinfo, also set no of blocks

* Before calling disk_setdiskinfo, make sure that the number of blocks
  is also set or no probing will be triggered at that point.

* Also disable setdiskinfo on open, as it shouldn't be needed.

* Fix nomenclature md0c -> md0s0.

* This also fixes root mount from md disk image.

Reported By: Alexander Polakov
Dragonfly-bug: http://bugs.dragonflybsd.org/issue1522

5 years agodma: perform MX lookups
Simon Schubert [Sun, 20 Sep 2009 18:58:37 +0000 (20:58 +0200)]
dma: perform MX lookups

5 years agodma: allow empty sender in queue files
Simon Schubert [Sun, 20 Sep 2009 18:57:34 +0000 (20:57 +0200)]
dma: allow empty sender in queue files

Empty senders happen when a bounce gets queued, so we need to accept
such queue files.

5 years agodma: create spool files mode 660
Simon Schubert [Sun, 20 Sep 2009 18:56:32 +0000 (20:56 +0200)]
dma: create spool files mode 660

dma runs setgid mail, so we need to create files which are group
readable, otherwise we won't be able to read them later.

5 years agosh(1): Raise WARNS to 6 and fix warnings.
Sascha Wildner [Sun, 20 Sep 2009 17:27:43 +0000 (19:27 +0200)]
sh(1): Raise WARNS to 6 and fix warnings.

5 years agolex(1): Raise WARNS to 2.
Sascha Wildner [Sun, 20 Sep 2009 15:27:54 +0000 (17:27 +0200)]
lex(1): Raise WARNS to 2.

5 years agotop(1): Raise WARNS to 6 and fix warnings.
Sascha Wildner [Sun, 20 Sep 2009 15:18:22 +0000 (17:18 +0200)]
top(1): Raise WARNS to 6 and fix warnings.

5 years agowall(1)/syslogd(8): Raise WARNS to 6 and fix warnings.
Sascha Wildner [Sun, 20 Sep 2009 14:53:31 +0000 (16:53 +0200)]
wall(1)/syslogd(8): Raise WARNS to 6 and fix warnings.

5 years agoSync vipw(8) with FreeBSD.
Sascha Wildner [Sun, 20 Sep 2009 14:18:37 +0000 (16:18 +0200)]
Sync vipw(8) with FreeBSD.

Mainly, use libutil for passwd manipulation.

5 years agobthcid(8): Raise WARNS to 6 and fix warnings.
Sascha Wildner [Sun, 20 Sep 2009 11:19:28 +0000 (13:19 +0200)]
bthcid(8): Raise WARNS to 6 and fix warnings.

5 years agoiscontrol.8: fix date
Sascha Wildner [Sat, 19 Sep 2009 18:53:34 +0000 (20:53 +0200)]
iscontrol.8: fix date