From owner-freebsd-stable Sat Jul 4 06:48:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA02324 for freebsd-stable-outgoing; Sat, 4 Jul 1998 06:48:48 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from emerald.carrot.kansai.oki.co.jp (okigate.oki.co.jp [202.226.91.194]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA02319 for ; Sat, 4 Jul 1998 06:48:45 -0700 (PDT) (envelope-from hyama@emerald.carrot.kansai.oki.co.jp) Received: from localhost (localhost [127.0.0.1]) by emerald.carrot.kansai.oki.co.jp (8.8.6/3.3W-94070111) with ESMTP id WAA18723; Sat, 4 Jul 1998 22:48:24 +0900 (JST) Message-Id: <199807041348.WAA18723@emerald.carrot.kansai.oki.co.jp> To: eivind@yes.no Cc: jkh@time.cdrom.com, mike@sentex.net, stable@FreeBSD.ORG Subject: Re: Release schedule for 2.2.7 From: Hideki Yamamoto In-Reply-To: Your message of "Thu, 2 Jul 1998 16:47:24 +0200" References: <19980702164724.07060@follo.net> X-Mailer: Mew version 1.70 on Emacs 19.28.1 / Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 04 Jul 1998 22:48:23 +0900 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Thank you for your good ideas and tips. > Not in 2.2 at this time, which is why I specifically didn't say that. :) Eivind> Simple - if __FreeBSD_version isn't available, it is 2.2 :-) Eivind> cannot be retrieved from the kernel (I believe it will Eivind> even fail to compile in some circumstances), so getting it from there Eivind> isn't an option. Then it would even be better (*shudder*) to rely on Eivind> __FreeBSD__ (reader, please don't. Use __FreeBSD_version, and assume Eivind> 2.2 if not available). I have a question. Is the technique available both kernel module and the others? I have ported msdosfs module in kernel and mount_msdos command in sbin/i386. In mount_msdos source code, I think we can add the following code to distinguish between two branches. --------------- #include #if __FreeBSD_version > 300000 printf(" This code is for -current branche\n"); #else printf(" This code is for -stable branche\n"); #endif --------------- My disk is so small (400M for FreeBSD, 800M for Win95), that I cannot have the whole -current environment. After finishing this porting, I will buy a fat disk. :-) ~~~ Thanks in advance. ---------------------------------- Hideki Yamamoto (hyama@acm.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message