tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: File system capabilities check in bootstrap script



On Sun, 12 Jun 2011 03:46:21 +0900, Julio Merino <jmmv%netbsd.org@localhost> 
wrote:

On 6/11/11 1:26 PM, OBATA Akio wrote:
Hi,

Now, On Interix, bootstrap will die without case-sensitive filesystem
without --ignore-case-check option.
I feel there is no reason to do even for Interix (and not for Darwin),
so it should be killed.

I think it's good to go too.

Dropped and committed.

But I saw (but not remember) that some package changes its behavior
depending on whether filesystem is case sensitive or not.
So it may be nice that keep case-check and just record the result
in mk.conf (like CASE_SENSITIVE_FILESYSTEM=no).
And I know BeFS used by Haiku have lack of hard link support,
so it also possible to be checked and recorded.

Why would you record this in mk.conf if you can detect it easily at runtime?

I wondered that it is sufficient to check it just one time.
But if it is easy, yes, runtime check is better than put it in mk.conf.

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index