Re: svn commit: r241576 - in head/usr.sbin/cron: cron crontab lib

2012-10-15 Thread Bruce Cran
On 16/10/2012 00:26, Adrian Chadd wrote: Maybe crontab should be using a command via a socket to reload, rather than stat'ing files.. Or kqueue? -- Bruce Cran ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinf

Re: svn commit: r241576 - in head/usr.sbin/cron: cron crontab lib

2012-10-15 Thread Bruce Cran
op anymore. People are getting upset about unnecessary wakeups again because it's possible to save quite a bit of power by keeping the system idle. -- Bruce Cran ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/

Re: svn commit: r240527 - head/bin/df

2012-09-15 Thread Bruce Cran
On 15/09/2012 21:57, Tijl Coosemans wrote: Freeing memory right before exiting is a waste of time. The tool shouldn't complain about it. "/Stop wasting time and just exit already/." - http://blogs.msdn.com/b/oldnewthing/archive/2012/01/05/10253268.aspx

svn commit: r232509 - head/sys/compat/ndis

2012-03-04 Thread Bruce Cran
Author: brucec Date: Sun Mar 4 17:08:43 2012 New Revision: 232509 URL: http://svn.freebsd.org/changeset/base/232509 Log: Fix race condition in KfRaiseIrql(). After getting the current irql, if the kthread gets preempted and subsequently runs on a different CPU, the saved irql could be wr

Re: svn commit: r228192 - head/usr.sbin/bsdinstall/scripts

2011-12-02 Thread Bruce Cran
s for every detail (e.g. console settings). For people who want their OS to be as simple as possible there's PC-BSD. -- Bruce Cran ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, sen

Re: svn commit: r222998 - head/usr.sbin/bsdinstall

2011-06-12 Thread Bruce Cran
On 11/06/2011 22:44, Nathan Whitehorn wrote: Author: nwhitehorn Date: Sat Jun 11 21:44:07 2011 New Revision: 222998 URL: http://svn.freebsd.org/changeset/base/222998 Log: Long-overdue man page for bsdinstall. +.Dd June 11, 2010 I guess this should be 2011? -- Bruce Cran

svn commit: r222248 - head/sys/conf

2011-05-24 Thread Bruce Cran
Author: brucec Date: Tue May 24 09:01:56 2011 New Revision: 48 URL: http://svn.freebsd.org/changeset/base/48 Log: Remove an outdated comment as requested by Bruce Evans in a private email to Alexander Best (arundel@). For clang, -fdiagnostics-show-option is enabled by default, but

svn commit: r221879 - head/sys/conf

2011-05-14 Thread Bruce Cran
Author: brucec Date: Sat May 14 11:26:00 2011 New Revision: 221879 URL: http://svn.freebsd.org/changeset/base/221879 Log: gcc and clang semantics imply certain -mno-* flags when other certain -mno-* flags are also specified. This change makes use of this behaviour and removes unneeded -mno-*

svn commit: r221320 - head/sys/conf

2011-05-02 Thread Bruce Cran
Author: brucec Date: Mon May 2 10:35:27 2011 New Revision: 221320 URL: http://svn.freebsd.org/changeset/base/221320 Log: Add -Wmissing-include-dirs to CWARNFLAGS, so tinderbox will punish those developers committing new code with broken include directories. Fix a few whitespace issues. Im

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-24 Thread Bruce Cran
On Sun, 24 Apr 2011 12:15:51 +0300 Alexander Motin wrote: > On 24.04.2011 12:06, Bruce Cran wrote: > > People might expect that if ata(4) numbering starts with ad4, ada4 > > would be created. However on my machines I've seen ad4 get mapped to > > ada0. > > Ye

Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf

2011-04-24 Thread Bruce Cran
numbers for each type in order of > detection, unless configured otherwise with tunables, see cam(4)). People might expect that if ata(4) numbering starts with ad4, ada4 would be created. However on my machines I've seen ad4 get mapped to ada0. -- Bruce Cran __

Re: svn commit: r220712 - head/sys/modules/netgraph/atm/ccatm

2011-04-16 Thread Bruce Cran
On Sat, 2011-04-16 at 11:15 +, Bruce Cran wrote: > Log: > Remove missing include directory in preparation for adding > -Wmissing-include-dirs to CWARNFLAGS. Submitted by: arundel -- Bruce Cran ___ svn-src-head@freebsd.org mailing

svn commit: r220712 - head/sys/modules/netgraph/atm/ccatm

2011-04-16 Thread Bruce Cran
Author: brucec Date: Sat Apr 16 11:15:57 2011 New Revision: 220712 URL: http://svn.freebsd.org/changeset/base/220712 Log: Remove missing include directory in preparation for adding -Wmissing-include-dirs to CWARNFLAGS. Modified: head/sys/modules/netgraph/atm/ccatm/Makefile Modified: head/s

Re: svn commit: r220412 - in head: share/man/man4 sys/cam/ata

2011-04-07 Thread Bruce Cran
On Thursday 07 Apr 2011 09:17:53 Alexander Motin wrote: > +This variable determines whether device write cache should be enabled or > not. +Set to 1 to enable write cache, 0 to disable, -1 to left it as-is. "left" should probably be "le

