Re: Pointers about CPU load measuring

2004-04-02 Thread Dan Nelson
In the last episode (Apr 02), Mark said: Dan Nelson wrote: Someone can send some pointers on how to measure global CPU load under FreeBSD from a C program ? I'm looking for values for idle/kernel/user, in a similar way as does top. Is there any pointer or doc ?. I'd like to avoir browsing

Re: MS_ASYNC with MS_INVALIDATE

2004-03-29 Thread Dan Nelson
In the last episode (Mar 29), Peter Jeremy said: On Sun, Mar 28, 2004 at 03:02:37PM -0600, Dan Nelson wrote: In the last episode (Mar 27), Mark Terribile said: A friend asked me to run some Linux source on FreeBSD. It simulates a data pool management system he is using, and it includes

Re: MS_ASYNC with MS_INVALIDATE

2004-03-28 Thread Dan Nelson
in the shadow chain). I don't know if MS_ASYNC currently works; alc would be the person to ask about it, since it looks like he worked on msync and vm_map_sync in November. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list

Re: Question regarding shell user creation at login time

2004-03-28 Thread Dan Nelson
, then the setuid(0) call (redundant) should have worked, and so should the exec. Ganbold: if you run /home/new/new as an ordinary user, does it work? I can't think of how ssh would be nullifying the setuid bit on that binary, but you never know. -- Dan Nelson [EMAIL PROTECTED

Re: Duplicate ICMP messages

2004-03-18 Thread Dan Nelson
dupes sent from the regular nic. -- 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: off topic - disk crash

2004-03-11 Thread Dan Nelson
the bad area. I recovered data from a failed disk this way. -- 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: Reason for LINK_MAX set to 32K?

2004-03-05 Thread Dan Nelson
, but it's probably too late now. You might be able to change it to a uint16_t to raise the limit to 64K, but I don't know if the kernel ever relies on a negative link count at any time. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL

Re: FreeBSD 5.2 v/s FreeBSD 4.9 MFLOPS performance (gcc3.3.3 v/s gcc2.9.5)

2004-02-10 Thread Dan Nelson
/2000/freebsd-current/2507.freebsd-current I don't believe either gcc 2.95 or 3.3 will align the stack themselves. icc does seem to. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman

Re: Odd ACL question

2004-02-09 Thread Dan Nelson
extracting something into a user's directory, that's different, but you have the same problem even without ACLs. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: Can we extend VolumeGroup after creation?

2004-02-09 Thread Dan Nelson
-- 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 kind of a crash is this ? (kernel ? userland ?)

2004-02-01 Thread Dan Nelson
this ? Hit ^T and find out what command on the remote side is currently running, and what it's waiting on. Could be DNS, a remote NFS server not responding, local disk problems, etc. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED

Re: beastie boot menu, 4th (forth)

2004-01-09 Thread Dan Nelson
the boot menu in CURRENT, and would prefer something that * doesn't rob me of the text output so far * displays no mascots or other visual noise I believe adding beastie_disable=NO to /boot/loader.conf will do what you want. -- Dan Nelson [EMAIL PROTECTED

Re: syslog

2004-01-03 Thread Dan Nelson
In the last episode (Jan 04), Eugene Grosbein said: [EMAIL PROTECTED] wrote 8 years ago in src/lib/libc/gen/syslog.c: p += sprintf(p, %.15s , ctime(now) + 4); What is '+ 4' for? ctime returns a date in the format: Thu Nov 24 18:22:48 1986\n\0 The +4 skips the day name. -- Dan

Re: escape to kernel debugger

2003-12-26 Thread Dan Nelson
on a comconsole goes to Great! just what i was looking for! I was about to compile pxeboot, but htis is better, thanks If you're worried about accidental BREAKs, you can also use ALT_BREAK_TO_DEBUGGER, which enables a Sun-style CR~^B key sequence. -- Dan Nelson [EMAIL PROTECTED

Re: support for __thread

2003-12-21 Thread Dan Nelson
can't even attach to a libkse-threaded program with gdb; the tracee gets SIGSTOP'ped, and gdb just sits there. You have to kill -9 gdb from another tty, and the tracee dies. gdb can attach to a libc_r program, view all the threads, and detach without affecting the tracee. -- Dan Nelson

Re: Force a dump without panicing?

2003-12-20 Thread Dan Nelson
of times debugging my crashdump compressor. There's a bug in dumpsys() that only lets you call it once, though. Add a memset(kdh, 0, sizeof(kdh)) just above the code that fills in kdh. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL

Re: adding more ram

2003-12-09 Thread Dan Nelson
processes in and out of memory. I really can't think of a system that would still perform well with 2 or 3GB of process space in swap. At the 2gb RAM point, you usually have a system where any swapping == bad news. -- Dan Nelson [EMAIL PROTECTED

Re: Confused about HyperThreading and Performance

2003-11-12 Thread Dan Nelson
simultaneous access by another CPU. -- 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-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 server is running under FreeBSD 5.0

Re: POSIX Threads

2003-10-29 Thread Dan Nelson
event service fails. When you called pcap_open_live, what timeout did you set? -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

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

