Re: patch(1) depends on RCS - should it?

2013-10-09 Thread Joerg Sonnenberger
On Mon, Oct 07, 2013 at 04:17:03PM -0400, Eitan Adler wrote: patch(1) explicitly tries to use RCS (and SCCS) in certain cases. At the SCCS behavior is part of (the SCCS option in ) POSIX 2008. So far I haven't seen any reason for messing with it. Joerg

Re: bsdgrep status

2013-03-23 Thread Joerg Sonnenberger
On Sat, Mar 23, 2013 at 10:54:17AM +0100, Dominic Fandrey wrote: I'm tempted to conclude that bsdgrep is ready for deployment. There are still some issues. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: clang - odd macro / conditional expansion behaviour?

2013-03-12 Thread Joerg Sonnenberger
On Mon, Mar 11, 2013 at 08:17:08PM -0700, Adrian Chadd wrote: I've hit this rather amusing clang behaviour: I think you are hitting a variant of http://llvm.org/bugs/show_bug.cgi?id=10030. Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: UFS1 vs UFS2

2012-12-30 Thread Joerg Sonnenberger
to fully utilize the larger disks. There is also the possible concern of Extended Attributes. If you use them, you might be a lot more happy with UFS2. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program

2012-10-26 Thread Joerg Sonnenberger
. For example, .if conditionals can avoid explicit checks for defined and/or quoting that way. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: SMP Version of tar

2012-10-02 Thread Joerg Sonnenberger
a large internal buffer in the compression filter and make the queueing for distribution to threads an implementation detail. Alternatively, just provide a compatible implementation of libz's event interface. Joerg ___ freebsd-hackers@freebsd.org mailing list

Re: GAS ATT linkage issue

2012-07-04 Thread Joerg Sonnenberger
On Wed, Jul 04, 2012 at 04:32:02PM -0700, Colin Barnabas wrote: movl $ebx, 28(%edi) ^ this should be %ebx, $ means a literal (immediate) value Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: Browsing over IPv6

2012-07-02 Thread Joerg Sonnenberger
you want to do is: GET / HTTP/1.0 Host: fullsitename empty line Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: memmem small optimalisation

2012-02-24 Thread Joerg Sonnenberger
of one less byte worth memory compare because the effect of CPU's data cache. More importantly, if the input was originally aligned, the additional byte is ~free. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Joerg Sonnenberger
are doing a very poor job. Isn't the primary issue that FreeBSD doesn't properly report errors for lseek(2)? I think you should start from that and not hack around the fallout... Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Joerg Sonnenberger
On Wed, Nov 16, 2011 at 01:14:28PM +, Alexander Best wrote: On Wed Nov 16 11, Joerg Sonnenberger wrote: On Tue, Nov 15, 2011 at 08:24:50PM +, Alexander Best wrote: one of the things i'm missing is an easy way to determine, whether a stream or fd is seekable. i checked the dd(1

Re: reducing compiler instances during buildkernel

2011-11-07 Thread Joerg Sonnenberger
a compile - and it's very unlikely that the compiler cleans itself up enough to return to that state. Actually, the real problem is that a full cleanup is likely to be as expensive as fork+exec. Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: limits do not apply

2011-11-07 Thread Joerg Sonnenberger
On Mon, Nov 07, 2011 at 01:24:05PM +0900, rozhuk...@gmail.com wrote: Scripts for which the specified user inherit it from the startup script, rather than generate it based on the settings for the user. #su -m mysql -c '/bin/sh -c /usr/bin/env' Try to use su -c default -m mysql ... Joerg

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Joerg Sonnenberger
by default on AMD64. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: [LIBC] Modfied Version of sscanf

2011-05-02 Thread Joerg Sonnenberger
On Mon, May 02, 2011 at 02:13:11PM +0200, Martin Möller wrote: o strchr, memchr is too low-level and not elegant enough Actually, you are looking for strstr. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Unsigned wchar_t

2011-03-27 Thread Joerg Sonnenberger
to define ABIs that are different from what everyone else is doing? Didn't we learn anything from the problems of char vs signed char vs unsigned char? Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: FreeBSD ABI?

2011-02-21 Thread Joerg Sonnenberger
and doesn't claim to be SYSV compatible. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: man 3 getopt char * const argv[] - is const wrong ?

2011-02-16 Thread Joerg Sonnenberger
On Wed, Feb 16, 2011 at 07:41:02PM +0100, Matthias Andree wrote: But POSIX.1-2008 is the same as the Single Unix Specification v4 or IEEE Std 1003.1-2008. Minor correction, it is SUS v3 Issue 7. Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: man 3 getopt char * const argv[] - is const wrong ?

