Re: jails and output of df/mount [PATCH]

2005-05-23 Thread Raphael H. Becker
Hi Jürgen, On Wed, May 18, 2005 at 12:45:29AM +0200, Juergen Unger wrote: > On Tue, May 17, 2005 at 11:43:24PM +0200, Jeremie Le Hen wrote: > [...] > > There seems to be one small bug in your patch : once applied, we > > don't see informations about / any longer inside jails. > > please try the

(no subject)

2005-05-23 Thread gowtham
Hi, How can I get the process_id of a process when I've the process_name from within a C program? Also can the command kill (pid, SIGCONT) be used to restart a dead daemon process where pid is the process_id of the daemon from within a C program? -- Gowtham _

Re: (no subject)

2005-05-23 Thread Joseph Koshy
> How can I get the process_id of a process when I've the > process_name from within a C program? Also can the command You could look at the way its done in "src/usr.bin/killall/killall.c", or read the manual page for kvm_getprocs(3). > kill (pid, SIGCONT) be used to restart a dead daemon proces

Behaviour of mount_unionfs

2005-05-23 Thread Dario Freni
cupa:/mnt/freesbie# ll total 4 drwxr-xr-x 2 root wheel 512 23 Mag 05:13 unionvar drwxr-xr-x 2 root wheel 512 23 Mag 05:13 var cupa:/mnt/freesbie# mdconfig -a -t vnode -f /usr/local/freesbieiso/uzip/var.uzip md2 cupa:/mnt/freesbie# mount /dev/md2.uzips1a var cupa:/mnt/freesbie# ls -l var/ tota

Re: snapshots and innds

2005-05-23 Thread Kirk McKusick
Excellent detective work on your part. The invarient that is being broken here is that you are never supposed to hold a vnode locked when you call vn_start_write. The call to vn_start_write should be done in vm_object_sync before acquiring the vnode lock rather than later in vnode_pager_putpages. O

Re: Behaviour of mount_unionfs

2005-05-23 Thread Dario Freni
On Mon, May 23, 2005 at 08:34:59AM +0200, Davide D'Amico wrote: > > cupa:/mnt/freesbie# mount /dev/md3 unionvar/ > > cupa:/mnt/freesbie# mount_unionfs unionvar/ var/ > what if > mount_unionfs var/ unionvar/ ? It works correctly. Patching system ASAP. -- Dario Freni ([EMAIL PROTECTED]) - satu on

Tyan S2460 and btx.S

2005-05-23 Thread Walter C. Pelissero
Apparently FreeBSD 5.x is neither able to power off nor reset a Tyan Tiger MP (S2460) motherboard. I believe it's a known problem. While the power off may be due to a broken ACPI the reset can be fixed. Revision 1.33 log of /sys/boot/i386/btx/btx/btx.S says: date: 2003/11/16 18:24:23; author

Re: [PATCH] sbin/route should attempt to resolve hostnames for INET6

2005-05-23 Thread Hajimu UMEMOTO
Hi, > On Sat, 21 May 2005 00:39:51 +0200 > Andreas Kohn <[EMAIL PROTECTED]> said: andreas> attached is a small patch to /sbin/route.c 1.78 so that route's behavior andreas> matches the description from the manpage: andreas> All symbolic names specified for a destination or gateway

Re: Porting on FreeBSD 53

2005-05-23 Thread Seán C . Farley
On Mon, 23 May 2005, Greg 'groggy' Lehey wrote: [severely trimmed] [severely trimmed again :)] Now that I've had time to look at it, both problems appear to be related to signals, but that's about as far as it goes. I wouldn't expect any connection unless it's a general signal race conditio

Re: watching a file for ownership change

2005-05-23 Thread Bruce M Simpson
On Sat, May 21, 2005 at 10:38:30PM -0400, Charles Sprickman wrote: > I'd like to find a way to watch one of the user's maildirsize files that > seems to flip ownerships at least once a day and try to determine what > process is changing the ownership. > How can I do that without dropping a bunch

Error installing FreeBSd 5.3 AMD 64 bit-Highpoint 1820A

2005-05-23 Thread Amandeep
Hi all, I am instalaling FreeBSD 5.3 AMD 64 bit with 6- 200GB drives. Using Higpoint 1820A controller and doing RAID 10. I am using drivers for the card from Highpoint Web. The problem is when I make the partitions and the machine tries to format the partitions it says: unable to find dev

Re: watching a file for ownership change

2005-05-23 Thread Marco Molteni
On Sun, 22 May 2005 04:05:50 +0100 Bruce M Simpson <[EMAIL PROTECTED]> wrote: > On Sat, May 21, 2005 at 10:38:30PM -0400, Charles Sprickman wrote: > > I'd like to find a way to watch one of the user's maildirsize files > > that seems to flip ownerships at least once a day and try to > > determine

Re: Error installing FreeBSd 5.3 AMD 64 bit-Highpoint 1820A

2005-05-23 Thread Amandeep
Hi guys, Anyone??? Amandeep wrote: Hi all, I am instalaling FreeBSD 5.3 AMD 64 bit with 6- 200GB drives. Using Higpoint 1820A controller and doing RAID 10. I am using drivers for the card from Highpoint Web. The problem is when I make the partitions and the machine tries to format the

Re: Error installing FreeBSd 5.3 AMD 64 bit-Highpoint 1820A

2005-05-23 Thread Amandeep
Hi guys, Anyone??? Amandeep wrote: Hi all, I am instalaling FreeBSD 5.3 AMD 64 bit with 6- 200GB drives. Using Higpoint 1820A controller and doing RAID 10. I am using drivers for the card from Highpoint Web. The problem is when I make the partitions and the machine tries to format the

Re: Error installing FreeBSd 5.3 AMD 64 bit-Highpoint 1820A

2005-05-23 Thread Steven Hartland
Sounds like u have followed the install guide with the drivers. I couldn't get that to work ( without ACPI ) I had to install with ACPI but this was 5.4-RELEASE but using the 5.3 driver from highpoints site as there wasn't a 5.4 driver available. 1. Boot from cd 2. got to boot prompt, load the dri

Re: Error installing FreeBSd 5.3 AMD 64 bit-Highpoint 1820A

2005-05-23 Thread Steven Hartland
Sounds like u have followed the install guide with the drivers. I couldn't get that to work ( without ACPI ) I had to install with ACPI but this was 5.4-RELEASE but using the 5.3 driver from highpoints site as there wasn't a 5.4 driver available. 1. Boot from cd 2. got to boot prompt, load the dri

Forcing static-linking on a port?

2005-05-23 Thread Darren Pilgrim
I need to make use of a port during start up, but it has library dependencies that aren't available, before the complete library path is established. I've tried the following: NO_SHARED=true (added to /etc/make.conf) make -DNO_SHARED make LDFLAGS+=-static Every time, running file on the compiled

Re: watching a file for ownership change

2005-05-23 Thread Joe McGuckin
It seems like you'd want your kevent() callback (or whatever) to be triggered as the modifying process is exiting the syscall that is modifying the file but before control is actually passed back to it - you'd want to be able to 'catch it in the act' so to speak. On 5/23/05 1:23 PM, "Marco Molt

Re: Forcing static-linking on a port?

2005-05-23 Thread Dan Nelson
In the last episode (May 23), Darren Pilgrim said: > I need to make use of a port during start up, but it has library > dependencies that aren't available, before the complete library path is > established. I've tried the following: > > NO_SHARED=true (added to /etc/make.conf) > make -DNO_SHARED