From owner-freebsd-hackers Wed Oct 8 23:32:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA12150 for hackers-outgoing; Wed, 8 Oct 1997 23:32:43 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA12142 for ; Wed, 8 Oct 1997 23:32:40 -0700 (PDT) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA09532 for freebsd-hackers@FreeBSD.ORG; Thu, 9 Oct 1997 08:32:39 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id IAA18721; Thu, 9 Oct 1997 08:29:16 +0200 (MET DST) Message-ID: <19971009082916.GN20024@uriah.heep.sax.de> Date: Thu, 9 Oct 1997 08:29:16 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.ORG Subject: Re: Cannot find definition of cdevsw_add() in source tree. References: X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from mdean on Oct 8, 1997 20:10:24 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As mdean wrote: > Where is cdevsw_add() defined, I have searched all .c and .h files > in the source tree, but can only find a prototype. nm /kernel | sort | more ... f0118250 F kern_conf.o f0118250 T _isdisk f01183c4 T _chrtoblk f01183f8 T _bdevsw_add f0118480 T _cdevsw_add f0118520 T _cdevsw_make f01185c8 T _bdevsw_add_generic ... (If you look into the file you'll realize why a quick grep doesn't reveal the secret.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)