2011-02-16 Thread Joerg Sonnenberger
On Wed, Feb 16, 2011 at 08:26:04PM +0100, Matthias Andree wrote: Am 16.02.2011 20:02, schrieb Joerg Sonnenberger: On Wed, Feb 16, 2011 at 07:41:02PM +0100, Matthias Andree wrote: But POSIX.1-2008 is the same as the Single Unix Specification v4 or IEEE Std 1003.1-2008. Minor correction

Re: rtld optimizations

2011-01-27 Thread Joerg Sonnenberger
example that fulfilled all three cases was Evolution. (1) and (2) are pretty typical though. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: What does the FreeBSD/i386 ABI say about stack alignment?

2011-01-13 Thread Joerg Sonnenberger
follows the original SYSV ABI. Linux at some point silently decided to redefine the ABI to fit their mindset. I think you want to use a combination of -mpreferred-stack-boundary=4 and -mincoming-stack-boundary=2. Joerg ___ freebsd-hackers@freebsd.org

Re: What does the FreeBSD/i386 ABI say about stack alignment?

2011-01-13 Thread Joerg Sonnenberger
On Fri, Jan 14, 2011 at 12:00:52AM +0200, Kostik Belousov wrote: On Thu, Jan 13, 2011 at 10:57:15PM +0100, Joerg Sonnenberger wrote: On Thu, Jan 13, 2011 at 12:19:00PM -0500, Ryan Stone wrote: I've been trying to get an application compiled with gcc 4.5.1 running on FreeBSD 8.1, but it's

Re: MONITOR/MWAIT question

2010-12-18 Thread Joerg Sonnenberger
that occurs between the MONITOR and the MWAIT. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: Deterministic builds, part 2

2010-12-02 Thread Joerg Sonnenberger
On Thu, Dec 02, 2010 at 11:08:09AM +0100, Erik Cederstrand wrote: I wonder if I could hack __FILE__ to be a path relative to src/. That would be a way to fix all the source file paths I see. I have a patch for that in NetBSD's gcc. Joerg ___ freebsd

Re: Deterministic builds, part 2

2010-12-02 Thread Joerg Sonnenberger
On Thu, Dec 02, 2010 at 02:52:33PM +0100, Erik Cederstrand wrote: Hi Joerg, Den 02/12/2010 kl. 13.49 skrev Joerg Sonnenberger: On Thu, Dec 02, 2010 at 11:08:09AM +0100, Erik Cederstrand wrote: I wonder if I could hack __FILE__ to be a path relative to src/. That would be a way to fix

Re: [CFT+RFC] patch to buildworld with heimdal from ports

2010-11-16 Thread Joerg Pulz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 15 Nov 2010, Benjamin Lee wrote: On 11/15/2010 02:08 PM, Joerg Pulz wrote: Hi, after the security/heimdal port was updated to the current heimdal release and i added one missing function from base it is now possible to completely

Re: [CFT+RFC] patch to buildworld with heimdal from ports

2010-11-16 Thread Joerg Pulz
...@gmail.com wrote: On Mon, Nov 15, 2010 at 7:17 PM, Benjamin Lee b...@b1c1l1.com wrote: On 11/15/2010 02:08 PM, Joerg Pulz wrote: Hi, after the security/heimdal port was updated to the current heimdal release and i added one missing function from base it is now possible to completely buildworld

Re: Network socket concurrency (userland)

2010-11-16 Thread Joerg Sonnenberger
about read() / recv()? All write operations are serialised against each other, just like all read operations are serialised against. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Network socket concurrency (userland)

2010-11-16 Thread Joerg Sonnenberger
On Tue, Nov 16, 2010 at 04:51:04PM +0100, Ivan Voras wrote: On 11/16/10 16:19, Joerg Sonnenberger wrote: On Tue, Nov 16, 2010 at 03:37:59PM +0100, Ivan Voras wrote: Are there any standard-defined guarantees for TCP network sockets used by multiple threads to do IO on them? System calls

[CFT+RFC] patch to buildworld with heimdal from ports

2010-11-15 Thread Joerg Pulz
to use solution to work around the old and partially broken Kerberos5/GSSAPI stuff in base. Kind regards Joerg - -- The beginning is the most important part of the work. -Plato -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.16 (FreeBSD) iD8DBQFM4a9RSPOsGF+KA

Re: Timestamps in static libraries

