Re: /dev/dsp* /dev/audio* devices not present

2009-01-10 Thread Ulrich Spoerlein
permissions. You can open many files inside them, but readdir(2) will get you nowhere. So this is a poor standard by which to judge devfs(4) device cloning. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt

Re: /dev/dsp* /dev/audio* devices not present

2009-01-09 Thread Ulrich Spoerlein
On Thu, 08.01.2009 at 21:50:47 -0800, per...@pluto.rain.com wrote: Ulrich Spoerlein gmail.com!uspoerl...@agora.rdrop.com wrote: Ummm, out of curiosity, are your receiving your mail via UUCP? :) Please run % cat /dev/sndstat % ls -l /dev/dsp0 /dev/dsp0.0 The reason you are not seeing

Re: /dev/dsp* /dev/audio* devices not present

2009-01-08 Thread Ulrich Spoerlein
really. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: Small change to 'ps'

2009-01-07 Thread Ulrich Spoerlein
is a small patch that sets the flag 'n' to disable header output. You've missed it, probably because it is non-obvious: % ps -p 1 -o pid,cpu PID CPU 1 0 % ps -p 1 -o pid= -o cpu= 1 0 % Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak

Re: Small change to 'ps'

2009-01-07 Thread Ulrich Spoerlein
On Wed, 07.01.2009 at 08:54:41 -0600, Sean C. Farley wrote: On Wed, 7 Jan 2009, Ulrich Spoerlein wrote: On Tue, 06.01.2009 at 11:52:39 -0800, Sheldon Givens wrote: Hello everyone, It occurs to me that FreeBSD ps lacks the ability to disable header. This seems like a really obvious

Re: looking for something like a union file system

2008-11-15 Thread Ulrich Spoerlein
tree thus I want someway of merge the two dirs and have a copy on write via a special command for it (i.e. if I start to edit foo.c it automatically checks it out for me) any ideas? mount_unionfs(8) or the FUSE equivalent Cheers, Ulrich Spoerlein -- It is better to remain silent

Re: Extending find(1) to support -printf

2008-09-13 Thread Ulrich Spoerlein
files _except_ the ones that end with .gz or .bz2. Indeed much more useful than fighting with find(1) and passing the file lists around. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt

Re: FreeBSD + LDAP + SAMBA + WINDOWS

2008-06-06 Thread Ulrich Spoerlein
...) The other way round though will only update the userPassword and not change the samba{Lm,NT}passwords leading to the old password still being valid for Windows. We're using a small CGI script where our users can change (both) passwords in their browser. Cheers, Ulrich Spoerlein -- It is better

Re: [Patch] Using sysctl(8) to acquire info from different systems

2008-05-18 Thread Ulrich Spoerlein
. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: valgrind or workalike on FreeBSD/amd64 7.0/8.0?

2008-02-18 Thread Ulrich Spoerlein
/... perforce project. It works pretty well. When will mere mortals like us get a chance to play with it? I found valgrind _very_ useful back in the 5.x and 6.x days. Thanks for the porting! Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt

Re: /dev/dsp disappeared after power outage

2008-02-04 Thread Ulrich Spoerlein
:) Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

Re: 'periodic daily' memory usage

2008-02-01 Thread Ulrich Spoerlein
\) -print0 | + xargs -0 ls -liTd | + check_diff setuid - ${host} setuid diffs: + rc=$? + ;; Since $MP might be empty (think NFS_ROOT or CD9660_ROOT) you'd still need the [ -n $MP ] check, AFAICS. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool

Re: handling pdfs?

2007-11-30 Thread Ulrich Spoerlein
be best, but I'd take whatever offered. Lots of tools have already been mentioned. I'll just throw in pdflatex+pdfpages. You can easily zoom, rotate and N'up pages of different PDF files. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all

Re: 1000+ day uptime 5.3-RELEASE box

2007-11-12 Thread Ulrich Spoerlein
string, so there is always at least one space between HighUse and Requests (looks like there are two spaces between Requests and Sizes.) People might depend on, eg., awk '{print $5}' always printing the right field. Thanks, Ulrich Spoerlein -- It is better to remain silent and be thought a fool

Re: Creating install CD with custom ports - how to massage INDEX file?

2007-10-26 Thread Ulrich Spoerlein
/cdboot -no-emul-boot ${TRR}/R/cdrom/disc1 md5 ${TFR}.iso ${TFR}.iso.md5 hth, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt. ___ freebsd-hackers@freebsd.org mailing list http

Re: A more tenuously package-related question

2007-10-26 Thread Ulrich Spoerlein
is your package repository? Does pkg_replace work by simply setting PKG_PATH=ftp://foo/bar ? Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt. ___ freebsd-hackers@freebsd.org mailing list

Re: Own Install CD with custom kernel

2007-09-25 Thread Ulrich Spoerlein
On 9/25/07, Matthias Fechner [EMAIL PROTECTED] wrote: thx a lot for your really great answer, but I have some more short questions. :) Do you copy the release target to the Makefile in /usr/src/release/Makefile or do you execute from another place? Since we need to be able to reproduce our

Re: Own Install CD with custom kernel

2007-09-23 Thread Ulrich Spoerlein
of GENERIC and SMP landing in /boot/{GENERIC,SMP} We also ship a /boot/loader.conf that sets the correct kernel to boot and is versioned and centrally controlled, yadda yadda yadda hth, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt

Re: [PATCH] newsyslog - don't compress first log file

2007-08-12 Thread Ulrich Spoerlein
it easier to find the logfile for 1999-12-31 or 2000-01-01 some years from now. Right now, I have to use syslog-ng for that purpose. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt

