Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 1996 17:25:08 +0900
From:      KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
To:        current@freebsd.org
Subject:   MAXBSIZE
Message-ID:  <199601100825.RAA02578@marble.eps.nagoya-u.ac.jp>

next in thread | raw e-mail | index | archive | help
Can FreeBSD-current use a msdos filesystem whose cluster size > MAXBSIZE? 

NetBSD can't do this and terminated by panic at

        desired_size = roundup(size, CLBYTES);
        if (desired_size > MAXBSIZE)
                panic("allocbuf: buffer larger than MAXBSIZE requested");

in the function allocbuf.

On the contrary, FreeBSD's allocbuf doesn't check size.

----
KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
Dept. Earth Planet. Sci., Nagoya Univ.,  Nagoya 464-01
Voice: +81-52-789-2529   Fax: +81-52-789-3033



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