Re: Shrinking /(s)bin: A Proposal

2002-11-12 Thread M. Warner Losh
I just link bin and sbin dynamically when I want to make a small image. Works great, no hacks needed so long as / and /usr are the same partition, which they are on the CF's I make. A minimally bootable FreeBSD system is on the order of 6MB uncompressed. Warner To Unsubscribe: send mail to [EMA

Re: Shared files within a jail

2002-11-12 Thread Terry Lambert
Cameron Grant wrote: > null mounts, in -stable at least, are broken for this purpose. on > connection, sshd revoke()s some device- its pty, i assume, and when this > hits the nullfs layer a null pointer is dereferenced. if i had vfs-clue i'd > have fixed it when i found the panic about two weeks

Re: Shared files within a jail

2002-11-12 Thread Terry Lambert
Matthew Dillon wrote: > Try using null mounts. The warning is in there because making the > null mount code work is a real hack and the authors aren't entirely > sure that everything's gotten covered. That said, use of a null mount > is certainly a lot safer if the stuff behind th

Re: A quick gdb help

2002-11-12 Thread Alexander Pohoyda
Zhihui Zhang <[EMAIL PROTECTED]> writes: > (gdb) set xyz = 1 <- works > (gdb) set i = 1<- syntax error near '1' > > I guess i must have special meaning in gdb. But what if I insist setting > it, is there a way? Thanks. Use `set var[iable] i = 1' or `p[rint] i = 1'. More informati

Re: Shared files within a jail

2002-11-12 Thread Terry Lambert
Hans Zaunere wrote: > I want to allow the users the ability to compile and use their own > instances of Apache and MySQL from within the jail. But instead of > duplicating the basic system libs and bins, I'd like to maintain a > single repository of this, which can then be read-only from within th

Re: Shared files within a jail

2002-11-12 Thread Matthew Dillon
:> is certainly a lot safer if the stuff behind the mount is mostly :> static. : :null mounts, in -stable at least, are broken for this purpose. on :connection, sshd revoke()s some device- its pty, i assume, and when this :hits the nullfs layer a null pointer is dereferenced. if i had vf

Re: Shared files within a jail

2002-11-12 Thread Cameron Grant
> Try using null mounts. The warning is in there because making the > null mount code work is a real hack and the authors aren't entirely > sure that everything's gotten covered. That said, use of a null mount > is certainly a lot safer if the stuff behind the mount is mostly >

Re: GDB & Linux binaries.

2002-11-12 Thread Marcel Moolenaar
On Sun, Nov 10, 2002 at 07:44:21PM -0700, [EMAIL PROTECTED] wrote: > > > I'm guessing this is because the linux libc library file is in > > > /usr/compat/linux/lib, how do I get GDB to use it instead? Or is it even > > > possible. > > That's interesting. I already asked similar question here, on f

Re: Shared files within a jail

2002-11-12 Thread Matthew Dillon
Try using null mounts. The warning is in there because making the null mount code work is a real hack and the authors aren't entirely sure that everything's gotten covered. That said, use of a null mount is certainly a lot safer if the stuff behind the mount is mostly static.

Re: Shared files within a jail

2002-11-12 Thread Daniel O'Connor
On Wed, 2002-11-13 at 14:17, Hans Zaunere wrote: > Two issues arise: > 1) I'd like to be able to link an entire directory for convience and > maintenance purposes. Write a script :) > 2) Cross partition links not possible. > > Number 2 is really the kicker, as far as I can tell. Is there some

Re: Shared files within a jail

2002-11-12 Thread Hans Zaunere
> > I've had an account on a jail server which had /shared visible > > within the jail, and symlinks to /bin, /usr/lib and such. I'm not > > sure how this was actually implemented, and I'd be interested if > > anyone has seen or heard of any solutions to this type of problem. > > You should be a

Re: Shared files within a jail

2002-11-12 Thread Daniel O'Connor
On Wed, 2002-11-13 at 13:38, Hans Zaunere wrote: > -- Symlinks won't work because of the chroot. > -- Mounts from within the jail aren't allowed, plus a single partition > can't be mounted multiple times, AFAIK. > -- I don't have NFS setup, and I would like to avoid it as much as > possible. > -- m

Shared files within a jail

2002-11-12 Thread Hans Zaunere
After much searching and contemplation, I've decided to ask the question directly: I'm implementing a jail server, which will provide a very limited set of resources (Apache/MySQL/PHP). Setup is going well, however I've run into a little snag that I hope can be worked out. I want to allow the u

RE: miniBSD buids and runs ok on Advantek WEB 2143 box

2002-11-12 Thread Murray Taylor
Australian $647.00 plus a PSU -Original Message- From: Scott Ullrich [mailto:sullrich@;CRE8.COM] Sent: Wednesday, November 13, 2002 12:42 PM To: 'Murray Taylor' Subject: RE: miniBSD buids and runs ok on Advantek WEB 2143 box Do you mind me asking how much t