2010-10-05 Thread Joerg Sonnenberger
fields. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: ar(1) format_decimal failure is fatal?

2010-09-19 Thread Joerg Sonnenberger
. Similary the timestamp, it doesn't tell that much about the content either. I don't think the backend should do silent truncation, that would be very bad. It might be needed to have a flag for backends to allow it though. Joerg ___ freebsd-hackers

Driver tpm(4) and third party packages for trusted platform modules

2010-08-03 Thread Hans-Joerg Hoexer
vector in +.Pa /boot/device.hints . +.Sh SEE ALSO +.Xr intro 4 , +.Xr files.conf 5, +.Xr config 8 +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Michael Shalayeff +and +.An Hans-Joerg Hoexer . diff -Nupr src.orig/sys/conf/files.i386 src/sys/conf/files.i386 --- src.orig/sys/conf

Re: sysctl way too slow

2010-07-14 Thread Joerg Sonnenberger
100ms to query the battery state due to extremely slow hardware, I wouldn't be surprised if you can do worse. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: Using lex in a shared library

2010-07-03 Thread Joerg Sonnenberger
(i.e. a static binary). More precisely, AMD64 disallows absolute references in the text segment. The performance penalty for PIC on AMD64 is minimal as it can do RIP-relative addressing. Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: Using lex in a shared library

2010-07-02 Thread Joerg Sonnenberger
On Fri, Jul 02, 2010 at 02:51:16PM -0700, Matthew Fleming wrote: LDADD=-ll Have you considered providing your own yywrap function instead? (Or not using it at all?) Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: GSoC: BSD text tools

2010-05-25 Thread Joerg Sonnenberger
On Tue, May 25, 2010 at 05:06:58PM +0200, Julian H. Stacey wrote: Joerg Sonnenberger jo...@britannica.bec.de wrote: The use of (g)roff for anything but man pages is practically non-existent. False. Its a production tool used here. http://berklix.com./associates/ http

Re: GSoC: BSD text tools

2010-05-24 Thread Joerg Sonnenberger
that groff has only been in base to support manpages? If so, this project makes sense. But even so, some clarification of the intent is needed. The use of (g)roff for anything but man pages is practically non-existent. If you want to use it for typesetting, you can always install it. Joerg

Re: GSoC: BSD text tools

2010-05-24 Thread Joerg Sonnenberger
On Mon, May 24, 2010 at 10:43:37PM +0300, Kostik Belousov wrote: Would it support ps/dvi output ? Postscript output is the major goal of a GSoC project. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: libc NLS, NFS mounted /usr/local, DHCP, no default route causes hangs

2010-04-23 Thread Joerg Sonnenberger
have a message cataloge. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: c question

2010-04-23 Thread Joerg Sonnenberger
. Actually -- it depends. Removing the tail and inserting at tail is amortised constant time for arrays if done using the double-on-full trick. In that case, array can be the faster datastructure too. Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: regenerating /var/db/pkg

2010-04-22 Thread Joerg Sonnenberger
or so? Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: nroff -man, .An Aq formatting

2010-03-22 Thread Joerg Sonnenberger
and adjust .Mt slightly to include the angle quotes and start to use that. E.g. make .Mt j...@example.com output j...@example.com It is supported by (old) versions of groff already, just without the angel quotes. Joerg ___ freebsd-hackers

Re: GEOM_ULZMA

2010-03-04 Thread Joerg Sonnenberger
on a modern CPU. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: GEOM_ULZMA

2010-03-04 Thread Joerg Sonnenberger
On Thu, Mar 04, 2010 at 03:54:05PM +0100, Dimitry Andric wrote: On 2010-03-04 15:28, Joerg Sonnenberger wrote: It is still measurable slower than gzip and it is certainly not free. Ehm, the LZMA SDK is in the public domain, how much more free would you want it? Free as in time it takes

Re: GEOM_ULZMA

2010-03-04 Thread Joerg Sonnenberger
On Thu, Mar 04, 2010 at 04:38:31PM +0200, Alexandr Rybalko wrote: On Thu, 4 Mar 2010 15:28:19 +0100 Joerg Sonnenberger jo...@britannica.bec.de wrote: On Thu, Mar 04, 2010 at 12:17:05PM +0200, Alexandr Rybalko wrote: LZMA compression optimized for fast decompression. It is still

Re: GEOM_ULZMA

2010-03-03 Thread Joerg Sonnenberger
for 24MB from disk. I don't think it helps in terms of boot speed, at least as long as the kernel image can be read without constant seeking. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: tar tfv /dev/cd0 speedup patch

