Re: mdoc(7) question

2003-02-10 Thread Dan Nelson
> .Bl -ohang -compact Try .Bl -tag -width "indent"here instead. That creates a list with "tags" or headers, and the description indented by the width of the word "indent". -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Some "security" questions.

2003-02-11 Thread Dan Nelson
d to change > peoples' passwords whenever they asked... Not having #2 in your internal network is a big red X on security audits, though. Netware did this right, where 3 (configureable) consecutive bad logins sets an intruder lockout flag, that gets cleared after 10 (configureable) minutes. -

Re: mdoc(7) question

2003-02-11 Thread Dan Nelson
se two items will fold, and description > will begin on the tag line. That's not what I want. .br ( line break, just like html's ) should work: .Bl -tag -width indent .It Fl H .br Print a brief help message. .El -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe:

Re: linux binary and pwrite() problem...

2003-02-15 Thread Dan Nelson
ot explain why on one box 'pwrite()' is called and on the other > one 'write()', is this the first box has a newer build date? Or are > there any other components that might have an effect on running linux > binaries. You need to install the devel/linux_kdump port a

Re: Are there any on-going projects on v4l porting?

2003-03-12 Thread Dan Nelson
require kernel mods. It does mean that you need to start X up to capture video, though. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: first parameter to select

2003-03-12 Thread Dan Nelson
rely historic? Performance. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: OID problem with Init?

