Re: mksnap_ffs time

2008-01-03 Thread Eric Anderson
On 01/03/08 17:46, Daan Vreeken [PA4DAN] wrote: On Friday 04 January 2008 00:30:20 you wrote: Hi! 1) Is anyone else seeing this? As far as I know, this is somehow related to the SoftUpdates, but I am not 100% sure. Look at the mailinglist archives, there was a discussion a few months ago abou

Re: mksnap_ffs time

2008-01-03 Thread Daan Vreeken [PA4DAN]
On Friday 04 January 2008 00:30:20 you wrote: > Hi! > > > 1) Is anyone else seeing this? > > As far as I know, this is somehow related to the SoftUpdates, but I am not > 100% sure. Look at the mailinglist archives, there was a discussion a few > months ago about the same topic as far as I remember.

mksnap_ffs time

2008-01-03 Thread Daan Vreeken [PA4DAN]
Hi Hackers, I'm running a 6.2-RELEASE server with a /home partition that's used to backup a customer's data. The backups are being made during the night. Since a couple of weeks I'm running mksnap_ffs daily to create filesystem snapshots of the data. I've been logging the time it takes mksnap_f

Re: Porting from Linux to FreeBSD (procfs question)

2008-01-03 Thread Fernando Apesteguía
On Jan 3, 2008 9:53 PM, Ivan Voras <[EMAIL PROTECTED]> wrote: > Fernando Apesteguía wrote: > > > Maybe a mix of both could be good: use the linxprocfs when it is > > almost straightforward (in fact I could run the app, just changing few > > lines) and sysctl when the linprocfs doesn't provide the i

Re: Porting from Linux to FreeBSD (procfs question)

2008-01-03 Thread Ivan Voras
Fernando Apesteguía wrote: > Maybe a mix of both could be good: use the linxprocfs when it is > almost straightforward (in fact I could run the app, just changing few > lines) and sysctl when the linprocfs doesn't provide the information > that I need. Also, linprocfs is never mounted by default

Re[2]: select

2008-01-03 Thread Metin KAYA
> Metin KAYA <[EMAIL PROTECTED]> writes: >> Yes Rick, I'm asking this "indefinitely" issue. Is there anything that >> handle this NULL situation a signal, or etc.? How does Linux or >> FreeBSD behave? > Please don't top-post. > Like most other system calls that block "indefinitely", select(2) wil

Re: select

2008-01-03 Thread Garrett Cooper
Garrett Cooper wrote: Metin KAYA wrote: Yes Rick, I'm asking this "indefinitely" issue. Is there anything that handle this NULL situation a signal, or etc.? How does Linux or FreeBSD behave? On Thu, Jan 03, 2008 at 08:52:48PM +0200, Metin KAYA wrote: How select(2) will behave

Re: Porting from Linux to FreeBSD (procfs question)

2008-01-03 Thread Fernando Apesteguía
On Jan 3, 2008 8:50 PM, Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: > "Fernando Apesteguía" <[EMAIL PROTECTED]> writes: > > I have an application written in C + Gtk + Glib that gathers > > information from procfs under Linux. Now, I'm trying to port this > > application to FreeBSD (I'm working w

Re: select

2008-01-03 Thread Dan Nelson
In the last episode (Jan 03), Metin KAYA said: > Hi all, > > How select(2) will behave if I give the "utimeout" parameter as > NULL? >From the man page: If timeout is a null pointer, the select blocks indefinitely. http://www.freebsd.org/cgi/man.cgi?query=select -- Dan Nels

Re: select

2008-01-03 Thread Dag-Erling Smørgrav
Metin KAYA <[EMAIL PROTECTED]> writes: > Yes Rick, I'm asking this "indefinitely" issue. Is there anything that > handle this NULL situation a signal, or etc.? How does Linux or > FreeBSD behave? Please don't top-post. Like most other system calls that block "indefinitely", select(2) will be inte

Re: Porting from Linux to FreeBSD (procfs question)

2008-01-03 Thread Dag-Erling Smørgrav
"Fernando Apesteguía" <[EMAIL PROTECTED]> writes: > I have an application written in C + Gtk + Glib that gathers > information from procfs under Linux. Now, I'm trying to port this > application to FreeBSD (I'm working with 7.0 RC1). man linprocfs DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] _

Re: select

2008-01-03 Thread Rick C. Petty
On Thu, Jan 03, 2008 at 08:52:48PM +0200, Metin KAYA wrote: > > How select(2) will behave if I give the "utimeout" parameter as > NULL? According to the man page: If timeout is not a null pointer, it specifies the maximum interval to wait for the selection to complete. System acti

Re: select

2008-01-03 Thread Garrett Cooper
Garrett Cooper wrote: Metin KAYA wrote: Yes Rick, I'm asking this "indefinitely" issue. Is there anything that handle this NULL situation a signal, or etc.? How does Linux or FreeBSD behave? On Thu, Jan 03, 2008 at 08:52:48PM +0200, Metin KAYA wrote: How select(2) will behave

Re: select

2008-01-03 Thread Garrett Cooper
Metin KAYA wrote: Yes Rick, I'm asking this "indefinitely" issue. Is there anything that handle this NULL situation a signal, or etc.? How does Linux or FreeBSD behave? On Thu, Jan 03, 2008 at 08:52:48PM +0200, Metin KAYA wrote: How select(2) will behave if I give the "utime