Re: svn commit: r219679 - head/sys/i386/include

2011-03-16 Thread Bruce Cran
there are a large number of such machines still in use, and > they are still perfectly suitable for a large number of tasks. Some low power x86 CPUs don't have SSE2 either. -- Bruce Cran ___ svn-src-head@freebsd.org mailing list http://lists

Re: svn commit: r219699 - head/sys/kern

2011-03-16 Thread Bruce Cran
On Wed, 16 Mar 2011 20:51:17 +0100 Ivan Voras wrote: > (Are there any ready read > multi-stream read tests which are not trivial i.e. they start from > different positions in the file?) I think sysutils/fio can do that. -- Bruce Cran __

svn commit: r219613 - head/usr.bin/netstat

2011-03-13 Thread Bruce Cran
Author: brucec Date: Sun Mar 13 16:47:21 2011 New Revision: 219613 URL: http://svn.freebsd.org/changeset/base/219613 Log: Fix typo. Modified: head/usr.bin/netstat/sctp.c Modified: head/usr.bin/netstat/sctp.c == --- h

svn commit: r219568 - head/tools/regression/doat

2011-03-12 Thread Bruce Cran
Author: brucec Date: Sat Mar 12 14:47:54 2011 New Revision: 219568 URL: http://svn.freebsd.org/changeset/base/219568 Log: Fix warnings and style(9) issues. Set WARNS to 6. Modified: head/tools/regression/doat/Makefile head/tools/regression/doat/doat.c Modified: head/tools/regression/doat

svn commit: r219527 - head/tools/tools/iwi

2011-03-11 Thread Bruce Cran
Author: brucec Date: Fri Mar 11 19:32:15 2011 New Revision: 219527 URL: http://svn.freebsd.org/changeset/base/219527 Log: Fix warnings and style(9) issues. Set WARNS to 6. Modified: head/tools/tools/iwi/Makefile head/tools/tools/iwi/iwistats.c Modified: head/tools/tools/iwi/Makefile

svn commit: r219524 - head/tools/tools/ether_reflect

2011-03-11 Thread Bruce Cran
Author: brucec Date: Fri Mar 11 19:19:47 2011 New Revision: 219524 URL: http://svn.freebsd.org/changeset/base/219524 Log: Fix the build: we have snprintf(3). MFC after:1 week Modified: head/tools/tools/ether_reflect/Makefile Modified: head/tools/tools/ether_reflect/Makefile

svn commit: r219522 - head/tools/tools/aac

2011-03-11 Thread Bruce Cran
Author: brucec Date: Fri Mar 11 18:51:42 2011 New Revision: 219522 URL: http://svn.freebsd.org/changeset/base/219522 Log: Fix warnings and set WARNS to 6. MFC after:1 week Modified: head/tools/tools/aac/Makefile head/tools/tools/aac/aac_checkq.c Modified: head/tools/tools/aac/Make

svn commit: r219521 - head/tools/tools/cfi

2011-03-11 Thread Bruce Cran
Author: brucec Date: Fri Mar 11 18:48:28 2011 New Revision: 219521 URL: http://svn.freebsd.org/changeset/base/219521 Log: Fix warnings and set WARNS to 6. MFC after:1 week Modified: head/tools/tools/cfi/Makefile head/tools/tools/cfi/cfi.c Modified: head/tools/tools/cfi/Makefile ==

svn commit: r219519 - head/tools/tools/ncpus

2011-03-11 Thread Bruce Cran
Author: brucec Date: Fri Mar 11 18:44:16 2011 New Revision: 219519 URL: http://svn.freebsd.org/changeset/base/219519 Log: mptable.h is now in include/x86. Modified: head/tools/tools/ncpus/biosmptable.c Modified: head/tools/tools/ncpus/biosmptable.c ===

svn commit: r219511 - head/tools/test/malloc

2011-03-11 Thread Bruce Cran
Author: brucec Date: Fri Mar 11 17:33:31 2011 New Revision: 219511 URL: http://svn.freebsd.org/changeset/base/219511 Log: Fix warnings and style(9) issues. Set WARNS to 6. MFC after:1 week Modified: head/tools/test/malloc/Makefile head/tools/test/malloc/main.c Modified: head/too

svn commit: r219126 - in head: lib/libc/yp lib/libelf share/man/man7 sys/boot/i386/cdboot sys/boot/pc98/cdboot usr.bin/checknr

2011-03-01 Thread Bruce Cran
Author: brucec Date: Tue Mar 1 11:47:51 2011 New Revision: 219126 URL: http://svn.freebsd.org/changeset/base/219126 Log: Remove duplicate "in". Suggested by: Rob Farmer MFC after:3 days Modified: head/lib/libc/yp/xdryp.c head/lib/libelf/libelf_convert.m4 head/share/man/man7/s

svn commit: r219124 - head/sys/vm