miniBSD buids and runs ok on Advantek WEB 2143 box

2002-11-12 Thread Murray Taylor
Manuel, As the subject says, we built miniBSD following your scripts etc to make a ipf firewall box. We will be also using the same platform as a ipf / ppp dialer for our remote sites. (freeing up some desktops that are currently being used ;-) ) http://www.advantech.com.tw/eplatforms/web2143.as

Re: CD audio interpolation

2002-11-12 Thread Daniel O'Connor
On Wed, 2002-11-13 at 06:14, Sean Hamilton wrote: > If I read /dev/acd0t1, will the CD-ROM interpolate over scratches and stuff? > Is there any way of identifying them? I believe it's basically up to your CD ROM drive - all the acd driver does is ask it for track info, I don't believe it does anyt

Re: [hackers] Re: Netgraph could be a router also.

2002-11-12 Thread Nicolas Christin
On Tue, 12 Nov 2002, Terry Lambert wrote: > 100mbit/s / 200kp/s = 500 bytes per packet > > ...and that an absolute top end. Somehow, I think the packets are > smaller. Just for the record... Measurement studies[1] (and NLANR traces[2]) suggest that the average packet size on the I

Re: [hackers] Re: Netgraph could be a router also.

2002-11-12 Thread Terry Lambert
David Gilbert wrote: > > "Terry" == Terry Lambert <[EMAIL PROTECTED]> writes: > Terry> By "it", I guess you mean "FreeBSD"? > Terry> What are your performance goals? > > Right now, I'd like to see 500 to 600 kpps. > > Terry> Where is FreeBSD relative to those goals, right now, without > Terry

Re: how to control tagged queueing?

2002-11-12 Thread Dan Ellard
On Tue, 12 Nov 2002, Chris Dillon wrote: > > I'm experimenting with the effects of SCSI tagged queueing on file > > system performance. Is there any kind of global toggle somewhere in > > the kernel to turn tagged queueing on and off, and/or knob to limit > > the number of outstanding tags? Tagg

Re: Shrinking /(s)bin: A Proposal

2002-11-12 Thread Poul-Henning Kamp
In message , Rich Morin writes: >My spouse had the problem of creating a bootable copy of A/UX on a >single floppy. She decided to write a "doitall" program that had >functionality from a number of small commands. This amortized the >overhead a great deal. man crunchgen. -- Poul-Henning Kamp

Re: A quick gdb help

2002-11-12 Thread Peter Edwards
I tend to avoid using "set", and use "print", with an assignment expression: eg "print i = 1" or "p i = 1". It removes any namespace conflicts between variables in the target process and gdb settings. -- Peter. > I need to set a variable value in gdb: > > (gdb) set xyz = 1 <- works > (gdb) s

RE: Network connection problem: SIS, miibus

2002-11-12 Thread Luoqi Chen
> From: [EMAIL PROTECTED] > [mailto:owner-freebsd-hackers@;FreeBSD.ORG]On Behalf Of Paul Everlund > Sent: Tuesday, November 12, 2002 10:42 AM > To: [EMAIL PROTECTED] > Subject: Network connection problem: SIS, miibus > > > Hi all! > > Did try questions, without any reply, so I'm trying here... >

Re: A quick gdb help

2002-11-12 Thread Amit Rao
On Tuesday 12 November 2002 03:03 pm, Chuck Tuffli wrote: > On Tue, Nov 12, 2002 at 02:56:10PM -0500, Zhihui Zhang wrote: > > I need to set a variable value in gdb: > > > > (gdb) set xyz = 1 <- works > > (gdb) set i = 1<- syntax error near '1' > > > > I guess i must have special meanin

Re: A quick gdb help

2002-11-12 Thread Amit Rao
On Tuesday 12 November 2002 02:56 pm, Zhihui Zhang wrote: > I need to set a variable value in gdb: > > (gdb) set xyz = 1 <- works > (gdb) set i = 1<- syntax error near '1' > > I guess i must have special meaning in gdb. But what if I insist setting > it, is there a way? Thanks. This

Re: A quick gdb help

2002-11-12 Thread Chuck Tuffli
On Tue, Nov 12, 2002 at 02:56:10PM -0500, Zhihui Zhang wrote: > > I need to set a variable value in gdb: > > (gdb) set xyz = 1 <- works > (gdb) set i = 1<- syntax error near '1' > > I guess i must have special meaning in gdb. But what if I insist setting > it, is there a way? Than

A quick gdb help

2002-11-12 Thread Zhihui Zhang
I need to set a variable value in gdb: (gdb) set xyz = 1 <- works (gdb) set i = 1<- syntax error near '1' I guess i must have special meaning in gdb. But what if I insist setting it, is there a way? Thanks. -Zhihui To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscrib

Re: Shrinking /(s)bin: A Proposal

