Re: txt-sysinstall scrapped

2010-11-06 Thread Tim Kientzle
On Nov 5, 2010, at 10:17 PM, Josh Paetzel wrote: > On Friday, November 05, 2010 11:48:27 pm Garrett Cooper wrote: > >>> Just to add to that (because I do find it a novel idea), 1) how >>> are you going to properly prevent man in the middle attacks (SSL, TLS, >>> etc?), and 2) what webserver woul

Re: FreeBSD development on Mac OS

2010-11-21 Thread Tim Kientzle
On Nov 21, 2010, at 8:44 PM, m...@freebsd.org wrote: > On Sun, Nov 21, 2010 at 8:02 PM, Garrett Cooper wrote: >> On Sun, Nov 21, 2010 at 7:20 PM, Daniel O'Connor >> wrote: >>> >>> On 22/11/2010, at 13:32, m...@freebsd.org wrote: My /etc/exports file on the Mac looks like: /data

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread Tim Kientzle
On Feb 11, 2011, at 11:09 AM, Julian H. Stacey wrote: > memstick.img wastes 7% with 2K blocks of nulls. > shown by: > 8f -b 0 -n 2048 -l -f Fr* > http://berklix.com/~jhs/src/bsd/jhs/bin/public/8f/ 8f.c 8f.1 > > ... > The CD & DVD images are not nearly so wasteful, see above. > A

Re: quotas an essential feature? (was: svn commit: r218953 - stable/8/usr.sbin/sysinstall)

2011-02-25 Thread Tim Kientzle
On Feb 25, 2011, at 3:46 PM, Steven Hartland wrote: > While I can understand some may want its not something we use on any of > our machines, and I suspect that's the case for many others. > > Given adding it means the kernel will be doing extra work and hence a > drop in performance... Does any

Re: Keeping /etc/localtime up-to-date