2010-02-19 Thread Joerg Sonnenberger
On Thu, Feb 18, 2010 at 09:03:33PM -0800, Tim Kientzle wrote: Joerg Sonnenberger wrote: On Thu, Feb 18, 2010 at 07:34:59PM +0100, Juergen Lock wrote: Ok here is a new version of the patch with these things fixed and the Linux case added: (Linux case not tested yet, and yes I did

Re: tar tfv /dev/cd0 speedup patch

2010-02-18 Thread Joerg Sonnenberger
. for devices, just try to seek ahead and fallback to normal reading? Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: sysctl with regex?

2010-02-10 Thread Joerg Sonnenberger
free languages. The sentence is still correct, strictly speaking :) Not all context-free grammars can be represented by a FSM, those that can be are the regular languages. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: [patch] extending/completing brandelf's OS knowledge

2010-01-25 Thread Joerg Sonnenberger
think. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: about zlib on FreeBSD

2009-12-02 Thread Joerg Sonnenberger
On Wed, Dec 02, 2009 at 01:01:38PM +, Vincent Hoffman wrote: To be fair, bsdtar(1) on my 8-STABLE box says it can read but not that it can create zipfiles. It it can create them that would be handy. The support for zip creation hasn't been merged yet. Joerg

Re: enable ECC in OS code?

2009-08-27 Thread Joerg Sonnenberger
On Thu, Aug 27, 2009 at 11:30:15AM +0800, Erich Dollansky wrote: how should it be done at OS level at all when the OS is loaded into RAM? Copy the kernel to the video RAM, jump to it, enable ECC, copy back. Joerg ___ freebsd-hackers@freebsd.org

Re: large pages (amd64)

2009-06-28 Thread Joerg Sonnenberger
limited to standard 4KB pages. PSE != PAE != PSE36. Pentium Pro sounds about right though. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: close-on-exec alternatives (was: Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?)

2009-06-02 Thread Joerg Sonnenberger
On Tue, Jun 02, 2009 at 08:58:50PM +0200, Bernd Walter wrote: It is still very interesting, because I currently have a similar problem and wasn't aware of getdtablesize(); Note that many (other) systems provide a much simpler and efficient function for the above, closefrom(3). Joerg

Re: SoC 2009: BSD-licensed libiconv in base system

2009-05-06 Thread Joerg Sonnenberger
problems. If the OS supports full Unicode 3+ locales, it will have to be able to fit any UCS-4 code point into wchar_t. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: NetBSD 5.0 statistics

2009-05-04 Thread Joerg Sonnenberger
per OS. build.sh is using NetBSD's make for all but the tool build and the tool build is not included in the stats. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: Definition of NULL

2009-05-04 Thread Joerg Sonnenberger
. Well, use __null if present all the time, fallback to the alternatives as currently defined. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers

Re: SoC 2009: BSD-licensed libiconv in base system

2009-04-28 Thread Joerg Sonnenberger
On Mon, Apr 27, 2009 at 10:42:46PM -0400, David Schultz wrote: On Mon, Apr 27, 2009, Joerg Sonnenberger wrote: On Mon, Apr 27, 2009 at 03:49:04PM -0400, David Schultz wrote: ...but isn't this moot at present because there are no widely-accepted encodings that include characters

Re: SoC 2009: BSD-licensed libiconv in base system

2009-04-28 Thread Joerg Sonnenberger
parts of Korea little poor countries and it is a wonderful example for why UCS 4 Level 1 can be problematic. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: SoC 2009: BSD-licensed libiconv in base system

2009-04-28 Thread Joerg Sonnenberger
in unicode for the cleaner description. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: ACPI-fast default timecounter, but HPET 83% faster

2009-04-27 Thread Joerg Sonnenberger
HPET is slower than ACPI-fast. In addition, HPET provides a higher resolution. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr

Re: SoC 2009: BSD-licensed libiconv in base system

2009-04-27 Thread Joerg Sonnenberger
is a bad assumption, but something Americans and Europeans naturally don't have to care about. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers

Re: SoC 2009: BSD-licensed libiconv in base system

2009-04-27 Thread Joerg Sonnenberger
not necessarily buys you the desired affect. Keep in mind that UCS-4 is still a variable width encoding, as soon as you factor combining characters and some other interesting parts in. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Improving the kernel/i386 timecounter performance (GSoC proposal)

