Re: [patch] nmount ro, rw and negated option handling

2011-01-19 Thread Craig Rodrigues
t;pos = -1; - noro_opt->seen = 1; - TAILQ_INSERT_TAIL(optlist, noro_opt, link); - } - - /* * Be ultra-paranoid about making sure the type and fspath * variables will fit in our mp buffers, including the * terminating NUL. ZFS c

Re: checking zip file corruption

2006-06-26 Thread Craig Rodrigues
ich tests the integrity of a zip file? You can call "unzip -t" from Perl. InfoZip is in ports, archivers/unzip and archivers/zip. -- Craig Rodrigues [EMAIL PROTECTED] ___ freebsd-hackers@freebsd.org mailing list http://lists.freeb

Re: C code for parsing rc.conf?

2004-04-16 Thread Craig Rodrigues
certain cases. An analogy for this would be the API that is used to read/write settings to the Windows registry. On a side note, is there any code in sysinstall that could be reused outside of the sysinstall application in order to parse rc.conf? -- Craig Rodrigues htt

C code for parsing rc.conf?

2004-04-14 Thread Craig Rodrigues
le library existed in FreeBSD 4.x or 5.x for doing this. Thanks. -- Craig Rodrigues http://crodrigues.org [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: FreeBSD and Debugging?

2004-04-10 Thread Craig Rodrigues
On Fri, Apr 09, 2004 at 10:17:08PM -0700, Lev Walkin wrote: > Valgrind is available for FreeBSD. > > http://eirikn.kerneled.com/valgrind/ Wow!! This is excellent. Is anyone planning to add this to the ports collection? -- Craig Rodrigues http://crodrigues.org [EMAIL

Kernel debugging with a multiport serial card

2004-04-07 Thread Craig Rodrigues
problems? Thanks. -- Craig Rodrigues http://crodrigues.org [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: GCC include files conundrum.

2004-03-15 Thread Craig Rodrigues
and adding `using namespace std;' liberally. I've fixed a few ports by doing exactly what you have outlined. Admittedly, it's grunt work, but. :) -- Craig Rodrigues http://crodrigues.org [EMAIL PROTECTED] ___ [EMAIL PRO

Re: GCC include files conundrum.

2004-03-14 Thread Craig Rodrigues
elopers are not too interested in supporting. (3) In the Makefile for the audio/tclmidi port, mark it as broken on FreeBSD 5.x: .if ${OSVERSION} > 50 BROKEN= "Does not build on 5.x" .endif -- Craig Rodrigues http://crodrigues.org [EMAIL PROTECTED] __

Questions about CPU related sysctls

2004-02-25 Thread Craig Rodrigues
x27;t show anything for them). Would it be a good idea to add some text to these syctls? kern.ccpu: hw.acpi.cpu.cx_history: machdep.hlt_cpus: -- Craig Rodrigues http://crodrigues.org [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing

Re: Realtime signal

2004-01-30 Thread Craig Rodrigues
On Thu, Jan 29, 2004 at 08:41:39PM +0200, Aliaxandr Pinchuk wrote: > FreeBSD 5.1 have a realtime signal support (signal queue)? Not right now. See: http://lists.freebsd.org/pipermail/freebsd-threads/2003-April/68.html -- Craig Rodrigues http://crodrigues.org [EMAIL PROTEC

Re: FreeBSD VFS System?

2003-12-16 Thread Craig Rodrigues
se, David Malone http://citeseer.nj.nec.com/dowse02recent.html "The Design and Implementation of the 4.4 BSD Operating System" http://www.aw-bc.com/catalog/academic/product/0,4096,0201549794-TOC,00.html -- Craig Rodrigues http://crodrigues.org [EMAIL PROTECTED] ___

Netgraph-ATM used in Masters thesis

2003-11-12 Thread Craig Rodrigues
private patches from Harti - I benefited a lot from it being in the tree (a bit selfish to say, but true) I would like to thank Harti for his hard work on Netgraph-ATM, and all of the FreeBSD committers for producing a great OS and a great piece of software that let me get my work done!!

Re: Linux vs FreeBSD clusters (was: how are the Redhat product changes affecting existing and future plans?)

2003-11-06 Thread Craig Rodrigues
e same company that Brooks works for (Aerospace), has apparently set up an internal testbed based on the Emulab software developed at Utah. I use the Emulab every day as party of my research work at BBN, and it is an excellent facility. -- Craig Rodrigue

Benchmarking kqueue() performance?

2003-10-17 Thread Craig Rodrigues
number of events. I am interested in seeing the scalability of kqueue() as the number of events increases. I am also interested in looking at kqueue() performance in multithreaded environmentsmaybe with the new KSE implementation in CURRENT. Thanks. -- Craig Rodrigues http

#warning must be protected by #if __GNUC__ in headers?

2003-03-08 Thread Craig Rodrigues
h as , but does not. Thanks. -- Craig Rodrigues http://home.attbi.com/~rodrigc [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Makefiles to modify for adding new sys/*.h header files?

2003-03-08 Thread Craig Rodrigues
Hi, If I add new headers file in the directories /usr/src/sys/sys and /usr/src/sys/{arch}/include, then which Makefiles do I need to modify in order to make sure that my new header files get installed properly when I do a make installworld? Thanks. -- Craig Rodrigues http

Re: FreeBSD device driver question

2003-02-10 Thread Craig Rodrigues
at appropriate references/documentation (4.*) or URL? FreeBSD Developer's Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ section 24 "PCI Devices" -- Craig Rodrigues http://home.attbi.com/~rodrigc [EMAIL PROTECTED] To Unsubscribe: send mail to [E

Re: freebsd running on a cdrom

2003-01-02 Thread Craig Rodrigues
On Thu, Jan 02, 2003 at 02:03:50PM -0800, Joe wrote: > Without building the entire FreeBSD distro how do I make my > own boot.flp file and what goes on it? See if this article can help you: "Building a CD Bootable Firewall" http://www.bsdtoday.com/2002/March/Features64

Re: pw(8): $ (dollar sign) in username

2002-12-27 Thread Craig Rodrigues
c change for samba": http://docs.freebsd.org/mail/archive/2002/freebsd-current/20021201.freebsd-current.html http://docs.freebsd.org/mail/archive/2002/freebsd-current/20021208.freebsd-current.html I'm not sure what the outcome of the discussion was. -- Craig Rodrigues http://www.gis.n

Re: Memory corruption in -STABLE on P4/2GHz

2002-11-17 Thread Craig Rodrigues
ine, 2 lines/tag, 2-way associative Write Allocate Enable Limit: 384M bytes Write Allocate 15-16M bytes: Enable I am seeing make or /usr/libexec/cc1 intermittently coredump with SIG 11 or SIG 10 errors when trying to do a buildworld. I wasn't sure if it was because I had flaky hardware or not.

Re: C-2(Security) blues and the like

2002-10-10 Thread Craig Rodrigues
uick google search of "Common Criteria" yields: http://csrc.nist.gov/cc/ccv20/ccv2list.htm It has PDF files for download which are not the same as the ISO standard, but are supposed to be "aligned with ISO 15408". -- Craig Rodrigues http://www.gis.net/~craigr [EMAIL

Re: Problem detecting POSIX symbolic constants

2002-10-10 Thread Craig Rodrigues
t. This patch works for me. I think it is just as easy to just remove cruft from the header file entirely, but since your patch effectively does the same thing and has informative comments, that is fine. If your patch (or some equivalent variant) is committed, then I think PR 35924 can be close

Re: Problem detecting POSIX symbolic constants

2002-10-09 Thread Craig Rodrigues
estrict, stack_t * __restrict); At some point in the future when POSIX RT signals are implemented in FreeBSD (I'm not volunteering :), then _POSIX_REALTIME_SIGNALS can be defined to 200112L in unistd.h, and these three prototypes can be put back into . Is this OK? Thanks. -- Craig Ro

Problem detecting POSIX symbolic constants

2002-10-09 Thread Craig Rodrigues
MAXSIG - 1) 223 #endif /* SIGRTMAX */ 224 #endif /* _POSIX_REALTIME_SIGNALS */ Thanks. -- Craig Rodrigues http://www.gis.net/~craigr [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: FreeBSD usage in safety-critical environments