2011-03-27 Thread Tim Kientzle
On Mar 27, 2011, at 1:31 PM, Doug Barton wrote: > On 03/27/2011 08:38, David Wolfskill wrote: >> So it seems to me that requirements would be: >> * The content of /etc/localtime must provide the appropriate >> "zoneinfo" information, even when/usr/share/zoneinfo/* has been >> modified (or short

Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install

2011-03-28 Thread Tim Kientzle
II. Package signing. >>> >>> That would be really nice. >> >> Right know we only planned to sign the repo database, so we can trust >> the sah256 of the packages stored in the database. Then if the package >> has the same sha256 as the one in the repo database it is considered >> trusted. >>

Re: [RFC] Replacing our regex implementation

2011-05-08 Thread Tim Kientzle
On May 8, 2011, at 5:29 PM, Gabor Kovesdan wrote: > 2, Optimizations for matching with a fixed pattern heuristic > ... First, I was thinking of putting it into TRE but now I consider a better > solution building a small library, libregexutils or such. It would decouple > this optimization from th

Re: tar has deficient error handling. send-pr fix sent 31 Jan 2011

2011-06-25 Thread Tim Kientzle
Thanks for the reminder Julian. I've just committed a fix to trunk that I'd appreciate if you could look at. > Might be nice if someone else would read through tar. More eyes are always better! I'd especially appreciate help improving the test suite for tar. I've put a lot of work into the tes

Re: What is going on with ash / sh

2011-11-03 Thread Tim Kientzle
On Nov 2, 2011, at 1:28 PM, Mark Saad wrote: > Hackers > What is going on here, if I run the following shell script, what is > the expected output . The script is named xxx > > #!/bin/sh > ps -ax | grep -v grep | grep xxx > > Here is what I see > > # sh xxx > 88318 p0 S+ 0:00.00 sh xxx > 8

Re: easy way to determine if a stream or fd is seekable

2011-11-16 Thread Tim Kientzle
On Nov 16, 2011, at 4:24 PM, Alexander Best wrote: > On Thu Nov 17 11, Joerg Sonnenberger wrote: >> On Wed, Nov 16, 2011 at 01:14:28PM +, Alexander Best wrote: >>> On Wed Nov 16 11, Joerg Sonnenberger wrote: On Tue, Nov 15, 2011 at 08:24:50PM +, Alexander Best wrote: > one of the

Re: easy way to determine if a stream or fd is seekable

2011-11-18 Thread Tim Kientzle
On Nov 17, 2011, at 12:55 PM, Juergen Lock wrote: >> >> After a few experiments, bsdtar stopped using lseek() on >> FreeBSD for anything other than regular files and block >> devices. I believe there are other things that do support >> seeking, but I don't believe there is an accurate mechanis

Re: easy way to determine if a stream or fd is seekable

2011-11-18 Thread Tim Kientzle
On Nov 17, 2011, at 1:48 PM, Alexander Best wrote: > On Thu Nov 17 11, Dieter BSD wrote: >>> lseek() on a tape drive does not return an error, nor does it >>> actually do anything. >> >> IIRC some tape drives can seek, while others cannot. >> Vague memories that it is supposed to be possible to p

Re: easy way to determine if a stream or fd is seekable

2011-11-19 Thread Tim Kientzle
On Nov 18, 2011, at 2:10 PM, Juergen Lock wrote: > On Fri, Nov 18, 2011 at 12:00:07PM -0800, Tim Kientzle wrote: >> >> On Nov 17, 2011, at 12:55 PM, Juergen Lock wrote: >> >>>> >>>> After a few experiments, bsdtar stopped using lseek() on >>&

Re: easy way to determine if a stream or fd is seekable

2011-11-19 Thread Tim Kientzle
On Nov 18, 2011, at 12:31 PM, Alexander Best wrote: > On Fri Nov 18 11, Tim Kientzle wrote: >> >> Take a look at >> >> http://libarchive.googlecode.com/svn/trunk/libarchive/archive_read_open_filename.c >> >> Especially the comments about detecting "

Re: cron(8) mis-feature with @reboot long after system startup

2011-11-25 Thread Tim Kientzle
On Nov 25, 2011, at 2:08 PM, Doug Barton wrote: > On 11/25/2011 08:09, Cy Schubert wrote: >> You're right. Sorry. It was late, after a long night of O/T. > > Actually I was in the same boat, which is why my reply was even grumpier > than usual, sorry. > > Meanwhile I like your suggestion of hav

Re: cron(8) mis-feature with @reboot long after system startup

2011-11-26 Thread Tim Kientzle
>>> Add an option to cron to check lastlog and if within 5 or 10 minutes >>> of the last reboot, then call run_reboot_jobs(). >> >> Depending on timestamps might be okay as a temporary quick-and-dirty >> workaround, but there is likely to be a case where it will also do the >> wrong thing. ??What

BeagleBone?

2012-01-15 Thread Tim Kientzle
Just got a BeagleBone in the mail and so far, it seems like fun: * Under $100 * Relatively modern Cortex-A8 ARM CPU (TI AM3358) * Built-in Ethernet, USB console, etc. So far, I've gotten console access from my FreeBSD laptop and am starting to tinker with a nanobsd-like script to build a boota

Re: FreeBSD has serious problems with focus, longevity, and lifecycle

2012-01-18 Thread Tim Kientzle
On Jan 18, 2012, at 2:44 AM, Robert Watson wrote: > > ... perhaps what is really called for is breaking out our .0 release > engineering entirely from .x engineering, with freebsd-update being in the > latter. This is a great idea! In particular, it would allow more people to be involved. The

Re: Jumpstart on FreeBSD 9.0

2012-02-20 Thread Tim Kientzle
On Feb 20, 2012, at 9:24 AM, ego...@ramattack.net wrote: > > For example... tar -C ... -pxvf does not work with some files (althout you > can mount iso and later do an rsync preserving file flags), The FreeBSD ISOs are now being built with a tool that builds ISO images differently than be

How does loader(8) decide where to load the kernel?

2012-05-04 Thread Tim Kientzle
I have ubldr loading the ELF kernel on BeagleBone and am now trying to untangle some of the hacks I used to get this working. Unfortunately, there's one area of the common loader(8) code that I really don't understand: How does sys/boot/common/load_elf.c determine the physical address at which to

Re: How does loader(8) decide where to load the kernel?

2012-05-07 Thread Tim Kientzle
On May 7, 2012, at 6:57 AM, John Baldwin wrote: > On Saturday, May 05, 2012 1:06:13 am Tim Kientzle wrote: >> I have ubldr loading the ELF kernel on BeagleBone and am now >> trying to untangle some of the hacks I used to get this working. >> >> Unfortunately, the

Re: How does loader(8) decide where to load the kernel?

2012-05-08 Thread Tim Kientzle
On May 8, 2012, at 2:39 AM, Andrew Turner wrote: > On Mon, 7 May 2012 22:32:10 -0700 > Tim Kientzle wrote: > >> >> On May 7, 2012, at 6:57 AM, John Baldwin wrote: >>> >>> The bit twiddling is supposed to be the equivalent of subtracting >>> K

Re: How does loader(8) decide where to load the kernel?

2012-05-12 Thread Tim Kientzle
On May 10, 2012, at 5:32 AM, Marcel Moolenaar wrote: > > On May 8, 2012, at 1:32 AM, Tim Kientzle wrote: >>>> On i386, amd64, powerpc, and arm, loadimage subtracts >>>> the dest value from the address declared in the actual ELF >>>> headers so that the

Re: How does loader(8) decide where to load the kernel?

2012-05-13 Thread Tim Kientzle
On May 12, 2012, at 4:36 PM, Tim Kientzle wrote: > > On May 10, 2012, at 5:32 AM, Marcel Moolenaar wrote: > >> On May 8, 2012, at 1:32 AM, Tim Kientzle wrote: >>> >>> On the AM3358, the DRAM starts at 0x8000 >>> on boot, so I'm trying to fi

Re: How does loader(8) decide where to load the kernel?

2012-05-15 Thread Tim Kientzle
On May 15, 2012, at 9:38 AM, Rafal Jaworowski wrote: >> >> Should I overwrite the FDT in the kernel with the >> edited FDT? That doesn't feel quite right, but it's >> essentially what the FDT code here was trying to >> do before. > > A given DTB (loaded dynamically or statically embedded in the

Re: GSoC Project: Automated Kernel Crash Reporting System - Discussion

2012-05-18 Thread Tim Kientzle
On May 18, 2012, at 7:51 AM, Mel Flynn wrote: > On 17-5-2012 14:53, Mateusz Guzik wrote: >> On Wed, May 16, 2012 at 11:37:44PM +0300, tza...@it.teithe.gr wrote: > >>> Nice. What about curl over the HTTPS protocol? >>> >> >> curl would be ok, except it's not in the base system. > > For this re

Geom_mbr vs. SSD disks (was: proper newts options for SSD disks)

2012-05-20 Thread Tim Kientzle
On May 19, 2012, at 11:36 AM, rozhuk...@gmail.com wrote: > Do not use MBR (or manually do all to align). > 63 - not 4k aligned. Right now, the "-a" alignment option for "gpart add" is broken when used with MBR partitions. It looks like the gpart command uses it to correctly align the start/end

Re: proper newfs options for SSD disk

2012-05-23 Thread Tim Kientzle
On May 22, 2012, at 7:40 AM, Warren Block wrote: > On Tue, 22 May 2012, Matthias Apitz wrote: > >> El día Tuesday, May 22, 2012 a las 07:42:18AM -0600, Warren Block escribió: >> >>> On Tue, 22 May 2012, Matthias Apitz wrote: >>> El día Sunday, May 20, 2012 a las 03:36:01AM +0900, rozhuk..

Re: cleaning /usr/obj before copying it to USB key

2012-06-09 Thread Tim Kientzle
On Jun 9, 2012, at 7:35 AM, Matthias Apitz wrote: > > To use the (booted) USB key later to install other laptops or netbooks I > enrich the key with /usr/src and /usr/obj as: > > # cd /usr > # cp -Rp src /mnt/usr > # cp -Rp obj /mnt/usr > > my problem is that the both 'cp -Rp ...' commands takes

Better error messages for command not found (was Re: Pull in upstream before 9.1 code freeze?)

2012-07-04 Thread Tim Kientzle
On Jul 4, 2012, at 4:41 PM, Jason Hellenthal wrote: > > On Wed, Jul 04, 2012 at 03:59:29PM -0700, Doug Barton wrote: >> On 07/04/2012 15:55, Jason Hellenthal wrote: >>> Seeing as sudo plays a big part of this >> >> No ... not only is sudo not a necessary component, it shouldn't be >> involved at

Re: Better error messages for command not found (was Re: Pull in upstream before 9.1 code freeze?)

2012-07-04 Thread Tim Kientzle
On Jul 4, 2012, at 5:37 PM, Mike Meyer wrote: > On Wed, 04 Jul 2012 17:34:13 -0700 > Doug Barton wrote: >>> As a first prototype, the database could just be a text file >>> and the look up program could be a shell script that uses >>> grep and sed. >> Right-O. The db should almost certainly be up

Re: Better error messages for command not found (was Re: Pull in upstream before 9.1 code freeze?)

2012-07-04 Thread Tim Kientzle
On Jul 4, 2012, at 6:42 PM, Mike Meyer wrote: > On Wed, 4 Jul 2012 18:03:05 -0700 > Tim Kientzle wrote: >> I'm curious whether the earlier objections were due to >> misunderstandings about auto-install. Auto-install would >> be problematic, but the feature

How to Expose Chip-level Ethernet Statistics?

2012-08-04 Thread Tim Kientzle
I believe that some of the issues I'm having with this Ethernet driver might be easier to diagnose if I could expose the chip-level statistics counters (especially queue overrun counts). Is there a standard way to do this? I've looked at systat, netstat, and ifconfig but haven't yet found a stand

Re: How to Expose Chip-level Ethernet Statistics?

2012-08-04 Thread Tim Kientzle
On Aug 4, 2012, at 12:51 PM, Ian Lepore wrote: > On Sat, 2012-08-04 at 12:21 -0700, Tim Kientzle wrote: >> I believe that some of the issues I'm having with this >> Ethernet driver might be easier to diagnose if I could >> expose the chip-level statistics counters (e

Re: SMP Version of tar

2012-10-01 Thread Tim Kientzle
On Oct 1, 2012, at 9:51 AM, Brandon Falk wrote: > I would be willing to work on a SMP version of tar (initially just gzip or > something). > > I don't have the best experience in compression, and how to multi-thread it, > but I think I would be able to learn and help out. > > Note: I would li

Re: SMP Version of tar

2012-10-03 Thread Tim Kientzle
> Someone might want to ask if parallelizing tar is even possible. Answer: Yes. Here's a simple parallel version of tar: find . | cpio -o -H ustar | gzip > outfile.tgz There are definitely other approaches. Tim ___ freebsd-hackers@freebsd.org m

Re: SMP Version of tar

2012-10-07 Thread Tim Kientzle
On Oct 7, 2012, at 10:00 AM, Wojciech Puchar wrote: >> I would be willing to work on a SMP version of tar (initially just gzip or >> something). >> >> I don't have the best experience in compression, and how to multi-thread it, >> but I think I would be able to learn and help out. > > gzip can

Re: SMP Version of tar

2012-10-09 Thread Tim Kientzle
On Oct 8, 2012, at 3:21 AM, Wojciech Puchar wrote: >> Not necessarily. If I understand correctly what Tim means, he's talking >> about an in-memory compression of several blocks by several separate >> threads, and then - after all the threads have compressed their > > but gzip format is single

FreeBSD on RaspberryPi

2012-11-07 Thread Tim Kientzle
WARNING: This is still highly experimental and by no means ready for "production use", but some folks might find it interesting. To boot FreeBSD on your RaspberryPi, you'll need: 1) A RaspberryPi. 2) A serial cable similar to this one: www.adafruit.com/products/954 3) An SD card of 2GB or

Re: FreeBSD on RaspberryPi

2012-11-07 Thread Tim Kientzle
On Nov 7, 2012, at 8:42 AM, Lars Engels wrote: > On Wed, Nov 07, 2012 at 08:01:08AM -0800, Tim Kientzle wrote: >> WARNING: This is still highly experimental and by no >> means ready for "production use", but some folks might >> find it interesting. >> &

Re: FreeBSD on RaspberryPi

2012-11-07 Thread Tim Kientzle
On Nov 7, 2012, at 8:09 AM, Alexander Yerenkow wrote: > Such experiments was tried by me and others in August; I got framebuffer > worked in rca/hdmi …. How? I haven't seen the drivers for that yet. Tim ___ freebsd-hackers@freebsd.org mailing list h

Re: FreeBSD on RaspberryPi

2012-11-08 Thread Tim Kientzle
> On Wed, Nov 7, 2012 at 6:01 PM, Tim Kientzle wrote: > WARNING: This is still highly experimental and by no > means ready for "production use", ... > > To boot FreeBSD on your RaspberryPi, you'll need: > 1) A RaspberryPi. > 2) A serial cable similar to

Re: FreeBSD on RaspberryPi

2012-11-24 Thread Tim Kientzle
On Nov 7, 2012, at 8:09 AM, Alexander Yerenkow wrote: > > Such experiments was tried by me and others in August; I got framebuffer > > worked in rca/hdmi; … On Nov 8, 2012, at 11:12 PM, Alexander Yerenkow wrote: > It was plain current with plain RPIB kernel config, and for graphic you > should

Re: FreeBSD on RaspberryPi

2012-11-24 Thread Tim Kientzle
On Nov 24, 2012, at 11:13 AM, Alexander Yerenkow wrote: > > > 2012/11/24 Tim Kientzle > On Nov 7, 2012, at 8:09 AM, Alexander Yerenkow wrote: > > > > Such experiments was tried by me and others in August; I got framebuffer > > > worked in rca/hdmi; …

Re: FreeBSD on RaspberryPi

2012-11-25 Thread Tim Kientzle
On Nov 24, 2012, at 8:01 PM, Oleksandr Tymoshenko wrote: > > On 2012-11-24, at 4:47 PM, Tim Kientzle wrote: > >> >> On Nov 24, 2012, at 11:13 AM, Alexander Yerenkow wrote: >> >>> >>> >>> 2012/11/24 Tim Kientzle >>> On Nov

Re: FreeBSD on RaspberryPi

2012-11-25 Thread Tim Kientzle
On Nov 11, 2012, at 12:46 PM, Adrian Chadd wrote: > On 11 November 2012 12:39, Oleksandr Tymoshenko wrote: > >> At the moment HDMI output works only in a sense of video output for simple >> frame buffer. I'm trying to get GPU support ported but not sure how much time >> it will take. Eventually

Re: FreeBSD on RaspberryPi

2012-11-26 Thread Tim Kientzle
On Nov 25, 2012, at 11:46 PM, Oleksandr Tymoshenko wrote: > > On 2012-11-25, at 9:32 AM, Tim Kientzle wrote: > >> >> On Nov 24, 2012, at 8:01 PM, Oleksandr Tymoshenko wrote: >> >>> >>> On 2012-11-24, at 4:47 PM, Tim Kientzle wrote: >>

Re: FreeBSD on RaspberryPi

2012-11-26 Thread Tim Kientzle
On Nov 26, 2012, at 10:43 AM, Oleksandr Tymoshenko wrote: > > On 2012-11-26, at 7:05 AM, Tim Kientzle wrote: > >> >> On Nov 25, 2012, at 11:46 PM, Oleksandr Tymoshenko wrote: >> >>> >>> On 2012-11-25, at 9:32 AM, Tim Kientzle wrote: >>&

Every 20 minutes (less 4 seconds)?

2013-01-01 Thread Tim Kientzle
I'm trying to understand why the transmitter for the CPSW ethernet driver just stops sometimes. I just found a very perplexing clue: It happens every 1196 seconds. I added a debug message with an HH:MM:SS timestamp whenever the watchdog sees the transmitter stop and this is what it printed out:

Re: IBM blade server abysmal disk write performances

2013-01-15 Thread Tim Kientzle
On Jan 15, 2013, at 6:12 AM, Karim Fodil-Lemelin wrote: > Hi, > > I'm struggling getting FreeBSD 9.1 properly work on an IBM blade server > (HS22). Here is a dd output from Linux CentOS vs FreeBSD 9.1. > > CentOS: > > 10+0 records in > 10+0 records out > 5120 bytes (51 MB) copied,

Testing SIOCADDMULTI?

2013-01-26 Thread Tim Kientzle
My next TODO items for this network driver is to implement the SIOCADDMULTI and SIOCDELMULTI ioctls. I'm not quite sure what they do, though, and have no idea how to test them to see if they are working correctly. Any suggestions? Cheers, Tim ___ fre

Re: Testing SIOCADDMULTI?

2013-01-26 Thread Tim Kientzle
On Jan 26, 2013, at 3:56 PM, Tim Kientzle wrote: > My next TODO items for this network driver is to implement > the SIOCADDMULTI and SIOCDELMULTI ioctls. Looking through other drivers (and net/if.c), I've managed to implement ADDMULTI by adding the multicast ethernet address

Re: Testing SIOCADDMULTI?

2013-01-31 Thread Tim Kientzle
On Jan 28, 2013, at 8:09 AM, John Baldwin wrote: > On Sunday, January 27, 2013 1:51:12 am Tim Kientzle wrote: >> >> On Jan 26, 2013, at 3:56 PM, Tim Kientzle wrote: >> >>> My next TODO items for this network driver is to implement >>> the SIOCADDMULTI a

Re: Seeking an extended-support O/S similar to FreeBSD

2013-03-29 Thread Tim Kientzle
> > That's no help at all to a bunch of machines that started life on > 4.1 back in 2000 and will continue to run another 10-15 years… So you basically want a group of people to help you maintain FreeBSD 4-STABLE for an indefinite period of time? There seem to be quite a few people still running

Re: Performance improvement to strnlen().

2013-05-27 Thread Tim Kientzle
> > Index: strnlen.c > === > diff --git a/head/lib/libc/string/strnlen.c b/head/lib/libc/string/strnlen.c > --- a/head/lib/libc/string/strnlen.c (revision 250951) > +++ b/head/lib/libc/string/strnlen.c (working copy) > @@ -1,5 +1,6

Re: Beyond Buildworld Dev Summit Working Group Report

2013-06-10 Thread Tim Kientzle
On Jun 9, 2013, at 2:02 PM, George Neville-Neil wrote: > Howdy, > > The Beyond Buildworld working group discussed many subjects around our build > system, including > upcoming changes to do a better job of addressing embedded systems, the > integration of bmake, > and the need for better incre

Re: Beyond Buildworld Dev Summit Working Group Report

2013-06-11 Thread Tim Kientzle
On Jun 10, 2013, at 10:02 PM, Glen Barber wrote: > On Mon, Jun 10, 2013 at 09:25:39PM -0700, Tim Kientzle wrote: >>> • Crochet with VM images [TimKeintzle], [GlenBarber], [ColinPercival] >> >> Per Colin, there's no way for "mere mortals" to upload

'opaque' flag?

2007-04-08 Thread Tim Kientzle
ld bsdtar ignore opaque flags? Any input appreciated, Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: 'opaque' flag?

2007-04-09 Thread Tim Kientzle
Tim Kientzle wrote: Does anyone understand the semantics of the 'opaque' flag? I'm trying to understand an issue with packages built on union file systems. It appears the 'opaque' flag is set on some symlinks, which the package tools then archive. The archived flag is

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-11 Thread Tim Kientzle
don't find XML very pretty, either. ;-) 3) As DES pointed out, the package tools must be able to read the metadata before the files. If you really need a completely separate metadata file, make it the second file in the archive. Tim Kie

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-11 Thread Tim Kientzle
od package installer needs to support rollback anyway to do robust dependency handling. I know two relatively straightforward ways to structure the installation process to support rollback. So many ideas, so little time... ;-) Tim Kientzle ___ freeb

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-13 Thread Tim Kientzle
quire. Unfortunately, libarchive (which started as part of a package tools overhaul) has absorbed more time than I expected, so I've not had a chance to get back to these ideas. Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.fre

Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))

2007-05-13 Thread Tim Kientzle
und little information on the package system. The people who maintain the current codebase are right on this mailing list. Ask away! What do you want to know? Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listin

Re: Using shell commands versus C equivalents

2007-06-13 Thread Tim Kientzle
id, though, you're not likely to gain much from this. pkg_install is almost entirely disk bound. I spent a lot of time recently in libarchive/bsdtar optimizing the disk handling; I can share lots of ideas for improving performance of disk-bound operations like this

Re: Using shell commands versus C equivalents

2007-06-13 Thread Tim Kientzle
I spent a lot of time recently in libarchive/bsdtar optimizing the disk handling; I can share lots of ideas for improving performance of disk-bound operations like this. One thing you might find useful: libarchive has an API for "creating things on disk," which handles a lot of trivia (creatin

Re: Using shell commands versus C equivalents

2007-06-16 Thread Tim Kientzle
t of insight into where a program is really spending time. Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Rearchitecting pkg_install (was Re: Using shell commands versus C equivalents)

2007-06-17 Thread Tim Kientzle
try to build a reputation as someone who responds quickly to reported problems. I managed to get support for replacing 'tar' this way, which is arguably just as critical as pkg_install. Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://

Re: libelf question

2007-06-24 Thread Tim Kientzle
U ar the date is Jun 3 13:09 2007 Kai Wang recently added 'ar' support to libarchive/bsdtar; what does 'tar -tv' say? Note: You'll need a recent 7-CURRENT system for this or you can install libarchive/bsdtar from the most recent development snapshot on http://people.fre

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-06 Thread Tim Kientzle
#x27;t see these "conclusive results" of yours. I'm very interested, though. Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-06 Thread Tim Kientzle
ckage metadata. Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-14 Thread Tim Kientzle
nd one should be: <http://students.washington.edu/youshi10/posted/atk.htm> Unfortunately, I get "Permission Denied" here for both of those URLs. Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mai

Tar output mode for installworld

2007-07-14 Thread Tim Kientzle
anything especially tricky. The end result would be a way to build install CDs without having to run as root. Building an install tarfile could even benefit regular "installworld," since the final install could be done with a minimal too

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-14 Thread Tim Kientzle
le, "r"); fstat(fileno(f), &st); buff = malloc(st.st_size + 1); fread(buff, 1, st.st_size, f); buff[st.st_size] = '\0'; fclose(f); Either way, this is a lot more efficient than tens of thousands of calls to fgetc(). Cheers, Tim Kientzle ___

Re: Tar output mode for installworld

2007-07-14 Thread Tim Kientzle
On 2007-07-14 13:20, Tim Kientzle <[EMAIL PROTECTED]> wrote: <http://www.freebsd.org/projects/ideas/#p-taroutmode> This is easy to implement using a ... text format such as: bin/sh file /usr/obj/usr/src/bin/sh bin/sh uname root rescue/mkdir hardlink rescue/rescue bin/sh mode 0

Re: Tar output mode for installworld

2007-07-14 Thread Tim Kientzle
Joerg Sonnenberger wrote: On Sat, Jul 14, 2007 at 01:20:15PM -0700, Tim Kientzle wrote: This is easy to implement using a trick that I stumbled across a few years ago. The idea is to just build a description of the final archive in a nice verbose text format such as: ...which is done by

Re: Tar output mode for installworld

2007-07-14 Thread Tim Kientzle
ter could even accumulate various hashes and include them, though the body per se would be lost.) Feedback appreciated, Tim Kientzle Index: archive_read_support_format_all.c === --- archive_read_support_

Re: Tar output mode for installworld

2007-07-15 Thread Tim Kientzle
eneric tar archives as well. I have a couple of ideas for supporting this using pax extensions, but it's tricky to implement robustly, so it's not going to happen for a little while. (In particular, the error check in the tar archive should include all of the headers, and you want

Re: Tar output mode for installworld

2007-07-15 Thread Tim Kientzle
Ulrich Spoerlein wrote: On Sat, 14.07.2007 at 23:28:05 -0700, Tim Kientzle wrote: #%ntree bin/echo uid=0 gid=0 group=wheel contents=my/bin/echo ... create a tarball with tar -czf system.tgz @specification.ntree or install directly from the specification file using tar -xvpf

Re: Tar output mode for installworld

2007-07-16 Thread Tim Kientzle
ackup of a file before overwriting it with different content. Is this something that requires changes to the specification file format, or just a feature of the tool that uses the specification file? If the former, what do you envision would be required? Ti

Re: Tar output mode for installworld

2007-07-16 Thread Tim Kientzle
Ulrich Spoerlein wrote: On 7/15/07, Tim Kientzle <[EMAIL PROTECTED]> wrote: Plus: The specification file can re-use the existing files on CD, ... That is exactly what I was referring to above. And AFAIK DragonflyBSD does it in a similar way. They simply copy the live CD onto t

Re: Useful tools missing from /rescue

2007-09-02 Thread Tim Kientzle
course, it's hard to get worked up about 45k, so feel free to ignore the above. Cheers, Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Useful tools missing from /rescue

2007-09-03 Thread Tim Kientzle
etwork routines, which are quite large. chmod doesn't need to look up user or group names. Tim Kientzle P.S. Interesting experiment: for every function in libc, create a statically linked and stripped binary that references that one function and look a

Re: dump problems

2007-09-10 Thread Tim Kientzle
(ACLs, extended attributes, etc) are correctly backed-up and restored. Tar, cpio, and other similar programs are widely used for purposes other than whole-system backup. As such, they have to balance requirements that simply aren't of interest to dump/restore. Ti

Re: Some FreeBSD performance Issues

2007-11-08 Thread Tim Kientzle
You should also carefully do an strace or similar on Windows and Linux as well. You may find that you're doing a system call per byte on FreeBSD but not on those other systems. Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://list

Re: Architectures with strict alignment?

2007-12-29 Thread Tim Kientzle
does some very intriguing structure padding). Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: dlopen(), atexit() crash on FreeBSD (testcase included)

2007-12-31 Thread Tim Kientzle
m right, the Firebird folks might be easier to convince (since it means that their atexit() registration isn't really reliable anywhere). Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: dlopen(), atexit() crash on FreeBSD (testcase included)

2008-01-01 Thread Tim Kientzle
nyone know about Mac OS?) seems to be that atexit() can be called from a dynamically loaded library and that functions registered this way will be called at library unload time. And FreeBSD doesn't implement this behavior. Tim Kientzle ___

Re: Squeezing out some 70 bytes out of the boot2 loader

2008-01-20 Thread Tim Kientzle
ure (if there's no "boot" entry or "boot" isn't a dir, assume the boot files are in the root of the FS). Wouldn't that work just as well and require less space? Cheers, Tim Kientzle ___ freebsd-hackers@freebsd.org mai

Re: encrypted executables

2008-02-20 Thread Tim Kientzle
esting problem in practice. ;-) Cheers, Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: OT: Stream structures in bzlib and zlib

2008-02-21 Thread Tim Kientzle
patibility with old and/or broken compilers. libarchive treats them as const and has never had any problems from this. Cheers, Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubs

Re: emulate an end-of-media

2008-02-25 Thread Tim Kientzle
s ago; the patent expired already. Cheers, Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Some versioned storage program?

2008-03-21 Thread Tim Kientzle
e. Not sure if this suits your needs or not, but I thought I'd throw the idea out there. Cheers, Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: mtree acl [patch]

2008-04-10 Thread Tim Kientzle
correct a comment that got duplicated in mtree.h), but the idea looks right. Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: mtree acl [patch]

2008-04-11 Thread Tim Kientzle
l. Just omit it. If someone specifies 'acl' keyword and not 'mode' keyword, then its because they only want to see extended ACL information. Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: indent(1) support for gcc(1) 0b prefix

2008-05-01 Thread Tim Kientzle
hould never do so in a way that changes the meaning of the program. In all of these cases, having indent recognize "0b..." as a single token is the correct behavior. So I don't see any point in having this recognition be tunable. indent already has too many switches. Tim Kientzl

Re: Adding .db support to pkg_tools

2008-05-12 Thread Tim Kientzle
be deleted and rebuilt from scratch from the data in the regular files. Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: BDB corrupt - patches

2008-05-14 Thread Tim Kientzle
vily the base system uses DB 1.85, I think there will be a lot of interest in anything that improves the stability and reliability of that code. Cheers, Tim Kientzle ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinf

Re: Debugging rtld

2008-05-17 Thread Tim Kientzle
by the --dynamic-linker switch, see into ld. If you do (accidentally?) break ld.so.1, remember that /rescue is all statically linked and should still work. Single-user boot to /rescue/sh is your friend. Cheers, Tim Kientzle ___ freebsd-hackers

Re: GSoC Student

2008-05-17 Thread Tim Kientzle
Sounds interesting. I'm looking forward to hearing more about your work. Cheers, Tim Kientzle Victor Hugo Bilouro wrote: Hi, I'm Victor Hugo *Bilouro*, GSoC participant. I'll be working on tcptest. It's name came from TCP/IP Regression test suite. As a testin

Re: Announcing PathDB

2010-05-29 Thread Tim Kientzle
ed by the lack of (constructive) feedback so far. Cheers, Tim Kientzle C. Bergström wrote: PathScale is slowly open sourcing and porting some of our core software technology and thought the BSD community might be interested in PathDB. Months ago we gave a few FBSD developers private access t

  1   2   3   >