2009-03-30 Thread Joerg Sonnenberger
is implemented for locked bus cycles to them... Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: Spin down HDD after disk sync or before power off

2009-03-09 Thread Joerg Sonnenberger
/write automatically. It can take a while though. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org

Re: Spin down HDD after disk sync or before power off

2009-03-05 Thread Joerg Sonnenberger
to any authoritative information (URL) about that claim, such as vendor specs, white paper or similar? Not without digging. NetBSD PR 21531 had a reference, but that is dead nowadays. Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: Spin down HDD after disk sync or before power off

2009-03-05 Thread Joerg Sonnenberger
send it a power-down sequence, but the BIOS could. As long as you can send a ATA command directly to the disk, you can spin it down. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Spin down HDD after disk sync or before power off

2009-03-04 Thread Joerg Sonnenberger
having to do an emergency shutdown as it affects the disk life time negatively. That's what happens if you poweroff the machine when the disks are still spinning. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: lzma compression/decompression in bsdtar/libarchive?

2008-11-25 Thread Joerg Sonnenberger
autodetectable. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Intel 5100 WiFi

2008-11-16 Thread Joerg Sonnenberger
into the card memory. Contrary to the image for first and second generation Centrino, Intel changed to license to a BSDish license, so no further user interaction is needed to accept an EULA. Note that this image is run on the card, not your CPU. Joerg

Re: assigning interrupts

2008-11-13 Thread Joerg Sonnenberger
IO-APIC gives you 24 more. Most modern chipsets have one IO-APIC, at least for non-embedded systems. It doesn't mean you don't get interrupt sharing though. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: assigning interrupts

2008-11-13 Thread Joerg Sonnenberger
is also often fixed, so it can't be controlled by software. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: LIST_REMOVE problem

2008-11-07 Thread Joerg Sonnenberger
On Fri, Nov 07, 2008 at 10:07:17PM +0300, Sergey Matveychuk wrote: If we'll take a look at code, LIST_REMOVE don't change a head pointer if you remove the first element: It does via le_priv. Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: open(2) and O_NOATIME

2008-10-30 Thread Joerg Sonnenberger
On Thu, Oct 30, 2008 at 07:16:42PM -0700, Xin LI wrote: Em... Allowing administrators to disable NOATIME would be a good thing, but wouldn't allowing arbitrary program to decide whether atime should be changed, be a serious security disaster? Think of backup programs. Joerg

Re: Calling malloc from a signal handler

2008-09-19 Thread Joerg Sonnenberger
On Fri, Sep 19, 2008 at 08:52:13AM -0500, Stephen Montgomery-Smith wrote: Is it now permissible to call malloc from within a signal handler in FreeBSD-7.x? No. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Laptop suggestions?

2008-07-30 Thread Joerg Sonnenberger
doesn't come back on). vbetool post? Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Laptop suggestions?

2008-07-30 Thread Joerg Sonnenberger
On Thu, Jul 31, 2008 at 08:25:04AM +0800, Wilkinson, Alex wrote: vbetool post? Is vbetool in ports ? I cant find it mentioned anywhere in INDEX-*. Can't find it either. ENOFREEBSD :) http://www.codon.org.uk/~mjg59/vbetool/ Joerg ___ freebsd

Re: Laptop suggestions?

2008-07-27 Thread Joerg Sonnenberger
the low-level boot code) and VM knowledge (both MI and MD). I believe it can be done in 3 month though. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL

Re: Laptop suggestions?

2008-07-25 Thread Joerg Sonnenberger
chipset (e.g. avoid draft n). I found ACPI compliance to have improved a lot over the recent time and in fact the number of ACPI bugs that can't be worked around in general ways has become very low. Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo]

2008-06-16 Thread Joerg Sonnenberger
On Sun, Jun 15, 2008 at 09:11:36PM -0700, Garrett Cooper wrote: Now all we need to do is write / import a BSD compatible less(1) into FreeBSD =). less is dual licensed. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: BDB corrupt

2008-05-13 Thread Joerg Sonnenberger
and typically done a single large batch. For the same reason a single reader/writer lock is perfective fine. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL

Re: Adding .db support to pkg_tools

2008-05-12 Thread Joerg Sonnenberger
/var, do you?), it will just work as the *local* locks are working. The problem with NFS comes form the fact that multiple hosts might not share them. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: Adding .db support to pkg_tools

2008-05-09 Thread Joerg Sonnenberger
storing all meta data in a single key/value pair. For example, +CONTENTS can be extremely large. Check texmf for a good example. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send

Re: Adding .db support to pkg_tools