2002-10-09 Thread Craig Rodrigues
S-MAIL freebsd-security or freebsd-security-notifications might be appropriate for your needs. There is a lot of FreeBSD security-related work going on in the TrustedBSD project ( http://www.trustedbsd.org ). Another BSD project, OpenBSD ( http://www.openbsd.org ), has security and safe

Re: FreeBSD usage in safety-critical environments

2002-10-09 Thread Craig Rodrigues
anies have the resources to submit to such an SIL certification and jump through all the hoops? - is there enough of a financial incentive to do so? - has the UK govt heard of BSD, and would they even care if someone wanted to certify it? Unfortunately marketing and mindshare plays a lot in these k

How to remote debug a network device driver?

2002-10-05 Thread Craig Rodrigues
brandt/ngatm/ - fxp, the Intel EtherExpress Pro driver Can someone give me some hints as to where a good place to set the breakpoints would be, or pointers to further information about FreeBSD networking? Thanks. -- Craig Rodrigues http://www.gis.net/~craigr [EMAIL PROTECTED] To Unsub

ACPI programming under FreeBSD?

2002-10-01 Thread Craig Rodrigues
gather this information at the user-level? How stable is ACPI support in -STABLE and -CURRENT for this kind of work? Thanks. -- Craig Rodrigues http://www.gis.net/~craigr [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in t

Comments on new Linux threading implementation?

2002-09-30 Thread Craig Rodrigues
FreeBSD ( http://people.freebsd.org/~julian/threads/ )? Thanks. -- Craig Rodrigues http://www.gis.net/~craigr [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: POSIX message queue

2002-09-30 Thread Craig Rodrigues
On Mon, Sep 30, 2002 at 12:21:40AM -0400, Craig Rodrigues wrote: > On Sun, Sep 15, 2002 at 11:14:20PM -0400, Dmitriy Fitisov wrote: > > Hi, > > I cannot find implementation of POSIX message queues > > (mq_open, mq_xxx, ...). Even though there is a message header > >

Re: kqueue

2002-09-29 Thread Craig Rodrigues
hich has pointers to further references: http://people.freebsd.org/~jlemon/ -- Craig Rodrigues http://www.gis.net/~craigr [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: POSIX message queue

2002-09-29 Thread Craig Rodrigues
#x27;m not sure if this stuff works, or is maintained. You may want to check on the [EMAIL PROTECTED] mailing list. I just asked about p1003_1b and POSIX message queues on that list. -- Craig Rodrigues http://www.gis.net/~craigr [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL

Re: How to correctly detect POSIX 1003.1b features on FreeBSD?

2002-03-13 Thread Craig Rodrigues
debate about the technical merits of POSIX, but I have worked on some projects where adhering to POSIX api's was actually a project requirement due to customer demand. Thanks again. -- Craig RodriguesDistributed Systems and Logistics, Office 6/304 [EMAIL PROTECTED] BBN Tec

Re: How to correctly detect POSIX 1003.1b features on FreeBSD?

2002-03-12 Thread Craig Rodrigues
rojects/posix/signals.html I do not intend to implement POSIX realtime signals for FreeBSD at this time. -- Craig RodriguesDistributed Systems and Logistics, Office 6/304 [EMAIL PROTECTED] BBN Technologies, a Verizon company (617) 873-4725 Cambridge, MA To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: How to correctly detect POSIX 1003.1b features on FreeBSD?

2002-03-12 Thread Craig Rodrigues
ary. I went one step further: cd /usr/lib sh -c 'for i in `ls *.a`; do printf "$i\n=\n"; nm $i | egrep "sigqueue|sigwaitinfo|sigtimedwait" ; done' I did not find any library which had siqueue, sigwaitinfo, or sigtimedwait. -- Craig RodriguesDistr

Re: How to correctly detect POSIX 1003.1b features on FreeBSD?

2002-03-12 Thread Craig Rodrigues
On Tue, Mar 12, 2002 at 04:59:40PM -0800, Alfred Perlstein wrote: > * Craig Rodrigues <[EMAIL PROTECTED]> [020312 16:35] wrote: > > > > Can someone tell me how I can detect if these functions are available > > on a system at compile time? I cannot use an autoconf ty

Re: How to correctly detect POSIX 1003.1b features on FreeBSD?

2002-03-12 Thread Craig Rodrigues
articular definition of _P1003_1B_VISIBLE is broken if it is enabling symbols in header files to appear which cannot be linked on a generically configured FreeBSD system. Thanks. -- Craig RodriguesDistributed Systems and Logistics, Office 6/304 [EMAIL PROTECTED] BBN Technologies, a

Re: How to correctly detect POSIX 1003.1b features on FreeBSD?

2002-03-12 Thread Craig Rodrigues
ERSION expand to on FreeBSD current? On FreeBSD 4.3, it expands to: 199009L What is the status of the asynch I/O code in FreeBSD current? Is it compiled in by default, or is it still an option? Thanks. -- Craig RodriguesDistributed Systems and Logistics, Office 6/304 [EMAIL PROTECTED

How to correctly detect POSIX 1003.1b features on FreeBSD?

2002-03-12 Thread Craig Rodrigues
__P((const sigset_t *, siginfo_t *)); __END_DECLS #endif Any clarification on how to correctly detect and use these features, would be appreciated. -- Craig RodriguesDistributed Systems and Logistics, Office 6/304 [EMAIL PROTECTED] BBN Technologies, a Verizon company (617) 8