Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jul 1998 22:48:23 +0900
From:      Hideki Yamamoto <hyama@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
Message-ID:  <199807041348.WAA18723@emerald.carrot.kansai.oki.co.jp>
In-Reply-To: Your message of "Thu, 2 Jul 1998 16:47:24 %2B0200"
References:  <19980702164724.07060@follo.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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> <osreldate.h> 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 <osreldate.h>

#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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807041348.WAA18723>