2008-05-09 Thread Joerg Sonnenberger
problematic. My main point is that for the interesting operations you want to actually look up with fine grained keys and that's what is not possible if you store the meta data as blob. In fact, storing the meta data as blob is not faster than just using the filesystem. Joerg

Re: Adding .db support to pkg_tools

2008-05-09 Thread Joerg Sonnenberger
/pkgsrc) and a btree of all @pkgcfl/@pkgdb (not implemented yet). Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: CopyOut Size Limits

2008-04-25 Thread Joerg Sonnenberger
to use more than a bit of stack space. You are placing a of data on the stack and the kernel stack is typically only a few pages long. Use malloc for this. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: visualize kernel memory allocations

2008-04-15 Thread Joerg Sonnenberger
On Tue, Apr 15, 2008 at 08:06:28PM +1000, Peter Jeremy wrote: About all I can suggest is working out the return address and finding which module that exists within. That doesn't sound particularly nice. Search gcc's info file for __builtin_return_address for the first part. Joerg

Re: features of objcopy

2008-03-21 Thread Joerg Sonnenberger
into objcopy? Proper support to add loadable sections that end up in the header as well. Consider loadable memory disk images as part of the kernel without having to preallocate the space. Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: Why doesn't autoconf like our /bin/sh?

2008-03-09 Thread Joerg Sonnenberger
On Sun, Mar 09, 2008 at 07:40:50PM -0400, Mike Meyer wrote: 1) Our /bin/sh isn't classified as Definitely usable. 2) zsh is Not usable. 3) zsh is classified as Maybe usable. The third is definitely true. Joerg ___ freebsd-hackers@freebsd.org mailing

Re: libpthread/fork issue

2008-03-07 Thread Joerg Sonnenberger
and pthread should not be mixed. You can and normally should only assume that the current thread is present in the child. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: wpi -- periodic disconnections

2008-03-04 Thread Joerg Sonnenberger
often in WPA mode (compared to WPA2). Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: wpi -- periodic disconnections

2008-03-04 Thread Joerg Sonnenberger
On Wed, Mar 05, 2008 at 01:20:33AM +0100, Pietro Cerutti wrote: Joerg Sonnenberger wrote: On Wed, Mar 05, 2008 at 12:58:06AM +0100, Pietro Cerutti wrote: - I've been able to reconnect without kld-reloading the module, by killing and restarting wpa_supplicant Try disconnect followed

Re: emulate an end-of-media

2008-02-27 Thread Joerg Sonnenberger
On Tue, Feb 26, 2008 at 04:00:00PM -0500, Mike Meyer wrote: On Tue, 26 Feb 2008 21:28:53 +0100 Joerg Sonnenberger [EMAIL PROTECTED] wrote: On Tue, Feb 26, 2008 at 07:44:48PM +0100, Martin Laabs wrote: I also made a comparison between gzip and bzip2 regarding the compression ratio

Re: emulate an end-of-media

2008-02-26 Thread Joerg Sonnenberger
% better than gzip. That's not a realistic test case. bzip2 normally takes trice the time and compresses 10% better. I can't comment on compress. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: OT: Stream structures in bzlib and zlib

2008-02-21 Thread Joerg Sonnenberger
and might shed some more insight whether I'll have to copy the data before setting it up in a stream structure as input? The buffers are not modified for the compression path. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: encrypted executables

2008-02-20 Thread Joerg Sonnenberger
in the original binary (depending on the implementation), it won't help in such a case, either. What prevents me from patching the kernel (!) to just ignore the resource limit? Nothing. Joerg ___ freebsd-hackers@freebsd.org mailing list http

Re: sort(1) memory usage

2008-02-04 Thread Joerg Sonnenberger
On Mon, Feb 04, 2008 at 04:04:35PM +0100, Dag-Erling Sm?rgrav wrote: Last I checked, it also (rather surprisingly) lacked -u (unique), which is required by POSIX. That must have been before the import into src/usr.bin/sort in 2000. Joerg ___ freebsd

Re: Wrapper for Windows-only network card binary drivers on FreeBSD?

2008-01-24 Thread Joerg Sonnenberger
On Thu, Jan 24, 2008 at 04:12:00PM -0800, Yuri wrote: I am curious is there an effort in FreeBSD similar to Linux NDISwrapper? man 4 ndis Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: gettimeofday() in hping

2008-01-22 Thread Joerg Sonnenberger
Those are from memory, give or take 10%. This is for the gettimeofday system call. Joerg ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

  1   2   3   >