2003-10-26 Thread Dan Nelson
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: Some mmap observations compared to Linux 2.6/OpenBSD

2003-10-22 Thread Dan Nelson
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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman

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 [EMAIL PROTECTED

Re: TCP information

2003-09-18 Thread Dan Nelson
. 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] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

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

2003-09-18 Thread Dan Nelson
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] ___ [EMAIL PROTECTED] mailing list http

Re: EMCsq/SAN

2003-09-14 Thread Dan Nelson
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] ___ [EMAIL PROTECTED] mailing list http

Re: mmap(2) questions, reads not caching

2003-09-08 Thread Dan Nelson
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 don't think it matters. -- Dan Nelson [EMAIL PROTECTED

Re: Ugly Huge BSD Monster

2003-09-02 Thread Dan Nelson
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 :) -- Dan Nelson [EMAIL PROTECTED

Re: 20TB Storage System

2003-09-02 Thread Dan Nelson
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://lists.freebsd.org/mailman/listinfo/freebsd

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 filesystems over 3TB if you

Re: Ugly Huge BSD Monster

2003-09-01 Thread Dan Nelson
% 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, for example). -- Dan Nelson [EMAIL PROTECTED

Re: [future patch] dropping user privileges on demand

2003-08-21 Thread Dan Nelson
as well as revoke privileges. A useful modification would be to allow users to submit their own policies that can only disallow actions (i.e. all arguments and process variables are read-only, and the script can either pass the syscall through or return a failure code, nothing else). -- Dan

Re: dd to floppies broken?

2003-08-21 Thread Dan Nelson
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 last block out. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing

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 on 5.1-CURRENT with: options

Re: Is tar doing the right thing here?

2003-08-17 Thread Dan Nelson
/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: GEOM Gate.

2003-08-16 Thread Dan Nelson
: ad0: 3067MB QUANTUM FIREBALL_TM3200A [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] ___ [EMAIL PROTECTED] mailing list http

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

2003-07-31 Thread Dan Nelson
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] ___ [EMAIL PROTECTED] mailing list http

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

2003-07-31 Thread Dan Nelson
/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: running 5.1-RELEASE with no procfs mounted (lockups?)

2003-07-18 Thread Dan Nelson
arrays, stat structures, etc (see pr bin/52190, which is waiting patiently for a committer). -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send

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 telldir:%d\nSecond telldir:%d\n, pos, telldir(dirp)); DN I don't

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

2003-07-15 Thread Dan Nelson
, 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. -- Dan Nelson [EMAIL PROTECTED

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

2003-07-09 Thread Dan Nelson
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
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 Nelson [EMAIL PROTECTED

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

2003-07-09 Thread Dan Nelson
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 PROTECTED] mailing list http://lists.freebsd.org

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

2003-07-09 Thread Dan Nelson
) 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 [EMAIL PROTECTED]

Re: telldir()/seekdir() confusion

2003-07-08 Thread Dan Nelson
. -- 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: cookie size...