2003-03-22 Thread Dan Nelson
ou can just installworld in multiuser mode, and reboot after it's done. The advise to install in single-user mode is just so that people logged in while you install don't have problems due to binaries getting installed before required libraries, etc. -- Dan Nelson [EMAIL

Re: wait()/alarm() race condition

2003-03-30 Thread Dan Nelson
g like this? Ideally wait() has a > timeout parameter, but, no such luck. Just make sure your signal handler has the SA_RESTART flag unset (either via siginterrupt() if the handler was installed with signal(), or directly if the signal was installed with sigaction() ), and the signal will inte

Re: wait()/alarm() race condition

2003-03-30 Thread Dan Nelson
In the last episode (Mar 30), Sean Hamilton said: > Dan Nelson wrote: > | Just make sure your signal handler has the SA_RESTART flag unset > | (either via siginterrupt() if the handler was installed with > | signal(), or directly if the signal was installed with sigaction() > | ),

Re: setting CMOS clock

2003-06-06 Thread Dan Nelson
only give you time to the nearest second, and according to http://www.eecis.udel.edu/~ntp/ntpfaq/NTP-s-refclk.htm#AEN4231 , the DCF77 signal is accurate to ~3ms . Precompiled ntpd binaries for NT are available at http://www.ntp.org/links.html -- D

Re: Are write() calls guaranteed atomic?

2003-06-03 Thread Dan Nelson
the O_NONBLOCK flag of the file status flags is set. If you cannot modify the clients, try changing your server to create a Unix domain socket instead of a named pipe (the clients shouldn't see any difference). -- Dan Nelson [EMAIL PROTECTED] __

Re: Are write() calls guaranteed atomic?

2003-06-03 Thread Dan Nelson
cket (again...) Take a look at syslogd; it creates a unix domain socket at /var/run/log. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: /bin/sh and BIG NUMBERS

2003-04-06 Thread Dan Nelson
d integer type with a rank larger than the rank of signed long. The shell may use a real-floating type instead of signed long as long as it does not affect the results in cases where there is no overflow. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: SDLT tape drives

2003-04-09 Thread Dan Nelson
You don't have to specifically ask about a particular model. I had no problems using DLT autoloaders on our FreBSD servers. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/f

Re: cookie size...

2003-07-01 Thread Dan Nelson
ckers/2003-April/000592.html It'd be easier if Linux would just follow the NFS spec, though. http://lxr.linux.no/source/include/linux/lockd/xdr.h has the following comment: /* * NLM cookies. Technically they can be 1K, Nobody uses over 8 bytes * however. */ -- Dan Nel

Re: telldir()/seekdir() confusion

2003-07-08 Thread Dan Nelson
directories, for example; there may not be a way to store the correct position in a single "long" value without using a cookie like FreeBSD does. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: What ever happened with this? "eXperimental bandwidth delayproduct code"

2003-07-09 Thread Dan Nelson
default as it will lower the throughput of individual TCP streams to prevent backlogs and packet loss. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: What ever happened with this? "eXperimental bandwidth delayproduct code"

2003-07-09 Thread Dan Nelson
e? Unless you're doing multiple simultaneous TCP connections it'll only slow you down. Your bw*delay product is 600/8*.220 = 165Kbytes, so telling ncftp to set its so-bufsize to say 200K, and telling your ftp daemon to do the same thing, should be all you need. -- Dan Nels

Re: What ever happened with this? "eXperimental bandwidth delayproduct code"

2003-07-09 Thread Dan Nelson
unning commercial software > able to push this link to 625KByte/s (5Mbit/s) Perhaps it defaults to a larger window size? You can easily verify this with tcpdump or ethereal. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL

Re: What ever happened with this? "eXperimental bandwidth delayproduct code"

2003-07-09 Thread Dan Nelson
K bw*d product) even with IDE disks. Latency and packetloss are the killers. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to &

Re: Can I tell whether dump used -L or not ?

2003-07-15 Thread Dan Nelson
use -L when creating a dump, do I need to restore it any > differently, or can I restore it the same regardless of whether I used -L > or not ? Nope. All -L does is back up a snapshot instead of the (possibly changing) live filesystem. The dump file format doesn't change. --

Re: running 5.1-RELEASE with no procfs mounted (lockups?)

2003-07-18 Thread Dan Nelson
# ktrace -p > # kdump -l Neat! I didn't know about -l. One thing truss/strace can do that ktrace doesn't (can't?) is dereference pointers to print things like select/poll arrays, stat structures, etc (see pr bin/52190, which is waiting patiently for a committer). --

Re: telldir()/seekdir() confusion

2003-07-18 Thread Dan Nelson
In the last episode (Jul 18), Alexey Neyman said: > hi, there! > > On Wednesday 09 July 2003 00:30, Dan Nelson wrote: > DN> > pos = telldir(dirp); > DN> > ent = readdir(dirp); > DN> > seekdir(dirp, pos); > DN> > printf("First t

Re: Ultra ATA card doesn't seem to provide Ultra speeds.

2003-07-31 Thread Dan Nelson
Mb/s barrier... What I find fascinating is that Maxtor's site never actually tells you the true throughput of that disk anywhere. http://www.maxtor.com/en/products/ata/desktop/diamondmax_plus_9/ -- Dan Nelson [EMAIL PROTECTED] ___ [E

Re: Ultra ATA card doesn't seem to provide Ultra speeds.

2003-07-31 Thread Dan Nelson
om/tech/techlib.nsf/techdocs/966AE18147C20C8587256BF100656F41/$file/HGSTUltrastar146Z10.PDF Also lists center/edge sustained speeds -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: GEOM Gate.

2003-08-16 Thread Dan Nelson
st 5 years. The slowest machine I have it a P6/200 with FreeBSD 4.1 and this disk: ad0: 3067MB [6232/16/63] at ata0-master using WDMA2 , which does 7MB/sec raw, can feed a NFS client doing a file read at 5MB/sec. -- Dan Nelson [EMAIL PROTECTED] ___

Re: GEOM Gate.

2003-08-17 Thread Dan Nelson
In the last episode (Aug 17), Pawel Jakub Dawidek said: > On Sat, Aug 16, 2003 at 08:50:30PM -0500, Dan Nelson wrote: > +> What kind of hardware were you using? 2.5MB/sec NFS sounds > +> abysmal. > > I don't think it is a hardware problem. > > Run this test o

Re: Is tar doing the right thing here?

2003-08-17 Thread Dan Nelson
null fd1 -> /dev/null fd2 -> stdout 2>&1 fd1 -> /dev/null fd2 -> /dev/null -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: [future patch] dropping user privileges on demand

2003-08-21 Thread Dan Nelson
failure code, nothing else). -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: dd to floppies broken?

2003-08-21 Thread Dan Nelson
ly write full blocks to raw devices. The first file is 84480/512 = 165 disk blocks on the dot. The second file is 164.8828125 blocks, and that last fragment is why the dd is failing. Try adding conv=osync to your dd line to tell it to pad the

Re: Ugly Huge BSD Monster

2003-09-02 Thread Dan Nelson
least should be the defaults. Smart ports check to see whether the user has installed the optional package. See ports/audio/alsaplayer/Makefile, for example. You're welcome to submit PRs fixing the ports that hardcode unnecessary dependencies :) --

Re: Ugly Huge BSD Monster

2003-09-01 Thread Dan Nelson
Of course. Most programs in the ports tree are standalone. 95% of the programs in the base system are standalone. > Before I thought that unix programs very compact, but they are huge! Some are huge, some are small. There are a lot of Windows programs that are huge too (MS Word,

Re: 20TB Storage System

2003-09-02 Thread Dan Nelson
wo to sustain > the IO required? To sustain only 30MByte/s across the entire set? Doesn't really matter, since even a single disk could do that. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://list

Re: 20TB Storage System

2003-09-02 Thread Dan Nelson
In the last episode (Sep 02), Max Clark said: [ quoting format manually recovered ] > Dan Nelson wrote > > Depends on whether you plan on crashing or not :) According to > > http://lists.freebsd.org/pipermail/freebsd-fs/2003-July/000181.html, > > you may not want to create

Re: mmap(2) questions, reads not caching

2003-09-08 Thread Dan Nelson
> leftover, or will the entire region be unmapped? It simply rounds up to the nearest pagesize. If you map 1 byte, you get a page. munmap does the same thing. > And, should I be passing MAP_PRIVATE or MAP_SHARED to read-only mmaps? Does > it make any difference at all? I do

Re: EMCsq/SAN

2003-09-14 Thread Dan Nelson
have an EMC unit, let them know you'd like to attach a FreeBSD box (give them exact hardware specs) and they'll certify it. It's in their best interest to support their customers' systems :) -- Dan Nelson [EMAIL PROTECTED]

