Resizing file-backed vnode disklabels

2003-02-07 Thread Hans Zaunere
Fairly straight forward question I suppose. I'm creating several file-backed vnode devices on a single physical disklabel to support some jails. If I start the file at 1gb is it possible to increase the file without losing the data within it? Would growfs be safe to use? Could I be so bold as

Re: Shared files within a jail

2002-11-13 Thread Hans Zaunere
--- Terry Lambert <[EMAIL PROTECTED]> wrote: > 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'

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

Shared files within a jail

2002-11-12 Thread Hans Zaunere
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. Best, = Hans Zaunere New York PHP http://nyphp.org [EMAIL PROTECTED] __ Do you Yahoo!? U2 on LAUNCH - E

Re: jail with multiple IPs (patch)

2002-06-18 Thread Hans Zaunere
--- Julian Elischer <[EMAIL PROTECTED]> wrote: > On Tue, 18 Jun 2002, Michael Alyn Miller wrote: > > > Hi, folks, > [...] > patch for multi addresses in jail. > > I apreciate that you have done this work, but I have a question > "why would it be useful?" Do you have a need for it or is this

IPFilter Bridging

2001-08-16 Thread Hans Zaunere
Hello, I am wondering if anyone knows of any workarounds to get IPFilter to filter across an ethernet bridge. The bridge is working fine, and so is ipf, but ipf has no effect on any packets that go across the bridge. Pings to localhost are monitored and filtered, but that's about it. Any combi

Re: ncurses

2001-08-15 Thread Hans Zaunere
> > fprintf(stderr,..) will print stuff when ncurses > is running. > *Whaps himself* Why didn't I think of that. However the question still lingers, is there anyway to output to stdout? Its kind of a moot point I suppose, just curious. Thank you, Hans

ncurses

2001-08-15 Thread Hans Zaunere
I'm sorry that this is offtopic, but I've looked/asked everywhere and no one has a clue. Once a program does initscr(), is it possible to printf()? I can printf() stuff without a problem, but it doesn't get to the screen until the program exits? I've done every ncurses function I can think of,

Re: Signal Handling

2001-08-14 Thread Hans Zaunere
> [...] > > 2) If a 10k binary is running, the signal is sent, > and > > the program is reloaded from disk, but is 100k (or > 1k > > even) how does the signal handling function get > > called, taking into account what Stevens says. > Steven > > states that the sigmask remains for calls across > e

Signal Handling

2001-08-13 Thread Hans Zaunere
In a program that I am working on, I've decided to catch signal 15, which then calls execl() in the handler to reload the program from the on-disk binary. I am able to send it the signal, it reloads, and works fine. However I could not send the signal again and have the program respond. I then

select kevent aio_read

2001-08-03 Thread Hans Zaunere
Hello, I am new to this level of programming so please bare with me. I am curious as the differences between kevent and select and when to use either one. After reading the man pages, they seem to provide about the same functionality. What advantages do each have, and why would one choose one

Accessing /dev/klog and similar

2001-07-30 Thread Hans Zaunere
Hello, I'm looking to access kernel messages directly from the kernel, and not through syslog if I can help it. When I try to open("/dev/klog", O_RDONLY); I get the error "Device busy". How can I open this file? Or are there any other ways of getting at this data? When I try to open /dev/lo