2002-11-12 Thread The Anarcat
The same approach is used in creating sysinstall related binaries or in PicoBSD. The utility is called crunchgen(1). The examples section even features ways to do exactly that with /sbin. A. On Tue Nov 12, 2002 at 11:32:26AM -0800, Rich Morin wrote: > My spouse had the problem of creating a boot

Re: Shrinking /(s)bin: A Proposal

2002-11-12 Thread Amit Rao
On Tuesday 12 November 2002 02:34 pm, Justin Wojdacki wrote: > Rich Morin wrote: > > My spouse had the problem of creating a bootable copy of A/UX on a > > single floppy. She decided to write a "doitall" program that had > > functionality from a number of small commands. This amortized the > > ov

CD audio interpolation

2002-11-12 Thread Sean Hamilton
Greetings, If I read /dev/acd0t1, will the CD-ROM interpolate over scratches and stuff? Is there any way of identifying them? thanks, sh To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Shrinking /(s)bin: A Proposal

2002-11-12 Thread Justin Wojdacki
Rich Morin wrote: > > My spouse had the problem of creating a bootable copy of A/UX on a > single floppy. She decided to write a "doitall" program that had > functionality from a number of small commands. This amortized the > overhead a great deal. > > A similar approach could be used for /(s)b

Re: Shrinking /(s)bin: A Proposal

2002-11-12 Thread Rich Morin
My spouse had the problem of creating a bootable copy of A/UX on a single floppy. She decided to write a "doitall" program that had functionality from a number of small commands. This amortized the overhead a great deal. A similar approach could be used for /(s)bin: lump several programs togethe

Network connection problem: SIS, miibus

2002-11-12 Thread Paul Everlund
Hi all! Did try questions, without any reply, so I'm trying here... I have a friend who decided to try FreeBSD 4.6.2 and it works just fine except one thing, his connection to the internet. He has a sis network card, which is compiled into the kernel, with miibus that is required. He gets a con

Interesting

2002-11-12 Thread scottl
FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA - This email was sent

Interesting

2002-11-12 Thread scottl
FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA - This email was sent

Interesting

2002-11-12 Thread scottl
FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA - This email was sent

Interesting

2002-11-12 Thread scottl
FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA FUCK SCOTT LONG AND FUCK BILL FUMEROLA - This email was sent

Re: how to control tagged queueing?

2002-11-12 Thread Chris Dillon
On Tue, 12 Nov 2002, Dan Ellard wrote: > I'm experimenting with the effects of SCSI tagged queueing on file > system performance. Is there any kind of global toggle somewhere in > the kernel to turn tagged queueing on and off, and/or knob to limit > the number of outstanding tags? Tagged queue m

how to control tagged queueing?

2002-11-12 Thread Dan Ellard
I'm experimenting with the effects of SCSI tagged queueing on file system performance. Is there any kind of global toggle somewhere in the kernel to turn tagged queueing on and off, and/or knob to limit the number of outstanding tags? Tagged queue management all seems to be done at the device le

Re: boot from USB ZIP or USB HDD

2002-11-12 Thread Anton Vinokurov
My motherboard (VIA Epia) support booting from USB-FDD, USB-ZIP, USB-HDD and USB-CDROM. I have no idea how it works and what the difference between all this methods. My USB flash device could be formatted as "bootable" under Windows as USB ZIP device, and when I set "boot from USB ZIP" in BIOS - al

Re: boot from USB ZIP or USB HDD

2002-11-12 Thread Bernd Walter
On Tue, Nov 12, 2002 at 06:10:08PM +0300, Anton Vinokurov wrote: > Hi! > > Is there any way to boot FreeBSD from USB flash device which can be detected > as 'usb zip' by BIOS? > > I have EasyDisk 32M flash device, which can be formatted under Windows as > bootable, and my motherboard could boot W

boot from USB ZIP or USB HDD

2002-11-12 Thread Anton Vinokurov
Hi! Is there any way to boot FreeBSD from USB flash device which can be detected as 'usb zip' by BIOS? I have EasyDisk 32M flash device, which can be formatted under Windows as bootable, and my motherboard could boot Windows from it, same time writing standart FreeBSD boot block and label as desc

Greetings

2002-11-12 Thread kseseko seko
From: Kuzo M. Seseko Alternative Email Address: [EMAIL PROTECTED] My name is Kuzo Mobutu Seseko, the daughter of the late President of Republic of Zaire, now living in exile in South Africa. The circumstances that led to my living in South Africa at the moment cannot be new to you , I know you m

seeking help to rewrite the msdos filesystem

2002-11-12 Thread Tomas Pluskal
Hello, I believe that everybody here knows about the "slow msdosfs" problem, that is AFAIK caused by implementation without clustering. For me this is very annoying, because I use digital camera, and ZIP drive, and FAT on both of them. Speed is about 10 times lower than it could be.. I would like