Re: TCP information

2003-09-18 Thread Dan Nelson
to tcpcb and hack all the netinet/tcp* code to update those whenever the global tcpstat gets updated. You'll get all the info that netstat -s prints, for each socket. *That* will definitely double the size of struct tcpcb :) -- Dan Nelson [EMAIL PROTECTED] __

Re: Relinking binaries to new .so libs when versions change?

2003-09-18 Thread Dan Nelson
rticular .so, eg. "mvld foo foo.so.1 > foo.so.2"? Version numbers get bumped for a reason :) Running the wrong version library will usually result in a coredump or runtime linking error. -- Dan Nelson [EMAIL PROTECTED] ___

Re: smallest piece of hardware that runs *BSD?

2003-10-10 Thread Dan Nelson
knowing such or having > experience? Lantronix's XPort product is definitely in your size range (embedded management device built into an rj45 jack), but I don't believe you can put just any OS on it, though. It runs on a custom 16-bit 80186 CPU. http://www.lantronix.com/products/e

Re: setting sio to even parity failed

2003-10-10 Thread Dan Nelson
In the last episode (Oct 10), Bernd Walter said: > buf.c_iflag |= IGNBRK; > buf.c_cflag &= ~(CSIZE | PARODD); > buf.c_cflag |= CS8 | CLOCAL | PARENB; Do you maybe want CS7 here? -- Dan Nelson [EM

Re: Some mmap observations compared to Linux 2.6/OpenBSD

2003-10-22 Thread Dan Nelson
; by OpenBSD could not be adapted to FreeBSD's VM system. Probably just a case of "too much to do and not enough people to do it". FreeBSD already has sys/tree.h, which provides the red-black tree macros. -- Dan Nelson [EMAIL PROTECTED] ___

Re: FreeBSD 4.2 NIS-Client with Linux NIS-Server Problem

2003-10-26 Thread Dan Nelson
unknown version of Linux, and you care having some unknown problem. We need details. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: POSIX Threads

2003-10-29 Thread Dan Nelson
roblem because it sends events too fast to clients > so the CORBA event service fails. When you called pcap_open_live, what timeout did you set? -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebs

Re: POSIX Threads

2003-10-30 Thread Dan Nelson
In the last episode (Oct 30), Isaac Gelado said: > Dan Nelson escribiÃ: > >In the last episode (Oct 29), Isaac Gelado said: > >>This schema is working correctly in a linux machine, so when a > >>packet is captured an CORBA event is sent to clients. But, when the > >

Re: NFS: How to make FreeBSD fall on its face in one easy step

2001-12-13 Thread Dan Nelson
ult amd rule says proto=udp. Is there any reason to add the overhead of the TCP stack if you're not leaving your own ethernet? You should be able to easily saturate a 100mbit link with FreeBSD 4.* machines, and I can do 15-20MB/sec with Netgear GA620 gigabit nics (SMP 2 x pIII/600). --

Re: Found NFS data corruption bug... (was Re: NFS: How to make FreeBSD fall on its face in one easy step )

2001-12-18 Thread Dan Nelson
e file, causing the snapshot file that the background fsck is using to grow and fill up the filesystem. Unlikely, but possible if your disk is almost full already. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: sar on FreeBSD

2002-01-11 Thread Dan Nelson
of work to me. There are already kernel counters for most (probably all) of the things sar would need to measure. The only problem is writing sar, sa1, sa2, and sadc. If you don't mind the GPL, the Linux systat package includes an implementation of sar. In 1999, SCO promised to release

Re: sar on FreeBSD

2002-01-11 Thread Dan Nelson
real sar. SCO released the sources a year or two > back, now. Well, they published a press release saying they would, but the web page referenced in the announcement never had any download links, and is now 404. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: Insane performance regression?

2002-01-20 Thread Dan Nelson
e latter, you might want to try building different kernels to see if you can pinpoint the commit that's causing your slowdown. You will only have to rebuild the kernel, and a binary search should let you narrow it down in under 2 hours, I'd say. I would have suggested looking at Alfred'

Re: Port: Intel Fortran (and C++?) compilers

2002-01-24 Thread Dan Nelson
nt on what you're building. icc will try and use the Linux headers, so if you use FILE, or pretty much any system struct, it's not going to run right. Actually, what might work is "icc -X -I /usr/include", and then link with the freebsd ld. But icc doesn't understand a

Re: shell scripts that hang around forever

2002-01-27 Thread Dan Nelson
ILES" != "*" ] ; then for i in $FILES ; do $HOME/scripts/test-freebsd-cvs.sh $i ; done fi done it looks fine. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: stack alignment issues (was: unbelievable benchmark output)

2002-02-03 Thread Dan Nelson
http://www.freebsd.org/cgi/getmsg.cgi?fetch=393691+0+/usr/local/www/db/text/2000/freebsd-current/2507.freebsd-current or, easier to read the entire thread: http://groups.yahoo.com/group/freebsd-current/messages/39583?threaded=1 -- Dan Nelson [EMAIL PROTECTED] To Unsubscri

Re: fork rate limit

2002-02-04 Thread Dan Nelson
ybe simply delay the fork() until the rate drops? -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Diskless USB Issue

2002-02-06 Thread Dan Nelson
on FAT, so you should be able to boot straight into FreeBSD without using DOS (have grub load /boot/loader which in turn loads the kernel). -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: dump(8) race conditions?

2002-02-07 Thread Dan Nelson
: read error from /dev/rda4s1e: Invalid argument: [block -1001057530]: >count=1024 > [ ... ] Dump should ideally be run on an unmounted filesystem. The next best is to create a snapshot ( /usr/src/sys/ufs/ffs/README.snapshot ) and dump that. -- Dan Nelson [EMAIL PROTECTED]

Re: A question and a suggestion about loadable modules

2002-02-19 Thread Dan Nelson
So that any module loaded will automagically load modules it depends > on to run ? See the module(9) and MODULE_DEPEND(9) manpages. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: A question and a suggestion about loadable modules

2002-02-20 Thread Dan Nelson
In the last episode (Feb 20), Cliff Sarginson said: > On Tue, Feb 19, 2002 at 02:58:09PM -0600, Dan Nelson wrote: > > In the last episode (Feb 19), Cliff Sarginson said: > > > Hello, > > > Someone suggested this may be the right list for this. > > > >

Re: how do I see the current number of PTYs in use ?

2002-03-01 Thread Dan Nelson
riginal poster is satisfied 8-) Easier might be "pstat -t | grep 'tty[pqrsPQRS]' | wc -l" -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Removing data segment size limit

