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

2009-01-10 Thread Ulrich Spoerlein
gt; /dev. You forgot directories with --x 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, th

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

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

2009-01-08 Thread Ulrich Spoerlein
should it create anyway?) This is a FAQ 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/

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

Re: Small change to 'ps'

2009-01-07 Thread Ulrich Spoerlein
ng the man page) but here 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

Re: looking for something like a union file system

2008-11-15 Thread Ulrich Spoerlein
umes it > is all in one 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 -- I

Re: Extending find(1) to support -printf

2008-09-13 Thread Ulrich Spoerlein
> > By the way, I often use zsh in such cases. It supports > "extended globbing", for example, the wildcard expression > *~*.(gz|bz2) matches all files _except_ the ones that end > with .gz or .bz2. Indeed much more useful than fighting with find(1) and pas

Re: FreeBSD + LDAP + SAMBA + WINDOWS

2008-06-06 Thread Ulrich Spoerlein
word updated accordingly. Samba will not change the used algorithm, though (we use {CRYPT}, don't ask ...) 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 sm

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

2008-05-18 Thread Ulrich Spoerlein
t with a return code != 0. At least, that's what I would code it to do. 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://list

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

2008-02-18 Thread Ulrich Spoerlein
Cheers, > > Yes, check out the //depot/projects/valgrind/... 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 t

Re: /dev/dsp disappeared after power outage

2008-02-04 Thread Ulrich Spoerlein
and then the devices should appear. Try it for yourself, do 'ls /dev/dsp*' then 'ls /dev/dsp.8' Not that anything usefull can be done with ls(1) to get sound :) Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove al

Re: 'periodic daily' memory usage

2008-02-01 Thread Ulrich Spoerlein
-t ufs,zfs | awk '$0 !~ /no(suid|exec)/ { print $3 }'` > + find -sx $MP -type f \ > + \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \ > + \( -perm -u+s -or -perm -g+s \) -print0 | > + xargs -0 ls -liTd | > + check_diff setuid - "${host} setuid

Re: handling pdfs?

2007-11-30 Thread Ulrich Spoerlein
ectronic solution > would 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 b

Re: 1000+ day uptime 5.3-RELEASE box

2007-11-12 Thread Ulrich Spoerlein
, but could someone please fix up that format 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 Spoerle

Re: A more tenuously package-related question

2007-10-26 Thread Ulrich Spoerlein
-6.3.5.10_1.tbz > in my package repository directory. Where 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. _

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

2007-10-26 Thread Ulrich Spoerlein
nly ship 'disc 0' echo "CD_VERSION = ${RELEASE}" > ${TRR}/R/cdrom/disc1/cdrom.inf mkisofs -r -J -V '${RELEASE}' -publisher 'Distribution made for 1822direkt' -o ${TFR}.iso \ -b boot/cdboot -no-emul-boot ${TRR}/R/cdrom/disc1

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 o

Re: Own Install CD with custom kernel

2007-09-23 Thread Ulrich Spoerlein
o not install any kernel, but after all distributions are extracted the following commands are run command=/bin/sh -c "cd /dist/${RELEASE}/kernels && ./install.sh GENERIC" system command=/bin/sh -c "cd /dist/${RELEASE}/kernels && ./install.sh SMP" system It has th

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

2007-08-12 Thread Ulrich Spoerlein
2.gz, iff rotation is done every day at midnight. That way, you get a 'stable' name, which makes 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 --

Re: Tar output mode for installworld

2007-07-18 Thread Ulrich Spoerlein
00RPM hard disk which is dog slow. I have 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/k

Re: Tar output mode for installworld

2007-07-15 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?

Re: Tar output mode for installworld

2007-07-15 Thread Ulrich Spoerlein
hrough tar. Simple and elegant. It would also do 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 __

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

2007-02-08 Thread Ulrich Spoerlein
p) and gives you the feature to pkg_delete/pkg_add selected packages. It is missing a lot of other stuff, though. 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: 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
PREEMPTION, ie. remove that line from your 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 mail

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 i

Re: numbers don't lie ...

2006-09-25 Thread Ulrich Spoerlein
wait for disk I/O a very long time till they are finally scheduled. Thus, specifying high -jN values will mask any disk I/O latency (for reasonable combinations of CPUs and HDDs). Ulrich Spoerlein -- A: Yes. >Q: Are you sure? > >A: Because it reverses the logical flow of conversation. &

Re: absolute vs. relative offsets in disklabel

2006-08-03 Thread Ulrich Spoerlein
o copy and move slices 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? > &g

Re: Atomic updates of NFS export lists

2006-04-25 Thread Ulrich Spoerlein
comes available, I don't even need 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! Fingerpri

Re: Naive implementation of strverscmp(3)

2006-02-17 Thread Ulrich Spoerlein
erscmp(3) 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'

Re: Naive implementation of strverscmp(3)

2006-02-15 Thread Ulrich Spoerlein
n cause that much trouble. Anyway, attached 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

Re: Naive implementation of strverscmp(3)

2006-02-15 Thread Ulrich Spoerlein
0") > 0 In my book, '009' is just greater than zero, 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

Naive implementation of strverscmp(3)

2006-02-14 Thread Ulrich Spoerlein
selib-strverscmp.html Quite frankly, I don't understand 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

Re: JFS2 on freebsd

2005-09-12 Thread Ulrich Spoerlein
nce I don't know much about porting FS anyway, 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

Re: Firewire blues

2005-02-19 Thread Ulrich Spoerlein
T("hw.firewire.dcons_crom.force_console", &force_console); #endif Which to me 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 PRE

Re: Firewire blues

2005-02-18 Thread Ulrich Spoerlein
em you can use conscontrol to change console devices. This works, running conscontrol consolectl immediately 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

Re: Firewire blues

2005-02-16 Thread Ulrich Spoerlein
erfere with normal usage. Right now, I would need two kernel and a reboot 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

Re: Firewire blues

2005-02-16 Thread Ulrich Spoerlein
console useless. What am I doing wrong 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? Ulri

Re: Firewire blues

2005-02-07 Thread Ulrich Spoerlein
d good luck 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'