2011-03-01 Thread Bruce Cran
Author: brucec Date: Tue Mar 1 11:04:30 2011 New Revision: 219124 URL: http://svn.freebsd.org/changeset/base/219124 Log: Change the return type of vmspace_swap_count to a long to match the other vmspace_*_count functions. MFC after:3 days Modified: head/sys/vm/swap_pager.c head/

Re: svn commit: r219096 - in head: lib/libc/yp lib/libelf share/man/man7 sys/boot/i386/cdboot sys/boot/pc98/cdboot usr.bin/checknr

2011-03-01 Thread Bruce Cran
On Mon, 2011-02-28 at 19:07 -0800, Rob Farmer wrote: > On Mon, Feb 28, 2011 at 2:03 AM, Bruce Cran wrote: > > Author: brucec > > Date: Mon Feb 28 10:03:48 2011 > > New Revision: 219096 > > URL: http://svn.freebsd.org/changeset/base/219096 > > > > Log: > &

svn commit: r219096 - in head: lib/libc/yp lib/libelf share/man/man7 sys/boot/i386/cdboot sys/boot/pc98/cdboot usr.bin/checknr

2011-02-28 Thread Bruce Cran
Author: brucec Date: Mon Feb 28 10:03:48 2011 New Revision: 219096 URL: http://svn.freebsd.org/changeset/base/219096 Log: Revert some of r177626. "in in" is valid in certain sentences. PR: 121490 MFC after:3 days Modified: head/lib/libc/yp/xdryp.c head/lib/libelf/libelf

Re: svn commit: r219091 - head/share/timedef

2011-02-27 Thread Bruce Cran
name from the wrong group. Could you limit lines to 80 characters please? If you use vim, the following in ~/.vimrc will cause it to highlight overly long lines in red: highlight OverLength ctermbg=red ctermfg=white guibg=#592929 match OverLength /\%81v.\+/ -- Bruce Cran __

svn commit: r219081 - head/contrib/lukemftp/src

2011-02-27 Thread Bruce Cran
Author: brucec Date: Sun Feb 27 10:13:16 2011 New Revision: 219081 URL: http://svn.freebsd.org/changeset/base/219081 Log: Merge fix from r1.108 of NetBSD's usr.bin/ftp/main.c: Only attempt to el_parse() a command unknown by the default parser if editing is enabled. PR: bin/

Re: svn commit: r218966 - head/sys/vm

2011-02-27 Thread Bruce Cran
ax_t for safety (even that is not safe if the subexpressions have > large values). So: > > (uintmax_t)swap_bcount * SWAP_META_PAGES * n / mumble. Following Alan's suggestion, I've attached an updated patch which uses a cast to u_long and returns lon

svn commit: r219055 - head/share/doc/psd/23.rpc

2011-02-26 Thread Bruce Cran
Author: brucec Date: Sat Feb 26 12:50:28 2011 New Revision: 219055 URL: http://svn.freebsd.org/changeset/base/219055 Log: Fix typo - "is is" should have been changed to "it is" in r218965. Modified: head/share/doc/psd/23.rpc/rpc.prog.ms Modified: head/share/doc/psd/23.rpc/rpc.prog.ms ===

Re: svn commit: r218966 - head/sys/vm

2011-02-23 Thread Bruce Cran
ect->size has even larger bugs than `start' and > `end', since it is more global. I've attached a patch which changes 'n' to be of type vm_ooffset_t. I think this should fix the overflow bug? -- Bruce Cran Index: swap_pager.c ===

svn commit: r218985 - head/sys/compat/ndis

2011-02-23 Thread Bruce Cran
Author: brucec Date: Wed Feb 23 21:45:28 2011 New Revision: 218985 URL: http://svn.freebsd.org/changeset/base/218985 Log: Use the cprd_mem field when setting the start and length for a memory resource - the layout of cprd_port is identical but using cprd_mem makes the code easier to understa

Re: svn commit: r218974 - in head/sys/boot: common efi/libefi

2011-02-23 Thread Bruce Cran
On Wed, 2011-02-23 at 17:17 +, Bruce Cran wrote: > Author: brucec > Date: Wed Feb 23 17:17:05 2011 > New Revision: 218974 > URL: http://svn.freebsd.org/changeset/base/218974 > > Log: > Handle memory allocation failures in include(). > >

svn commit: r218974 - in head/sys/boot: common efi/libefi

2011-02-23 Thread Bruce Cran
Author: brucec Date: Wed Feb 23 17:17:05 2011 New Revision: 218974 URL: http://svn.freebsd.org/changeset/base/218974 Log: Handle memory allocation failures in include(). PR: i386/85652 Submitted by: Ben Thomas MFC after:3 days Modified: head/sys/boot/common/interp.c

svn commit: r218966 - head/sys/vm

2011-02-23 Thread Bruce Cran
Author: brucec Date: Wed Feb 23 10:28:37 2011 New Revision: 218966 URL: http://svn.freebsd.org/changeset/base/218966 Log: Calculate and return the count in vmspace_swap_count as a vm_offset_t instead of an int to avoid overflow. While here, clean up some style(9) issues. PR:

svn commit: r218965 - in head: sbin/growfs share/doc/papers/devfs share/doc/psd/23.rpc sys/fs/nullfs sys/libkern sys/net80211 sys/x86/isa usr.bin/tip/tip