Re: Tar output mode for installworld

2007-07-18 Thread Ulrich Spoerlein
the feeling my bootup time could be reduced drastically by this approach. Perhaps some day I get around to prototyping it. [1] I know this is hard to decide. [2] To make this self-tuning, the output of the precache script must not appear in the ktrace/kdump list. Cheers, Ulrich Spoerlein

Re: Tar output mode for installworld

2007-07-16 Thread Ulrich Spoerlein
On 7/15/07, Tim Kientzle [EMAIL PROTECTED] wrote: Ulrich Spoerlein wrote: Simple and elegant. It would also do away with those base.aa, base.ab, etc. madness. I'm confused. base.aa, etc, are a tar file, so I don't entirely understand how this would be different? The current installer does

Re: Tar output mode for installworld

2007-07-15 Thread Ulrich Spoerlein
away with those base.aa, base.ab, etc. madness. I like it! Cheers, Ulrich Spoerlein -- The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled. -- Will Cuppy ___ freebsd-hackers

Re: pkg_upgrade (was Re: pkg_add does not backtrack, does it?)

2007-02-08 Thread Ulrich Spoerlein
-to-date INDEX. Not exactly what we are looking for here. I hacked together an ugly shell script, that will use pkg_version (it can grab the INDEX from the pkg-site via ftp) and gives you the feature to pkg_delete/pkg_add selected packages. It is missing a lot of other stuff, though. Ulrich Spoerlein

Re: dump reads more than restore writes?

2007-01-08 Thread Ulrich Spoerlein
On 1/8/07, Oliver Fromme [EMAIL PROTECTED] wrote: However, I think that there must be a bug in gstat when it displays 600 GB read to copy a 200 GB file system. dump(8) is inefficient, but not _that_ inefficient. When doing the dump|restore dance to copy filesystems, I make it a habit to have

Re: net/mpd causes a kernel freeze

2006-11-14 Thread Ulrich Spoerlein
kernel conf. Ulrich Spoerlein -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: File trees: the deeper, the weirder

2006-10-29 Thread Ulrich Spoerlein
Yar Tikhiy wrote: Weird, eh? Any ideas what's going on? None, but have you tried without soft updates? Ulrich Spoerlein -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon

Re: absolute vs. relative offsets in disklabel

2006-08-03 Thread Ulrich Spoerlein
with simple dd(1). Yes please! I am faced with the problem, that I want to offset my FreeBSD slice about -2GB, so I can use growfs to enlarge it. btw, how hard would it be to write a shrinkfs and perhaps movefs tool? Ulrich Spoerlein -- A: Yes. Q: Are you sure? A: Because it reverses

Re: Atomic updates of NFS export lists

2006-04-25 Thread Ulrich Spoerlein
to restart mountd, it will simply pick up /vol and make it available. I hope these semantics will remain? (No sorry, I didn't not test your patch yet). Ulrich Spoerlein -- PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E

Re: Naive implementation of strverscmp(3)

2006-02-17 Thread Ulrich Spoerlein
) that behaves exactly as the glibc version (at least for a limit amount of testing). Ulrich Spoerlein -- PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care

Re: Naive implementation of strverscmp(3)

2006-02-15 Thread Ulrich Spoerlein
, no matter what. If someone could explain to me, why the GNU folks do it the other way round, I could try implementing that too. Also, what do people think about the commented out while construct? It saves a call to strcspn(s2) if s1 has no digits, but it's rather ugly. Ulrich Spoerlein -- PGP

Re: Naive implementation of strverscmp(3)

2006-02-15 Thread Ulrich Spoerlein
is a last version, which now also functions for strings starting with numbers and which I'll probably try getting committed to the gqview port. You may do with the code whatever you want. :) Ulrich Spoerlein -- PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9

Naive implementation of strverscmp(3)

2006-02-14 Thread Ulrich Spoerlein
their integral/fraction distinction, and my version differs in that regard. See the return values of the attached sample code. Ulrich Spoerlein -- PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse

Re: JFS2 on freebsd

2005-09-12 Thread Ulrich Spoerlein
, this all might be a dream. But my understanding of FUSE is that this should be possible. Ulrich Spoerlein -- PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of Ph'nglui mglw'nafh Cthulhu R'lyeh

Re: Firewire blues

2005-02-19 Thread Ulrich Spoerlein
looks like the default is to force the console, even if NOTES has this default ./conf/NOTES:optionsDCONS_FORCE_CONSOLE=0 # force to be the primary console Anyway, let's turn on ULE and PREEMPTION and see what happens :) Ulrich Spoerlein -- PGP Key ID: F0DB9F44

Re: Firewire blues

2005-02-18 Thread Ulrich Spoerlein
switches to the local console, but how am I supposed to run this command when booting into singleuser? Can I somehow lower the priority of dcons? Ulrich Spoerlein -- PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44

Re: Firewire blues

2005-02-16 Thread Ulrich Spoerlein
here? Other than that, remote gdb is working. Poking inside the fwmem itself is however not working, I get this after setting eui64_{hi,lo} % kgdb -c /dev/fwmem0.0 kernel.debug ... 0x in ?? () What's missing here? Ulrich Spoerlein -- PGP Key ID: F0DB9F44

Re: Firewire blues

2005-02-16 Thread Ulrich Spoerlein
in between to get the desired functionality. Ulrich Spoerlein -- PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn. didn't you understand

Re: Firewire blues

2005-02-07 Thread Ulrich Spoerlein
in getting kgdb to work over firewire, I failed :( If you get it working, please get back to me! Ulrich Spoerlein -- PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of Ph'nglui mglw'nafh Cthulhu R'lyeh