2002-03-15 Thread Dan Nelson
setting. What's cache_mem currently set to, and how fast does squid's memory usage grow? -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Removing data segment size limit

2002-03-15 Thread Dan Nelson
etely off base, though. You might want to check with the people on the Squid mailing-list: [EMAIL PROTECTED] -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: idprio

2002-03-26 Thread Dan Nelson
if that vnode happened to be an important one (say for /), you may not be able to kill the other process without rebooting. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: idprio

2002-03-26 Thread Dan Nelson
cumstances can a > process hold a vnode lock and then be usurped for processor? System calls aren't preempted, but if while processing a syscall, the kernel decides to tsleep(), say because of disk I/O (a very common thing when dealing with vnodes :), then another process is free to star

Re: ? sysctl -a crashed the GENERIC kernel

2002-03-27 Thread Dan Nelson
anics or signal 11 coredumps are usually due to an excessively overclocked CPU, or bad RAM. Try dropping your CPU speed 5%. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: determining context switching?

2002-03-29 Thread Dan Nelson
t; } > > looks like what I want but I can't find a function which returns this > data to a user land application. Is this possible? If so how? Take a look at /usr/src/usr.sbin/vmstat.c. You'll want to use sysctl() to pull the vm.vmmeter data block, which is of type "stru

Re: cdcontrol(1) speed command

