Custom installworld

2003-09-30 Thread James Howard
(buildworld, installworld, etc) or all targets? Thank you, James -- James Howard [EMAIL PROTECTED] 202-390-4933 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: calendar nit?

2001-10-09 Thread James Howard
On Tue, 9 Oct 2001, Steve Ames wrote: I was sending an e-mail to someone and wasn't sure what day Thanksgiving was so I typed 'calendar -A 45' and saw the following: Nov 8* Thanksgiving Day (4th Thursday in November) Odd that... Is this tied to the missing days from 1753? Jamie To

Backup file formats: tar, cpio, pax, yadda, yadda, yadda

2001-07-26 Thread James Howard
Both tar and cpio seem to have problems doing backups on my server. Looking at the pax manpage, we see this: cpio The extended cpio interchange format specified in the IEEE Std 1003.2 (``POSIX.2'') standard. The default blocksize for this format is 5120 bytes.

Re: Backup file formats: tar, cpio, pax, yadda, yadda, yadda

2001-07-26 Thread James Howard
On Thu, 26 Jul 2001, [iso-8859-1] Lars Kühl wrote: Neither tar nor cpio is suitable for backup purposes. Use dump instead. A lot of people said this. Why? As near as I can tell, dump isn't that great either. There is no way to exlude specific directories with dump and it appears to be

Re: telnet to AF_UNIX sockets [PATCH]

2001-05-23 Thread James Howard
On Wed, 23 May 2001, Matt Dillon wrote: Nice one! I'm going to be using this all over the place myself. I am missing something here. Is there a practical use for this? :) Jamie To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Shell Resources

2001-04-04 Thread James Howard
On Mon, 2 Apr 2001, Zachary M. Smith wrote: like to provide support for developers. I'd have to get approval from the organization that oversees the system before I committed any resources in their name, but I would like to help. If this is the wrong place ask, please kindly Zach, I

Re: easy way to crash freebsd

2001-03-03 Thread James Howard
On Sat, 3 Mar 2001, Wes Peters wrote: You don't even have to overwrite it some times. Accessing word-size-only registers in memory a byte at a time can cause a bus error and panic... I have never worked with FreeBSD at this low a level. How does one do this and why? :) Jamie To

Re: /etc/security - /etc/periodic/security ?

2000-07-13 Thread James Howard
On Thu, 13 Jul 2000, Ben Smithurst wrote: Thanks. I took advantage of it to commit a question to the FAQ which James (on the cc list) asked recently: "what is a repo-copy?", let me know if it answers your question well enough. (it's in the misc questions bit.) This is very nice. I

Re: why isnt there a ext2fs.ko ?

2000-07-04 Thread James Howard
On Tue, 4 Jul 2000, Cosmic 665 wrote: Statically Compiled modules are much better then the lkd's. Get used to it :P But I only need EXT2FS support once everyone few months. It makes no sense to have it eating kernel memory 100% of the time. Jamie To Unsubscribe: send mail to [EMAIL

Re: why isnt there a ext2fs.ko ?

2000-07-03 Thread James Howard
On Mon, 3 Jul 2000, Maxime Henrion wrote: Hi guys, I was wondering why the kernel module for ext2fs doesnt exist. I think this will be very useful because a lot of linux users come to FreeBSD and want to mount their existing linux partitions, and they have to recompile their

Re: /etc/security - /etc/periodic/security ?

2000-07-03 Thread James Howard
On Thu, 29 Jun 2000, Ben Smithurst wrote: Try the attached. They haven't been thoroughly tested, but that's what -CURRENT is for, right? :-) I even remembered to update the manual page this time... This needs to have knobs and stuff located in /etc/defaults/periodic.conf Also, it would be

Re: /etc/security - /etc/periodic/security ?

2000-07-03 Thread James Howard
On Tue, 4 Jul 2000, Ben Smithurst wrote: Umm, which knobs? I added the only two options the security stuff currently uses, what else does it need? For each script under /etc/periodic/{daily,weekly,monthly}/, there is a knob in /etc/defaults/periodic. This controls whether the script is run

/etc/security - /etc/periodic/security ?

2000-06-29 Thread James Howard
Will we be seeing a move in this direction towards a more configurable security script? Is anyone planning it? I am porting the scripts to Linux and will hold off on security if nothing is being planned or make the changes myself. I just do not want to duplicate efforts. Also, I found a bug