2011-02-23 Thread Bruce Cran
Author: brucec Date: Wed Feb 23 09:22:33 2011 New Revision: 218965 URL: http://svn.freebsd.org/changeset/base/218965 Log: Fix typos - remove duplicate "is". PR: docs/154934 Submitted by: Eitan Adler MFC after:3 days Modified: head/sbin/growfs/growfs.c head/share/doc/

svn commit: r218918 - head/sys/crypto/sha2

2011-02-21 Thread Bruce Cran
Author: brucec Date: Mon Feb 21 16:21:43 2011 New Revision: 218918 URL: http://svn.freebsd.org/changeset/base/218918 Log: Make private functions static. PR: kern/43611 Submitted by: Matt Emmerton Reviewed by: kib MFC after:3 days Modified: head/sys/crypto/sha2/sha2.

svn commit: r218910 - head/usr.sbin/fdformat

2011-02-21 Thread Bruce Cran
Author: brucec Date: Mon Feb 21 09:56:08 2011 New Revision: 218910 URL: http://svn.freebsd.org/changeset/base/218910 Log: The FD_FORM ioctl used to ignore errors from the floppy controller; now when it encounters an error it returns an error from the ioctl. Ignore any errors when using the F

Re: svn commit: r218650 - head/games/fortune/datfiles

2011-02-20 Thread Bruce Cran
On Sat, 19 Feb 2011 16:19:14 -0800 Steve Kargl wrote: > So, 'svn revert' does not work on branches? It only works for uncommitted changes - "svn merge" does work though. -- Bruce Cran ___ svn-src-head@freebs

Re: svn commit: r218650 - head/games/fortune/datfiles

2011-02-19 Thread Bruce Cran
> probably qualify. I'm happy to revert the checkin if you think the fortune should be in the main file, since it appears the PR submitter was complaining just as much about being unprofessional as offensive. Would you like me to go ahead and revert

Re: svn commit: r218650 - head/games/fortune/datfiles

2011-02-19 Thread Bruce Cran
> probably qualify. Yes, someone complained. From bin/137702: "A coworker pointed out a borderline offensive fortune that appeared in my email signature which is partially generated from `fortune -s` output. [...] I agree that it's probably not appropriate in a profes

svn commit: r218854 - head/share/examples/pf

2011-02-19 Thread Bruce Cran
Author: brucec Date: Sat Feb 19 14:57:00 2011 New Revision: 218854 URL: http://svn.freebsd.org/changeset/base/218854 Log: Update the icmp example to show allowing only the safe types. Suggested by: Tom Judge MFC after:3 days Modified: head/share/examples/pf/pf.conf Modified: head

svn commit: r218841 - head/usr.sbin/sysinstall

2011-02-19 Thread Bruce Cran
Author: brucec Date: Sat Feb 19 09:33:53 2011 New Revision: 218841 URL: http://svn.freebsd.org/changeset/base/218841 Log: Allow users to create ufs1 filesystems via the noninteractive install.cfg system. PR: bin/113979 MFC after:3 days Modified: head/usr.sbin/sysinstall

svn commit: r218840 - head/usr.sbin/sysinstall

2011-02-19 Thread Bruce Cran
Author: brucec Date: Sat Feb 19 09:24:24 2011 New Revision: 218840 URL: http://svn.freebsd.org/changeset/base/218840 Log: Remove the quotas option from the Startup Services menu. GENERIC has no support for quotas so this option has no effect. PR: bin/123237 Submitted by: Lawre

svn commit: r218839 - head/usr.sbin/sysinstall

2011-02-19 Thread Bruce Cran
Author: brucec Date: Sat Feb 19 09:08:13 2011 New Revision: 218839 URL: http://svn.freebsd.org/changeset/base/218839 Log: In the distribution list, 'A' is listed as the key to press to select both 'All' and 'Minimal'. Update the keys for Minimal and Custom to avoid the conflict. PR: b

Re: svn commit: r218802 - head/usr.sbin/pc-sysinstall/backend-query

2011-02-18 Thread Bruce Cran
On Fri, 18 Feb 2011 15:13:08 + (UTC) Josh Paetzel wrote: > +# Display the output, with us English as the first entry > +echo "us U.S. English" If the default has to be US English, would it be possible to select the entry in the list instead of putting it at the

svn commit: r218677 - head/sbin/mdconfig

2011-02-14 Thread Bruce Cran
Author: brucec Date: Mon Feb 14 09:58:47 2011 New Revision: 218677 URL: http://svn.freebsd.org/changeset/base/218677 Log: Add a check to make sure the provider name is "mdN" before printing the unit number. Suggested by: jh MFC after:3 days Modified: head/sbin/mdconfig/md

svn commit: r218652 - head/sbin/mdconfig

2011-02-13 Thread Bruce Cran
Author: brucec Date: Sun Feb 13 18:30:17 2011 New Revision: 218652 URL: http://svn.freebsd.org/changeset/base/218652 Log: Only print the unit number when invoked with the -n flag. PR: bin/144300 Submitted by: arundel MFC after:3 days Modified: head/sbin/mdconfig/mdconfig.c Mod

