Does FreeBSD have replacement for posix_fadvice() or fcntl(F_RDADVISE)?

2011-05-12 Thread Lev Serebryakov
Hello, Freebsd-hackers. Does FreeBSD have some custom call, which can be used where Linux programs uses posix_fadvice() and DARWIN ones fcntl(F_RDADVISE)? It is like madvise(2) but for file descriptors. -- // Black Lion AKA Lev Serebryakov __

Re: Does FreeBSD have replacement for posix_fadvice() or fcntl(F_RDADVISE)?

2011-05-12 Thread Kostik Belousov
On Thu, May 12, 2011 at 11:38:12AM +0400, Lev Serebryakov wrote: > Hello, Freebsd-hackers. > >Does FreeBSD have some custom call, which can be used where Linux > programs uses posix_fadvice() and DARWIN ones fcntl(F_RDADVISE)? > >It is like madvise(2) but for file descriptors. No, it doe

Re: Does FreeBSD have replacement for posix_fadvice() or fcntl(F_RDADVISE)?

2011-05-12 Thread mdf
On Thu, May 12, 2011 at 4:17 AM, Kostik Belousov wrote: > On Thu, May 12, 2011 at 11:38:12AM +0400, Lev Serebryakov wrote: >> Hello, Freebsd-hackers. >> >>    Does FreeBSD have some custom call, which can be used where Linux >>  programs uses posix_fadvice() and DARWIN ones fcntl(F_RDADVISE)? >> >

RE: [UPDATE] New Boot-Loader Menu -- version 1.3

2011-05-12 Thread Devin Teske
> On May 4, 2011, at 1:37 AM, Emanuel Haupt wrote: > >> Devin Teske wrote: >> >> Hey all, >> >> Proud to bring you version 1.3 which completes the followup >> suggestions made by Olivier Smedts (use autoboot_delay instead of >> loader_menu_timeout and change dc_seconds to loader_delay) and a >>

Re: [UPDATE] New Boot-Loader Menu -- version 1.3

2011-05-12 Thread Warner Losh
On May 12, 2011, at 2:14 PM, Devin Teske wrote: >> On May 4, 2011, at 1:37 AM, Emanuel Haupt wrote: >> >>> Devin Teske wrote: >>> >>> Hey all, >>> >>> Proud to bring you version 1.3 which completes the followup >>> suggestions made by Olivier Smedts (use autoboot_delay instead of >>> loader_m

Re: [UPDATE] New Boot-Loader Menu -- version 1.3

2011-05-12 Thread Julian Elischer
On 5/12/11 2:14 PM, Devin Teske wrote: On May 4, 2011, at 1:37 AM, Emanuel Haupt wrote: Devin Teske wrote: Hey all, Proud to bring you version 1.3 which completes the followup suggestions made by Olivier Smedts (use autoboot_delay instead of loader_menu_timeout and change dc_seconds to loade

Re: Does FreeBSD have replacement for posix_fadvice() or fcntl(F_RDADVISE)?

2011-05-12 Thread mdf
2011/5/12 Lev Serebryakov : > Hello, Mdf. > You wrote 12 мая 2011 г., 15:40:25: >    Does FreeBSD have some custom call, which can be used where Linux  programs uses posix_fadvice() and DARWIN ones fcntl(F_RDADVISE)?    It is like madvise(2) but for file descriptors. >>> No, it

OpenGrok for FreeBSD

2011-05-12 Thread Zafer Aydoğan
Hello List, I've set up an OpenGrok service for the FreeBSD sources (current). OpenGrok is a source code search engine and cross reference. I'm updating the sources once a day. I'm a NetBSD developer and I'm also maintaining http://nxr.netbsd.org Feel free to use it: http://fxr.aydogan.net Cheer

lldb patches for FreeBSD

2011-05-12 Thread Amit Kulkarni
Hi, I installed FreeBSD 8.2 amd64 and trying to see how far lldb compiles, seeing as OpenBSD lacks shm_open/shm_unlink and some posix shared memory functionality right now. Note: FreeBSD 8.2 amd64 has system gcc of 4.2.1, the last GPLv2 gcc with some patches before the switch to GPLv3, if I am not

Re: Does FreeBSD have replacement for posix_fadvice() or fcntl(F_RDADVISE)?

2011-05-12 Thread Jilles Tjoelker
On Thu, May 12, 2011 at 11:38:12AM +0400, Lev Serebryakov wrote: >Does FreeBSD have some custom call, which can be used where Linux > programs uses posix_fadvice() and DARWIN ones fcntl(F_RDADVISE)? >It is like madvise(2) but for file descriptors. An effect like POSIX_FADV_SEQUENTIAL can

Re: lldb patches for FreeBSD

2011-05-12 Thread Pieter de Goeje
On Friday 13 May 2011 00:00:28 Amit Kulkarni wrote: > It seems FreeBSD is also affected like OpenBSD about the thread id > issue discussed a month before in this thread. I am cc'ing matthew@ > just to keep him in the loop. > http://lists.cs.uiuc.edu/pipermail/lldb-dev/2011-April/000444.html Check

Re: Does FreeBSD have replacement for posix_fadvice() or fcntl(F_RDADVISE)?

2011-05-12 Thread Lev Serebryakov
Hello, Jilles. You wrote 13 мая 2011 г., 3:03:27: >>It is like madvise(2) but for file descriptors. > An effect like POSIX_FADV_SEQUENTIAL can be obtained with the > F_READAHEAD or F_RDAHEAD fcntl(2) requests. The implementation is > divided between the generic VFS layer and various filesystem