.core file reporting in daily report

2000-06-22 Thread James Howard
I was trying to figureout how the periodic scripts were run when I noticed that cron had coredumped back in October and left a core file in /var/run/cron. I got to thinking, it would be nice if the daily scripts would report when core files are found so they can be cleaned up. Jamie To

Re: .core file reporting in daily report

2000-06-22 Thread James Howard
In message [EMAIL PROTECTED], Brian Somers writes: I was trying to figureout how the periodic scripts were run when I noticed that cron had coredumped back in October and left a core file in /var/run/cron. I got to thinking, it would be nice if the daily scripts would report when core

Re: Why is this architecture dependent?

2000-06-20 Thread James Howard
In message [EMAIL PROTECTED], "Jeroen C. van Gelderen" write s: You are right and work is under way to break out this functionality in a MI driver. Search the mailing list archives for details. A first attempt can be found at: http://jeroen.vangelderen.org/FreeBSD/misc_device/ MarkM

Why is this architecture dependent?

2000-06-18 Thread James Howard
We know I ask dumb questions a lot, but this one may not be so dumb. A friend of mine was joking about having a device called /dev/foo which would be like /dev/zero, except it would spit out the word "foo" over and over again. Well, we laughed about it, but today, I implemented it. (This was

Re: [Oz-ISP] FreeBSD and the forces of darkness. Real religiouswars! (fwd)

2000-06-16 Thread James Howard
On Fri, 16 Jun 2000, Jack Rusher wrote: Parag Patel wrote: Can your graphics guy whip up a couple of Daemons in the style of Southpark (esp. Cartman) and the PowerPuff Girls? Just a couple of things I want to see... Oh... My... God... I would pay to print the t-shirts. Oh my

Assembly programming under FreeBSD

2000-06-03 Thread James Howard
Having just read Konstantin Boldyshev's introduction to FreeBSD assembly programming, I have a couple of questions. When I looked through some code in the source tree (and with a little background from the article), I noticed that INT 80 interface appears to be newer than an older interface,

Re: An IA-64 port?

2000-06-03 Thread James Howard
On Sat, 3 Jun 2000, Jordan K. Hubbard wrote: Intel has furnished us with IA-64 hardware and a porting effort is already underway. Contact [EMAIL PROTECTED] if you would like to help out in some way with the process. What can those of us just out here do? To Unsubscribe: send mail to

Re: FreeBSD kernel as a replacement for Linux kernel

2000-05-23 Thread James Howard
On Tue, 23 May 2000, Mohit Aron wrote: And not without reason. Their proposal aimed to replace FSF utilities with BSD equivalents - I don't think they are considering the kernel as a utility. I don't really any benefit from this. The binaries being distributed for Linux make use of Linux

Re: FreeBSD kernel as a replacement for Linux kernel

2000-05-23 Thread James Howard
On Tue, 23 May 2000, Mohit Aron wrote: Well, I'm not about to give up FreeBSD running on my desktop, but at times it is frustrating to not being able to use so much stuff out there that's meant to work for Linux but doesn't work for FreeBSD for one small reason or another. I think the user

Re: mktemp() vs. mkstemp()

2000-05-16 Thread James Howard
In message [EMAIL PROTECTED], Wes Peters writes: Drat, that's right. Anyone wanna pollute the kernel and filesystem layers with a "reserve this filename" function? That sounds fugly, doesn't it? That's why I suggested a simpler solution even I can code :) To Unsubscribe: send mail to

utmpx, this is gonna hurt...

2000-05-15 Thread James Howard
How about adding the utmpx as required by SUSV2? It would make writing programs that need to talk to utmp/utmpx a lot simpler. Yes? No? Jamie To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

mktemp() vs. mkstemp()

2000-05-14 Thread James Howard
I was preparing a port which uses mktemp(). Of course, the linker complained and suggested using mkstemp(). Except mkstemp() returns an integer file descriptor whereas normal people use FILE * pointers, including the author of this port. How about an mkftemp() which wraps around mkstemp() and

Shell games

2000-04-18 Thread James Howard
I don't get a lot of time to pay attention to the lists, so this might have been asked before. Does the csh-tcsh move imply that sh-ksh will be happening soon? Didn't NetBSD do that a while ago? J~ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body

Keeping using locally modified source

2000-03-02 Thread James Howard
At a site I am working at, we need to be able to limit which users can bind a socket to an address under IPv4. Basically, bind() needs to check the caller's groups and if you are one of several allowable groups, let it pass, otherwise, error out. Now, I glanced over the bind() code and it does

libelf and Elf Interface Routines

2000-01-14 Thread James Howard
I was playing with a program written for Solaris to see if I could port it to FreeBSD (another learning experience thing;). The program uses Solaris's libelf to talk to Elf files. It does this quite extensively in fact. Does FreeBSD provide a similar interface? Poking around the man pages has

Re: replacing grep (again) and regex speed ups

1999-10-25 Thread James Howard
On 25 Oct 1999, Dag-Erling Smorgrav wrote: James Howard [EMAIL PROTECTED] writes: I submitted a PR (bin/14342) which adds a lot of speed to mismatches in Henry Spencer's regex code. Who knows a lot about regex whom I can bug? Umm, how about Henry Spencer [EMAIL PROTECTED]? :) That does

replacing grep (again) and regex speed ups

1999-10-22 Thread James Howard
I submitted a PR (bin/14342) which adds a lot of speed to mismatches in Henry Spencer's regex code. Who knows a lot about regex whom I can bug? Also, grep has gone through a lot of changes since the last time it was talked about on this list. The current version can be found in the ports

Re: KLDs

1999-10-10 Thread James Howard
On Sun, 10 Oct 1999, Mike Smith wrote: You should note that neither QNX nor FreeBSD exhibit the above behaviour. KLD is a linker; it allows you to link more stuff into the kernel after it's been started. It doesn't implement a coprocess model of any sort. Yes, I knew this for FreeBSD,

Re: KLDs

1999-10-09 Thread James Howard
On Sat, 9 Oct 1999, W Gerald Hicks wrote: On Slashdot, ... Under QNX, if your driver crashes, the kernel just restarts it. That's not in the least bit how QNX works... oh well, it's slashdot. I've noticed Slashdotters tend to be clueless. It doesn't matter in this case, it is

KLDs

1999-10-08 Thread James Howard
On Slashdot, in a discussion regarding QNX, someone described it with the following: Under QNX, if your driver crashes, the kernel just restarts it. After reading it, I became more interested in KLDs. My only prior experiece was installing the Linux KLD and that was done by a port.

Re: file system full

1999-10-08 Thread James Howard
On Fri, 8 Oct 1999, Chris Costello wrote: Too many open file descriptors. This has nothing to do with the file system. Is there anyway this can be gotten around? A friend has a mail server that will spontaneously do this then crash. Jamie To Unsubscribe: send mail to [EMAIL

Re: BSD XFS Port BSD VFS Rewrite

1999-08-14 Thread James Howard
On Fri, 13 Aug 1999, Mike Smith wrote: It doesn't work like that; once it's been distributed with Linux it's no longer BSD-licensed, it's GPLed. They would still be unable to recover post-viral changes and reuse them in their own XFS product. I heard somewhere that Linux was released

Re: BSD XFS Port BSD VFS Rewrite

1999-08-14 Thread James Howard
On Fri, 13 Aug 1999, Mike Smith wrote: It doesn't work like that; once it's been distributed with Linux it's no longer BSD-licensed, it's GPLed. They would still be unable to recover post-viral changes and reuse them in their own XFS product. I heard somewhere that Linux was released under

Re: BSD XFS Port BSD VFS Rewrite

1999-08-13 Thread James Howard
On Fri, 13 Aug 1999, Terry Lambert wrote: Has anyone mentioned to them that they will be unable to incorporate changes made to the GPL'ed version of XFS back into the IRIX version of XFS, without IRIX becoming GPL'ed? I did, they have a feedback form I filled out yesterday. I mentioned that

Re: m68k Support in FreeBSD (old thread)

1999-08-06 Thread James Howard
On Thu, 5 Aug 1999, Mike Smith wrote: I've researched this guy a bit more, and I have to say I think it was a hoax. What a disappointment. It would have been nice to see it running on the Mac68k (or any other older platform, 8086? :). Uh, MacBSD is actually pretty nice. Alan Briggs and

Re: m68k Support in FreeBSD (old thread)

1999-08-06 Thread James Howard
On Fri, 6 Aug 1999, Alex Zepeda wrote: Ehm, this isn't possible in the same way that it is w/ FreeBSD. Basically, you need to grab the booter, the installer, and mkfs (all MacOS programs), then download the appropiate kernel, base distrib, and etc distrib. Not quite as slick, but it works.

Re: m68k Support in FreeBSD (old thread)

1999-08-06 Thread James Howard
On Thu, 5 Aug 1999, Mike Smith wrote: I've researched this guy a bit more, and I have to say I think it was a hoax. What a disappointment. It would have been nice to see it running on the Mac68k (or any other older platform, 8086? :). Uh, MacBSD is actually pretty nice. Alan Briggs and

Re: m68k Support in FreeBSD (old thread)

1999-08-06 Thread James Howard
On Fri, 6 Aug 1999, Alex Zepeda wrote: Ehm, this isn't possible in the same way that it is w/ FreeBSD. Basically, you need to grab the booter, the installer, and mkfs (all MacOS programs), then download the appropiate kernel, base distrib, and etc distrib. Not quite as slick, but it works.

Re: m68k Support in FreeBSD (old thread)

1999-08-05 Thread James Howard
On Mon, 19 Jul 1999, Jordan K. Hubbard wrote: website (http://www.freebsd.org/~green/FreeBSD-68k.txt). In about two weeks I'll have a spare Macintosh IIsi and would like to have a run at FreeBSD on it. So, to the point, where can I get it? :) I'd say that's a question for Grant

Re: m68k Support in FreeBSD (old thread)

1999-08-05 Thread James Howard
On Mon, 19 Jul 1999, Jordan K. Hubbard wrote: website (http://www.freebsd.org/~green/FreeBSD-68k.txt). In about two weeks I'll have a spare Macintosh IIsi and would like to have a run at FreeBSD on it. So, to the point, where can I get it? :) I'd say that's a question for Grant

Re: replacing grep(1)

1999-07-31 Thread James Howard
On Sat, 31 Jul 1999, Tim Vanderhoek wrote: I rather hope that the rumoured newer version of H. Spencer's regex lib is faster... Being as slow for that pattern as it is has got to be a bug of some sort... It's actually faster to scan the file twice, once for the first string and then for

Re: replacing grep(1)

1999-07-31 Thread James Howard
On Sat, 31 Jul 1999, Tim Vanderhoek wrote: I rather hope that the rumoured newer version of H. Spencer's regex lib is faster... Being as slow for that pattern as it is has got to be a bug of some sort... It's actually faster to scan the file twice, once for the first string and then for the

Re: replacing grep(1)

1999-07-29 Thread James Howard
On Thu, 29 Jul 1999, Tim Vanderhoek wrote: fgetln() does a complete copy of the line buffer whenever an excessively long line is found. On this point, it's hard to do better without using mmap(), but mmap() has its own disadvantages. My last suggestion to James was to assume a worst case

Re: replacing grep(1)

1999-07-29 Thread James Howard
On Thu, 29 Jul 1999, Tim Vanderhoek wrote: fgetln() does a complete copy of the line buffer whenever an excessively long line is found. On this point, it's hard to do better without using mmap(), but mmap() has its own disadvantages. My last suggestion to James was to assume a worst case

Re: replacing grep(1)

1999-07-27 Thread James Howard
On Tue, 27 Jul 1999, Doug wrote: Ah, well, if the world were limited to just what I could imagine, how boring would that be? The more complete the feature set, the better off we are for my money. You misinterpretted, I didn't know you could do that therefore I didn't implement that. I

Re: replacing grep(1)

1999-07-27 Thread James Howard
On Tue, 27 Jul 1999, Doug wrote: Ah, well, if the world were limited to just what I could imagine, how boring would that be? The more complete the feature set, the better off we are for my money. You misinterpretted, I didn't know you could do that therefore I didn't implement that. I

Re: replacing grep(1)

1999-07-27 Thread James Howard
Due to the discussion of speed, I have been looking at it and it is really slow. Even slower than I thought and I was thinking it was pretty slow. So using gprof, I have discovered that it seems to spend a whole mess of time in grep_malloc() and free(). So I pulled all the references to malloc