2002-04-05 Thread Dan Nelson
to control audio features of a CD drive. The device is a name such as cd0 or mcd0. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Hardlinks...

2002-04-08 Thread Dan Nelson
haust your inode quota with 0-length files. I wonder if there is any reason to allow arbitrary hardlinking; maybe only allow linking of files you currently have read access to? Only files that you own? Only allow root to hardlink? How paranoid do you want to be? :) It could always be ano

Re: Hardlinks...

2002-04-08 Thread Dan Nelson
on the same partition as files he wants to keep secure. > I think a patch that disallowed it entirely would break > /var/spool/lock based locking. 8-(. But for UUCP locking, you're linking a tempfile that you just created to the true lock name. You are linking from a file you own,

Re: quotactl issues

2002-04-11 Thread Dan Nelson
eads/writes the quota files directly! > > > > So, is quotactl just not supported or do the filesystems need to > > be converted or what? > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message

Re: quotactl issues

2002-04-11 Thread Dan Nelson
on all my 4.* systems (4.0 through 4.5) edquota calls quotactl and it succeeds: 90883 edquota CALL quotactl(0x8057828,0x4,0x3e8,0x8057808) 90883 edquota NAMI "/usr" 90883 edquota RET quotactl 0 -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: FreeBSD NIS serving linux clients.

2002-04-13 Thread Dan Nelson
g in. Also make sure you're running ypbind-1.8 or higher on the Linux box. Earlier versons have a very hard time staying bound to a server. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: uptime source code

2002-05-12 Thread Dan Nelson
in/w $ uptime is actually w, and the source to w is in /usr/src/usr.bin/w . -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: [therman@lsil.com: 3rd party drivers]

2002-05-24 Thread Dan Nelson
ts. http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/contrib/dev/ -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: mbuf problems on 4.5/4.6-RC2

2002-05-29 Thread Dan Nelson
4k mbufs is probably too high, actually. The tuning(7) manpage goes into a bit more detail. If you are still having problems, try the -net mailinglist. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Is gethostbyname2() reentrant?

2002-05-31 Thread Dan Nelson
xplicit: BUGS The nsdispatch routines are not thread safe. This will be rectified in the future. You'll have to serialize access to it yourself. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: dmesg buffer preserved between reboots

2002-05-31 Thread Dan Nelson
part of a warmboot, you'll lose the dmesg buffer. I've got docked laptops that don't seem to ever zero the data, even on a power cycle. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Improving GNU make compatibility in BSD make (+ patch)

2002-05-31 Thread Dan Nelson
y by simply listing the dependencies itself, so > envuidgid: envuidgid.o > $(CC) $(LDFLAGS) -o $@ $^ becomes > $(CC) $(LDFLAGS) -o $@ envuidgid.o -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Improving GNU make compatibility in BSD make (+ patch)

2002-05-31 Thread Dan Nelson
In the last episode (May 31), Jos Backus said: > On Fri, May 31, 2002 at 11:46:03PM -0500, Dan Nelson wrote: > > Automake avoids the issue entirely by simply listing the dependencies > > itself, so > > > > > envuidgid: envuidgid.o > > > $(C

Re: allocating memory

2002-06-06 Thread Dan Nelson
.5 GB of memory, even > > if I do it in > > Check your per-process limits. > > Also, rebuild your kernel after increasing MAXDSIZ: (from LINT) You don't even need to rebuild the kernel. Just add kern.maxdsiz=1073741824 to /etc/loader.conf and reboot (to raise the limit

Re: a hopefully simple question

2002-06-08 Thread Dan Nelson
nformation i need? man speaker man spkrtest -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: security bug in /etc/rc in -STABLE?

2002-06-13 Thread Dan Nelson
ry, only the symlink is removed. The old version was vulnerable to someone symlinking .X11-unix to, say, /etc. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: LINT CPU features table

2002-06-22 Thread Dan Nelson
the code activated by the options are specialized bcopy routines accessed through an indirect pointer, or initialization code used only once during bootup. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Motherboard temperature sensing

2002-07-09 Thread Dan Nelson
oard). All are easily scriptable for graphing purposes, healthd can be configured to run scripts based on trigger settings. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: terminfo/termcap and cygwin

2002-07-10 Thread Dan Nelson
on the FreeBSD box. Run "cap_mkdb /usr/share/misc/termcap" when you're done. That should make FreeBSD use cygwin's updated termcap entries. If this fixes your problem, use send-pr to file a FreeBSD bug on it. If it doesn't, file a bug with cygwin, asking them to up

Re: tuning for samba

2002-07-10 Thread Dan Nelson
In the last episode (Jul 10), Chad David said: > As a side note, the data being served will be attached to the samba server > via NFS. Wouldn't it be better to run samba directly on the server that's providing the data? Why force it over the network twice? -- Dan Nelso

Re: Large variables on stack

2002-07-12 Thread Dan Nelson
ocated on heap. > > So the following question comes to my mind: To stay portable to a > reasonable degree, how large on-stack variables can be used? I think most OSes default to an 8MB stack (at least a quick survey of the ones here do). FreeBSD seems to default to 64MB. -- Dan

Re: dump on mounted fs

2002-07-23 Thread Dan Nelson
written data is flushed before the call returns. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: sed -i has difficulty with read-only files

2002-07-27 Thread Dan Nelson
agine that the current fs is nearly full... Don't you want to temp filename to be in exactly the same place as the original file, so the rename() swap will work? If the current fs is full, then sed -i will fail anyway. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mai

Re: dump on mounted fs

2002-07-26 Thread Dan Nelson
too. Hmm. There isn't anything on alpha.gnu.org. Not even a /gnu directory anymore. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: /usr/local & cc

2002-08-11 Thread Dan Nelson
ourself, so you can't use them them in your examples. If you were to try with the native Solaris cc, it would not include /usr/local. Same for the bundled cc on Tru64. It's probably a bug that BSD/OS didn't remove /usr/include when they imported gcc into the base system. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Updating bsd.cpu.mk (Re: -fomit-frame-pointer for the world build)

2002-09-06 Thread Dan Nelson
ference between pentiumpro and the other options, either, though. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Dell 2650 SMP perf question

2002-09-10 Thread Dan Nelson
om RAM instead of a blocking disk read. * Splitting your single perl program into multiple ones that hit the database simultaneously. You might be seeing a synchronization effect where your perl and mysql processes are competing for a SMP lock or something and the wrong one always wins.

Re: Which archiver handles the ICE format?

2002-09-23 Thread Dan Nelson
t; ports/archivers/lha will extract them. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Dan Nelson
ively. Since S_IFWHT is a filetype, you would have to only allow file deletion, or encode the original filetype somewhere else. Alternatively, you could add a file flag equivalent to whiteout. "invisible" or something, and use chflags to salvage. -- Dan Nelson [EMAIL PROT

Re: Hey, is there space for a newbie? =)

2002-09-25 Thread Dan Nelson
In the last episode (Sep 25), Terry Lambert said: > Dan Nelson wrote: > > You might be able to misuse the Whiteout file type in FFS to > > present a similar user interface. unlink(2) would rename the file > > to filename.timestamp and whiteoute it. ls -W, rm -W, and rm wo

Re: perceived strangeness with getopt(1,3)

2002-09-25 Thread Dan Nelson
-- k > -s arg2 -- > gabby# You'll just have to catch that in your switch-processing code, and print an error if you get an argument that starts with a dash. case $i in -s ) case $2 in -* ) echo "getopt: option requires an argument -- $i" ; exit 1 ;;

Re: Sharing a SCSI bus between some computers

2002-10-10 Thread Dan Nelson
to the disk. What you want is a shared-storage filesystem, and there is no such thing for FreeBSD. Considering you can get a gigabit ethernet NIC for under $50 and a D-Link 4-port gigabit switch for $300, you might just want to plug the RAID into BOX3, and have BOX1/2 NFS-mount it. -- Dan N

Re: malloc

2002-10-22 Thread Dan Nelson
reeBSD malloc uses anonymous pages mmap'ed off of /dev/zero. > > The Linux malloc uses pages added to the process address space via a > call to sbrk. Actually, on FreeBSD only the page directory is mmap'ed. Data returned to the user is allocated via sbrk. -- D

Re: malloc

2002-10-22 Thread Dan Nelson
In the last episode (Oct 22), Terry Lambert said: > Dan Nelson wrote: > > > The FreeBSD malloc uses anonymous pages mmap'ed off of /dev/zero. > > > > > > The Linux malloc uses pages added to the process address space via a > > > call to sbrk. > >

Re: load time module parameters?

2002-11-05 Thread Dan Nelson
bles, or you can have your module register a dynamic sysctl variable that the user can tweak after the module has been loaded. I've used the sysctl method myself and it works fine. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: seeking clarification of makefile rules 'safe' with -j

2002-11-20 Thread Dan Nelson
e, .l.out should probably be using ${.PREFIX}.l.tmp.c, just so you can tell which rule generated a particular tempfile. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

<    1   2   3   4   5   >