2003-07-01 Thread Dan Nelson
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 Nelson [EMAIL PROTECTED

Re: setting CMOS clock

2003-06-06 Thread Dan Nelson
, 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 -- Dan Nelson [EMAIL PROTECTED

Re: wait()/alarm() race condition

2003-03-30 Thread Dan Nelson
, 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 interrupt the wait() call. -- Dan Nelson [EMAIL

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() | ), and the signal

Re: OID problem with Init?

2003-03-22 Thread Dan Nelson
, 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 PROTECTED] To Unsubscribe: send mail to [EMAIL

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

2003-03-12 Thread Dan Nelson
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
-element (or whatever maxfiles is on your system) array every time I called select with nfds=10. If MS ignores the nfds parameter, it risks accessing uninitialized memory or selecting on fds that the user no longer wants to look at. I'd call it a bug. Purely historic? Performance. -- Dan

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

2003-02-15 Thread Dan Nelson
binaries. You need to install the devel/linux_kdump port and run that instead of kdump on Linux traces. Some syscall numbers map to different functions (#208 for example is unused in FreeBSD but is setresuid() in Linux). -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail

Re: Some security questions.

2003-02-11 Thread Dan Nelson
this right, where 3 (configureable) consecutive bad logins sets an intruder lockout flag, that gets cleared after 10 (configureable) minutes. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: mdoc(7) question

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

Re: mdoc(7) question

2003-02-10 Thread Dan Nelson
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: memcpy and multithreading

2003-01-28 Thread Dan Nelson
: Of course, I protect the write operation with a mutex. Mutexes will protect you from someone stepping on your memory while you're copying. They don't protect you from seg faults if you have the wrong pointers in the first place. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send

Re: Tool for creating .fnt files?

2003-01-26 Thread Dan Nelson
font bitmap files as well. I use an old DOS program called Font Mania, and there are hundreds of VGA fonts available for download at Simtel. http://www.simtel.net/pub/msdos/vga/ http://www.simtel.net/pub/msdos/screen/ -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail

Re: sendmail: how to get the named of FreeBSD4.7 standards compliant?

2003-01-13 Thread Dan Nelson
, but the freebsd.org MTA's strip it. Whoa. Who broke that? -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Why can't I use a number in device names?

2003-01-11 Thread Dan Nelson
in FreeBSD? And if not, is a liberalization-patch welcome? It's already allowed, but you need to quote the device name: device r128drm device ifpi2 device i4b -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: Whats the maximum filesize on fat32 partitions (FreeBSD 4.7) ?

2003-01-06 Thread Dan Nelson
has some huge number that you'll never hit. www.microsoft.com/WINDOWSXP/home/using/productdoc/en/choosing_between_NTFS_FAT_and_FAT32.asp -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: network backup

2002-12-13 Thread Dan Nelson
, and needs to be able to read the files on both sides for the sync algorithm to work. If you just want to back directories up, use tar, and add the 'z' flag to compress the tarball. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: tail -f file on webpage

2002-12-10 Thread Dan Nelson
In the last episode (Dec 10), George Georgalis said: On Sun, Dec 08, 2002 at 11:45:22PM -0600, Dan Nelson wrote: #! /bin/sh printf Content-type: text/plain\r\n\r\n tail -f /var/log/messages Unfortunatly if you try that your webserver will quickly fail because the connection never

Re: tail -f file on webpage

2002-12-08 Thread Dan Nelson
); ? The following 3-line CGI works fine: #! /bin/sh printf Content-type: text/plain\r\n\r\n tail -f /var/log/messages If you want a PHP solution, try a php mailinglist. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers

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

2002-11-20 Thread Dan Nelson
tempfile. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: load time module parameters?

2002-11-05 Thread Dan Nelson
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: malloc

2002-10-22 Thread Dan Nelson
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. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers

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. Actually, on FreeBSD only the page directory is mmap'ed. Data

Re: Sharing a SCSI bus between some computers

2002-10-10 Thread Dan Nelson
, 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 Nelson [EMAIL PROTECTED] To Unsubscribe: send mail

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

2002-09-25 Thread Dan Nelson
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 PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body

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 would list, salvage, and purge

Re: perceived strangeness with getopt(1,3)

2002-09-25 Thread Dan Nelson
with a dash. case $i in -s ) case $2 in -* ) echo getopt: option requires an argument -- $i ; exit 1 ;; esac flag_s=$2 shift; shift ;; ... esac -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: Which archiver handles the ICE format?

2002-09-23 Thread Dan Nelson
/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: Dell 2650 SMP perf question

2002-09-10 Thread Dan Nelson
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. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send

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

2002-09-06 Thread Dan Nelson
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: /usr/local cc

2002-08-11 Thread Dan Nelson
/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: sed -i has difficulty with read-only files

2002-07-27 Thread Dan Nelson
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 mail to [EMAIL PROTECTED

Re: dump on mounted fs

2002-07-26 Thread Dan Nelson
server I have has 1.13.18, and I remember installing tar from ports on all of them to fix this exact problem. Earlier versions of tar completely mangled incremental archives, too. Hmm. There isn't anything on alpha.gnu.org. Not even a /gnu directory anymore. -- Dan Nelson

Re: dump on mounted fs

2002-07-23 Thread Dan Nelson
. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Large variables on stack

2002-07-12 Thread Dan Nelson
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 Nelson [EMAIL PROTECTED

Re: terminfo/termcap and cygwin

2002-07-10 Thread Dan Nelson
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 update their own termcap entry :) -- Dan Nelson [EMAIL PROTECTED

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 Nelson [EMAIL

Re: Motherboard temperature sensing

2002-07-09 Thread Dan Nelson
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: LINT CPU features table

2002-06-22 Thread Dan Nelson
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: security bug in /etc/rc in -STABLE?

2002-06-13 Thread Dan Nelson
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: a hopefully simple question

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

Re: allocating memory

2002-06-06 Thread Dan Nelson
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 to 1gb, for example) -- Dan Nelson [EMAIL

Re: Is gethostbyname2() reentrant?

2002-05-31 Thread Dan Nelson
. 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
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
) $(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 $(CC) $(LDFLAGS) -o $@ $^ becomes $(CC) $(LDFLAGS) -o

Re: mbuf problems on 4.5/4.6-RC2

2002-05-29 Thread Dan Nelson
. 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: [therman@lsil.com: 3rd party drivers]

2002-05-24 Thread Dan Nelson
/ -- 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
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: FreeBSD NIS serving linux clients.

2002-04-13 Thread Dan Nelson
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: quotactl issues

2002-04-11 Thread Dan Nelson
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 Do you have options QUOTA in yur kernel config file? -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED

Re: quotactl issues

2002-04-11 Thread Dan Nelson
(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: Hardlinks...

2002-04-08 Thread Dan Nelson
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 another sysctl knob. -- Dan Nelson [EMAIL PROTECTED

Re: Hardlinks...

2002-04-08 Thread Dan Nelson
linking a tempfile that you just created to the true lock name. You are linking from a file you own, which would be allowed even under the strictest lockdown of link. I think it'd work fine. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED

<    1   2   3   4   5   >