svn commit: r218650 - head/games/fortune/datfiles

2011-02-13 Thread Bruce Cran
Author: brucec Date: Sun Feb 13 18:18:56 2011 New Revision: 218650 URL: http://svn.freebsd.org/changeset/base/218650 Log: Move potentially offensive fortune to fortunes-o. PR: bin/137702 MFC after:3 days Modified: head/games/fortune/datfiles/fortunes head/games/fortune/datfiles

svn commit: r218645 - head/lib/libc/gen

2011-02-13 Thread Bruce Cran
Author: brucec Date: Sun Feb 13 17:43:56 2011 New Revision: 218645 URL: http://svn.freebsd.org/changeset/base/218645 Log: Document some more sysconf(3) variables. MFC after:1 month Modified: head/lib/libc/gen/sysconf.3 Modified: head/lib/libc/gen/sysconf.3 ==

svn commit: r218620 - head/share/examples/pf

2011-02-12 Thread Bruce Cran
Author: brucec Date: Sat Feb 12 20:42:53 2011 New Revision: 218620 URL: http://svn.freebsd.org/changeset/base/218620 Log: If the pf.conf(5) example file is copied when setting up a firewall it's easy to forget about icmp. Update the file to show allowing icmp through the firewall. PR:

svn commit: r218619 - head/bin/ed

2011-02-12 Thread Bruce Cran
Author: brucec Date: Sat Feb 12 20:28:15 2011 New Revision: 218619 URL: http://svn.freebsd.org/changeset/base/218619 Log: Fix typos. PR: docs/131625 Submitted by: Andrew Wright MFC after:1 month Modified: head/bin/ed/ed.1 Modified: head/bin/ed/ed.1 ===

svn commit: r218264 - head/sys/netinet

2011-02-04 Thread Bruce Cran
Author: brucec Date: Fri Feb 4 12:03:48 2011 New Revision: 218264 URL: http://svn.freebsd.org/changeset/base/218264 Log: Fix typo (Tuneable -> Tunable). Modified: head/sys/netinet/sctp_sysctl.h Modified: head/sys/netinet/sctp_sysctl.h

Re: svn commit: r218238 - head/sys/dev/ath

