Re: du -A / -B options [Re: zfs quota question]

2008-11-04 Thread Giorgos Keramidas
On Wed, 5 Nov 2008 03:39:51 +0100, Max Laier <[EMAIL PROTECTED]> wrote: >> That looks nice! With a small fix (``how _much_ space'') I like the >> idea a lot :) >> >> The patch fails to apply on a recent /head snapshot of du though: > ... >> Can you please refresh and repost it? > > Hum ... are you

Re: du -A / -B options [Re: zfs quota question]

2008-11-04 Thread Max Laier
On Wednesday 05 November 2008 03:31:26 Giorgos Keramidas wrote: > On Tue, 4 Nov 2008 23:42:49 +0100, Max Laier <[EMAIL PROTECTED]> wrote: > > Hi again, > > > > On Saturday 01 November 2008 21:14:42 I wrote: > >> a thread on freebsd-stable@ [1] about problems with du(1) and compressed > >> zfs files

Re: du -A / -B options [Re: zfs quota question]

2008-11-04 Thread Giorgos Keramidas
On Tue, 4 Nov 2008 23:42:49 +0100, Max Laier <[EMAIL PROTECTED]> wrote: > Hi again, > > On Saturday 01 November 2008 21:14:42 I wrote: >> a thread on freebsd-stable@ [1] about problems with du(1) and compressed >> zfs filesystems got me looking for a possible solution. Attached is a diff >> for du

Kernel panic on 7.0-RELEASE

2008-11-04 Thread Phillip Hocking
Hello all, I keep getting a kernel panic every Saturday night, so I figured I would go through the core dump. # uname -a FreeBSD xx.fsklaw.com 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Wed Apr 23 08:01:10 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TEST amd64 to# kgdb kernel.symbols /var

converting strings from utf8

2008-11-04 Thread Maksim Yevmenkin
Hello, can i use wcstombs(3) to convert a string presented in utf8 into current locale? basically i'm looking for something like iconv from ports but included into base system. in other words, would something like this work? char *locale, dst[256]; size_t len; locale = setlocale(LC_CTYPE, "");

Re: YAVP (Yet Another Vmstat Patch)

2008-11-04 Thread Giorgos Keramidas
On Tue, 04 Nov 2008 23:13:19 +0100, Ivan Voras <[EMAIL PROTECTED]> wrote: > Hi, > > I'm working on something that tends to generate a lot of context > switches and I don't like the way values in "vmstat 1" are printed > practically unbounded, causing wrapping, etc. > > Here's a patch against -CURRE

Re: du -A / -B options [Re: zfs quota question]

2008-11-04 Thread Max Laier
Hi again, On Saturday 01 November 2008 21:14:42 I wrote: > a thread on freebsd-stable@ [1] about problems with du(1) and compressed > zfs filesystems got me looking for a possible solution. Attached is a diff > for du(1) that adds two new options: > > -A to display the apparent size of the file

YAVP (Yet Another Vmstat Patch)

2008-11-04 Thread Ivan Voras
Hi, I'm working on something that tends to generate a lot of context switches and I don't like the way values in "vmstat 1" are printed practically unbounded, causing wrapping, etc. Here's a patch against -CURRENT that uses humanize_number() to keep the formatting of memory and context switches t

Using GCov in the FreeBSD kernel

2008-11-04 Thread Venkatraman T
Hi, I am trying to understand what how much effort it would take to get the code coverage in FreeBSD kernel using gcov. My understanding is we have gcov in FreeBSD which gets code coverage on user space programs. The reasons that this can't be used in kernel right now is because: 1) gcov libs c

Re: problem with bus_dmamap_load_uio

2008-11-04 Thread Patrick Lamaizière
Le Mon, 3 Nov 2008 18:49:57 -0500, John Baldwin <[EMAIL PROTECTED]> a écrit : Hello, > > I don't understand why bus_dmamap_load_uio() cannot load the uio. > > Also when it fails, i copy the uio into a buffer and then a > > bus_dmamap_load() of the buffer always works. > > > > The dma tag is allo