Re[2]: select

2008-01-03 Thread Metin KAYA
Thank you a lot for your good answer. Please read my other mail. I'm asking a question in man page. > Metin KAYA wrote: >> Hi all, >> >> How select(2) will behave if I give the "utimeout" parameter as >> NULL? >> >> -- >> Metin KAYA

Re: select

2008-01-03 Thread Garrett Cooper
Metin KAYA wrote: Hi all, How select(2) will behave if I give the "utimeout" parameter as NULL? -- Metin KAYA EnderUNIX Software Developer Endersys Software Engineer http://www.EnderUNIX.org/metinhttp://www

Re[2]: select

2008-01-03 Thread Metin KAYA
Yes Rick, I'm asking this "indefinitely" issue. Is there anything that handle this NULL situation a signal, or etc.? How does Linux or FreeBSD behave? > On Thu, Jan 03, 2008 at 08:52:48PM +0200, Metin KAYA wrote: >> >> How select(2) will behave if I give the "utimeout" parameter as >>

select

2008-01-03 Thread Metin KAYA
Hi all, How select(2) will behave if I give the "utimeout" parameter as NULL? -- Metin KAYA EnderUNIX Software Developer Endersys Software Engineer http://www.EnderUNIX.org/metinhttp://www.Endersys.com/ _

Re: Semaphores

2008-01-03 Thread Julian Elischer
Neeku Shamekhi wrote: I need some article about semaphores in freeBSD and mainly about kern_sema.c file. man 9 sema ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: Porting from Linux to FreeBSD (procfs question)

2008-01-03 Thread Brooks Davis
On Thu, Jan 03, 2008 at 06:26:21PM +0100, Fernando Apestegu?a wrote: > Hi all, > > I post my question in this list cause Ivan Voras ([EMAIL PROTECTED]) > suggested that here I could find more help. > > I have an application written in C + Gtk + Glib that gathers > information from procfs under Li

Porting from Linux to FreeBSD (procfs question)

2008-01-03 Thread Fernando Apesteguía
Hi all, I post my question in this list cause Ivan Voras ([EMAIL PROTECTED]) suggested that here I could find more help. I have an application written in C + Gtk + Glib that gathers information from procfs under Linux. Now, I'm trying to port this application to FreeBSD (I'm working with 7.0 RC1)

Re: Porting from linux to FreeBSD (procfs question)

2008-01-03 Thread Jeremy Chadwick
On Thu, Jan 03, 2008 at 05:16:42PM +0100, Ivan Voras wrote: > On 03/01/2008, Fernando Apesteguía <[EMAIL PROTECTED]> wrote: > > > Yes, that's my problem. In Linux I can get from /proc/cpuinfo for > > example: name, model, stepping, cache size, clock speed, supported > > extensions, etc... > > But

Re: Porting from linux to FreeBSD (procfs question)

2008-01-03 Thread Ivan Voras
On 03/01/2008, Fernando Apesteguía <[EMAIL PROTECTED]> wrote: > Yes, that's my problem. In Linux I can get from /proc/cpuinfo for > example: name, model, stepping, cache size, clock speed, supported > extensions, etc... > But using sysctl in FreeBSD (sysctl -a) I can only see name and vendor > for

Re: Disk sync at shutdown and fusefs filesystems

2008-01-03 Thread Csaba Henk
On 2007-12-17, Alejandro Pulver <[EMAIL PROTECTED]> wrote: > When the implementation is ready, and if these problems are sorted out, > do you think it could be enabled by default (at least for root)? Because > that's the behavior most filesystems would prefer I think. I made up a testable implemen

Re: nfs v2/v3 and diskless boot problem

2008-01-03 Thread Eric Anderson
Danny Braniss wrote: Danny Braniss wrote: Danny Braniss wrote: Danny Braniss wrote: there is an undocumented option: boot-nfsroot-options that the diskeless boot can use. I tried boot-nfsroot-options = "nfsv3" since the pxeboot does the initial mount via nfsv2, and this has at least

Re: nfs v2/v3 and diskless boot problem

2008-01-03 Thread Danny Braniss
> Danny Braniss wrote: > >> Danny Braniss wrote: > Danny Braniss wrote: > > there is an undocumented option: > > boot-nfsroot-options > > that the diskeless boot can use. I tried > > boot-nfsroot-options = "nfsv3" > > since the pxeboot does the initial moun

Re: nfs v2/v3 and diskless boot problem

2008-01-03 Thread Eric Anderson
Danny Braniss wrote: Danny Braniss wrote: Danny Braniss wrote: there is an undocumented option: boot-nfsroot-options that the diskeless boot can use. I tried boot-nfsroot-options = "nfsv3" since the pxeboot does the initial mount via nfsv2, and this has at least one problem: removing

Re: Semaphores

2008-01-03 Thread Ivan Voras
Neeku Shamekhi wrote: > I need some article about semaphores in freeBSD and mainly about kern_sema.c > file. About the best documentation you will find is this: http://fxr.watson.org/fxr/source/kern/kern_sema.c For general information on the FreeBSD kernel see the book "Design and implementation

Semaphores

2008-01-03 Thread Neeku Shamekhi
I need some article about semaphores in freeBSD and mainly about kern_sema.c file. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"