2011-02-03 Thread Bruce Cran
On Thu, Feb 03, 2011 at 08:26:26PM +, Adrian Chadd wrote: > if (ni != NULL) { > +#if NOTYET > /* tag AMPDU aggregates for reorder processing */ This seems to have broken the build because NOTYET isn't defined.

svn commit: r217492 - head/usr.sbin/sysinstall

2011-01-16 Thread Bruce Cran
Author: brucec Date: Mon Jan 17 00:15:01 2011 New Revision: 217492 URL: http://svn.freebsd.org/changeset/base/217492 Log: Add missing comma to unbreak the PC98 build. Modified: head/usr.sbin/sysinstall/menus.c Modified: head/usr.sbin/sysinstall/menus.c ===

svn commit: r217491 - head/usr.sbin/sysinstall

2011-01-16 Thread Bruce Cran
Author: brucec Date: Mon Jan 17 00:08:28 2011 New Revision: 217491 URL: http://svn.freebsd.org/changeset/base/217491 Log: Reduce the amount of text users need to read on each screen. Also try and make it more relevant to modern systems: for example users will be familiar with the MBR but pos

svn commit: r217334 - head/sbin/geom/class/raid3

2011-01-12 Thread Bruce Cran
Author: brucec Date: Wed Jan 12 23:31:28 2011 New Revision: 217334 URL: http://svn.freebsd.org/changeset/base/217334 Log: Fix formatting of cross-references. Modified: head/sbin/geom/class/raid3/graid3.8 Modified: head/sbin/geom/class/raid3/graid3.8 ==

svn commit: r217327 - head/sbin/geom/class/raid3

2011-01-12 Thread Bruce Cran
Author: brucec Date: Wed Jan 12 20:27:14 2011 New Revision: 217327 URL: http://svn.freebsd.org/changeset/base/217327 Log: Fix sorting of cross-references. Modified: head/sbin/geom/class/raid3/graid3.8 Modified: head/sbin/geom/class/raid3/graid3.8 =

svn commit: r217317 - head

2011-01-12 Thread Bruce Cran
Author: brucec Date: Wed Jan 12 19:28:52 2011 New Revision: 217317 URL: http://svn.freebsd.org/changeset/base/217317 Log: Fix wrapping of 20110103 entry. Modified: head/UPDATING Modified: head/UPDATING == --- head/UP

svn commit: r217316 - head/sbin/geom/class/raid3

2011-01-12 Thread Bruce Cran
Author: brucec Date: Wed Jan 12 19:20:30 2011 New Revision: 217316 URL: http://svn.freebsd.org/changeset/base/217316 Log: Fix cross-reference to gvinum(8). Modified: head/sbin/geom/class/raid3/graid3.8 Modified: head/sbin/geom/class/raid3/graid3.8

Re: svn commit: r216954 - head/sys/kern

2011-01-04 Thread Bruce Cran
Shouldn't people know that kproc_exit doesn't return? -- Bruce Cran ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r216873 - head/sys/vm

2011-01-01 Thread Bruce Cran
Author: brucec Date: Sat Jan 1 16:59:05 2011 New Revision: 216873 URL: http://svn.freebsd.org/changeset/base/216873 Log: There can be more than 0x2000 swap meta blocks allocated if a swap-backed md(4) device is used. Don't panic when deallocating such a device if swap has been used.

svn commit: r216651 - head/usr.sbin/sysinstall

2010-12-22 Thread Bruce Cran
Author: brucec Date: Wed Dec 22 13:06:51 2010 New Revision: 216651 URL: http://svn.freebsd.org/changeset/base/216651 Log: Add an option to disable the screensaver. Modified: head/usr.sbin/sysinstall/menus.c Modified: head/usr.sbin/sysinstall/menus.c ==

Re: svn commit: r216600 - head/usr.sbin/lmcconfig

2010-12-20 Thread Bruce Cran
On Mon, 20 Dec 2010 19:08:15 + (UTC) Ulrich Spoerlein wrote: > -u_int32_t read_pci_config(u_int8_t addr) > - { > +static u_int32_t > +read_pci_config(u_int8_t addr) It might make sense to switch to the C99 [u]intX_t types at the same time. --

Re: svn commit: r212770 - head/usr.bin/script

2010-12-20 Thread Bruce Cran
> > + fprintf(fscript, "\r\n"); > > + > > An indent bug? 2nd fprintf() call is not under if(av[0]). But the 2nd printf() call isn't in the scope of the if statement. Personally I prefer braces if a statement is longer than 1 line, even if not strictly requir

svn commit: r216515 - head/lib/libc/sys

2010-12-18 Thread Bruce Cran
Author: brucec Date: Sat Dec 18 10:09:07 2010 New Revision: 216515 URL: http://svn.freebsd.org/changeset/base/216515 Log: Sort cross references by section. Reported by: pluknet Modified: head/lib/libc/sys/shmget.2 Modified: head/lib/libc/sys/shmget.2

svn commit: r216508 - head/lib/libc/sys

2010-12-17 Thread Bruce Cran
Author: brucec Date: Fri Dec 17 21:10:08 2010 New Revision: 216508 URL: http://svn.freebsd.org/changeset/base/216508 Log: Update shmget(2) with POSIX access permissions and remove non-standard SHM_R, SHM_W and machine/param.h. Modified: head/lib/libc/sys/shmat.2 head/lib/libc/sys/shmctl.2

Re: svn commit: r216422 - head/usr.bin/printf

2010-12-14 Thread Bruce Cran
sysexits was removed from style(9) a while ago: http://svn.freebsd.org/viewvc/base?view=revision&revision=185362 -- Bruce Cran ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send

svn commit: r216407 - head/usr.sbin/sysinstall

2010-12-13 Thread Bruce Cran
Author: brucec Date: Mon Dec 13 13:52:03 2010 New Revision: 216407 URL: http://svn.freebsd.org/changeset/base/216407 Log: USB probing often takes a long time and finishes finding devices after init has started. In the case of sysinstall, this means that it has already built its list of devic

Re: svn commit: r216269 - head/sys/geom/part

2010-12-10 Thread Bruce Cran
breaks. CAM for SCSI drives still > invents a geometry to avoid seeing evil here, since SCSI drives have > only had no geometry for about 30 years now. But the problem is that we _do_ use CHS: we use it to create the MBR and disklabel. Linux invents a geometry if it can't create one from

Re: svn commit: r216269 - head/sys/geom/part

2010-12-10 Thread Bruce Cran
he settings to use a setting of 8H instead of 16H in the BIOS does get detected by FreeBSD when it reads the 'current CHS geometry' fields. And yes, the only thing that's useful for nowadays is configuring the MBR or BSD disklabel. -- Bruce Cran __

Re: svn commit: r216269 - head/sys/geom/part

2010-12-09 Thread Bruce Cran
if you changed this, so everyone sees any problems in > this area :-). Its main inconsistency seems to be that only CAM ad > does it. If I was updating it I'd also update the old ad(4) driver to match. -- Bruce Cran ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r216322 - head/usr.sbin

2010-12-09 Thread Bruce Cran
Author: brucec Date: Thu Dec 9 11:37:40 2010 New Revision: 216322 URL: http://svn.freebsd.org/changeset/base/216322 Log: Build sade on amd64 as well as i386 and sparc64. Modified: head/usr.sbin/Makefile.amd64 Modified: head/usr.sbin/Makefile.amd64 ===

Re: svn commit: r216269 - head/sys/geom/part

2010-12-08 Thread Bruce Cran
On Wed, 8 Dec 2010 16:46:17 +1100 (EST) Bruce Evans wrote: > - for ATA drives, it uses the "firmware" geometry supplied by the > drive firmware. The ATA standard specifies this to be H=16/S=63 for > all drives larger than a certain size (IIRC, about 8GB, which is the > size at which the better d

Re: svn commit: r216269 - head/sys/geom/part

2010-12-07 Thread Bruce Cran
On Tue, 7 Dec 2010 23:06:24 + Bruce Cran wrote: > I guess the fields are still defined to keep old tools happy. I mean that values are still returned by the drive firmware, while they could be left zero according to the spec. For example a new 1TB ATA-8 drive returns a geometry of 16H/

Re: svn commit: r216269 - head/sys/geom/part

2010-12-07 Thread Bruce Cran
On Tue, 07 Dec 2010 23:54:17 +0200 Andriy Gapon wrote: > You repeated that statement, so I am picking on you :-) > Can someone show me how/where exactly modern drives fakes CHS > geometry? Let me specifically ask that question about modern (S)ATA > drives directly connected to a system (controlle

svn commit: r216269 - head/sys/geom/part

2010-12-07 Thread Bruce Cran
Author: brucec Date: Tue Dec 7 20:46:11 2010 New Revision: 216269 URL: http://svn.freebsd.org/changeset/base/216269 Log: Don't warn if a partition appears not to be aligned on a track boundary. Modern disks use LBA and create a fake CHS geometry that doesn't have any relation to the on-disk

Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-12-07 Thread Bruce Cran
tion, both created in the Windows setup application. Since Windows isn't bothering to align partitions do we still need to warn about it? -- Bruce Cran ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To

Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-12-07 Thread Bruce Cran
8 years ago Windows didn't support larger sector sizes; Vista and Windows 7 do. -- Bruce Cran ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r216230 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-12-06 Thread Bruce Cran
hey're both the same for Advanced Format drives: # camcontrol identify /dev/ada1 ... device modelWDC WD10EARS-00Z5B1 ... sector size logical 512, physical 512, offset 0 I don't know if Linux has a quirks list that 'corrects' the physical sector

svn commit: r216243 - head/usr.sbin/sysinstall

2010-12-06 Thread Bruce Cran
Author: brucec Date: Mon Dec 6 20:55:14 2010 New Revision: 216243 URL: http://svn.freebsd.org/changeset/base/216243 Log: Ignore any failures with the "local" distribution since it's not present on release CDs and so will normally fail. installCommit() returns a DITEM_ value, not a Boolean.

svn commit: r216229 - head/usr.sbin/boot0cfg

2010-12-06 Thread Bruce Cran
Author: brucec Date: Mon Dec 6 11:37:24 2010 New Revision: 216229 URL: http://svn.freebsd.org/changeset/base/216229 Log: Revert r209469: it causes the rest of the function to be bypassed. Reported by: ae Modified: head/usr.sbin/boot0cfg/boot0cfg.c Modified: head/usr.sbin/boot0cfg/boot0

svn commit: r216156 - head/share/man/man9

2010-12-03 Thread Bruce Cran
Author: brucec Date: Fri Dec 3 18:30:55 2010 New Revision: 216156 URL: http://svn.freebsd.org/changeset/base/216156 Log: Document the fact that passing in a count of zero to the bus_space functions will result in undefined behaviour. Taken from NetBSD's bus_space(9). Modified: head/share

Re: svn commit: r216134 - in head: share/man/man9 sys/amd64/include sys/arm/include sys/i386/include sys/ia64/include sys/mips/include sys/pc98/include sys/powerpc/include sys/sparc64/include sys/sun4

2010-12-03 Thread Bruce Cran
due to a misunderstanding of the API. NetBSD have documented it in their man page but not added asserts in the code: "Functions which take a count of bytes have undefined results if the specified count is zero." -- Bruce Cran ___

Re: svn commit: r216134 - in head: share/man/man9 sys/amd64/include sys/arm/include sys/i386/include sys/ia64/include sys/mips/include sys/pc98/include sys/powerpc/include sys/sparc64/include sys/sun4

2010-12-03 Thread Bruce Cran
ding zero-length packets/frames would fail by causing the system to hang. Should we just document the restriction in the man page and not try and prevent it at runtime? -- Bruce Cran ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman

svn commit: r216143 - in head: share/man/man9 sys/amd64/include sys/arm/include sys/i386/include sys/ia64/include sys/mips/include sys/pc98/include sys/powerpc/include sys/sparc64/include sys/sun4v...

2010-12-02 Thread Bruce Cran
Author: brucec Date: Fri Dec 3 07:09:23 2010 New Revision: 216143 URL: http://svn.freebsd.org/changeset/base/216143 Log: Revert r216134. This checkin broke platforms where bus_space are macros: they need to be a single statement, and do { } while (0) doesn't work in this situation so revert

svn commit: r216134 - in head: share/man/man9 sys/amd64/include sys/arm/include sys/i386/include sys/ia64/include sys/mips/include sys/pc98/include sys/powerpc/include sys/sparc64/include sys/sun4v...

2010-12-02 Thread Bruce Cran
Author: brucec Date: Thu Dec 2 22:19:30 2010 New Revision: 216134 URL: http://svn.freebsd.org/changeset/base/216134 Log: Disallow passing in a count of zero bytes to the bus_space(9) functions. Passing a count of zero on i386 and amd64 for [I386|AMD64]_BUS_SPACE_MEM causes a crash/hang s

svn commit: r216053 - head/usr.sbin/sysinstall

2010-11-29 Thread Bruce Cran
Author: brucec Date: Mon Nov 29 11:55:17 2010 New Revision: 216053 URL: http://svn.freebsd.org/changeset/base/216053 Log: If no floppy drive is installed kldBrowser() can generate an error early on. Initialize menu and count so the cleanup code doesn't try and use their uninitialized values.

svn commit: r216052 - head/usr.sbin/sysinstall

2010-11-29 Thread Bruce Cran
Author: brucec Date: Mon Nov 29 11:28:31 2010 New Revision: 216052 URL: http://svn.freebsd.org/changeset/base/216052 Log: Update the serial port device names. They changed in 8.0 because the default driver is now uart(4). PR: bin/140887 Submitted by: Joe Barbish MFC after:3 day

svn commit: r215956 - in head/sys: netinet netinet6

2010-11-27 Thread Bruce Cran
Author: brucec Date: Sat Nov 27 21:51:39 2010 New Revision: 215956 URL: http://svn.freebsd.org/changeset/base/215956 Log: Fix more continuous/contiguous typos (cf. r215955) Modified: head/sys/netinet/ip6.h head/sys/netinet6/in6_cksum.c head/sys/netinet6/ip6_input.c head/sys/netinet6/ip6

svn commit: r215955 - head/usr.bin/netstat

2010-11-27 Thread Bruce Cran
Author: brucec Date: Sat Nov 27 21:35:16 2010 New Revision: 215955 URL: http://svn.freebsd.org/changeset/base/215955 Log: Fix typo. Modified: head/usr.bin/netstat/inet6.c Modified: head/usr.bin/netstat/inet6.c == ---

Re: svn commit: r215434 - in head: sys/netinet usr.bin/netstat

2010-11-22 Thread Bruce Cran
ding: > Retransmitted Packets > Zero Window Advertisements > Out of Order Receives I don't know if it was this checkin that broke it, but netstat now fails to print a newline between the headers and the first line of connection data. -- Bruce Cran ___

svn commit: r215705 - head/usr.bin/ldd

2010-11-22 Thread Bruce Cran
Author: brucec Date: Mon Nov 22 20:18:46 2010 New Revision: 215705 URL: http://svn.freebsd.org/changeset/base/215705 Log: hdr.elf.e_ident[EI_OSABI] is not a bitmask so '==' should been used. Reported by: Artem Belevich Modified: head/usr.bin/ldd/ldd.c Modified: head/usr.bin/ldd/ldd.c =

svn commit: r215704 - in head: bin/sh sbin/bsdlabel sbin/geom/class/eli sbin/geom/class/part sbin/geom/class/virstor sbin/growfs sbin/gvinum sbin/hastctl sbin/mknod usr.bin/ar usr.bin/bc

2010-11-22 Thread Bruce Cran
Author: brucec Date: Mon Nov 22 20:10:48 2010 New Revision: 215704 URL: http://svn.freebsd.org/changeset/base/215704 Log: Fix some more warnings found by clang. Modified: head/bin/sh/arith_lex.l head/sbin/bsdlabel/bsdlabel.c head/sbin/geom/class/eli/geom_eli.c head/sbin/geom/class/part/

svn commit: r215702 - head/sbin/routed

2010-11-22 Thread Bruce Cran
Author: brucec Date: Mon Nov 22 19:40:27 2010 New Revision: 215702 URL: http://svn.freebsd.org/changeset/base/215702 Log: Fix use of AND operator: should be bitwise instead of logical. Modified: head/sbin/routed/parms.c Modified: head/sbin/routed/parms.c =

svn commit: r215676 - in head: sbin/hastd usr.bin/colldef usr.sbin/apmd usr.sbin/bluetooth/bthidd usr.sbin/bluetooth/hcsecd usr.sbin/config usr.sbin/kbdcontrol

2010-11-22 Thread Bruce Cran
Author: brucec Date: Mon Nov 22 14:16:22 2010 New Revision: 215676 URL: http://svn.freebsd.org/changeset/base/215676 Log: Don't generate input() since it's not used. Modified: head/sbin/hastd/Makefile head/usr.bin/colldef/Makefile head/usr.sbin/apmd/apmdlex.l head/usr.sbin/bluetooth/bth

svn commit: r215674 - head/sbin/devd

2010-11-22 Thread Bruce Cran
Author: brucec Date: Mon Nov 22 12:33:48 2010 New Revision: 215674 URL: http://svn.freebsd.org/changeset/base/215674 Log: Don't generate input() since it's not used. Modified: head/sbin/devd/token.l Modified: head/sbin/devd/token.l

svn commit: r215637 - head/usr.sbin/sysinstall

2010-11-21 Thread Bruce Cran
Author: brucec Date: Sun Nov 21 14:34:25 2010 New Revision: 215637 URL: http://svn.freebsd.org/changeset/base/215637 Log: dispatch_add_command: Modify the logic so there's only one exit point instead of two. Only insert valid (non-NULL) values into the queue. dispatch_free_command: En

  1   2   >