Date: Sun, 13 Nov 2005 10:25:01 -0800 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Joseph Koshy <joseph.koshy@gmail.com>, freebsd <freebsd-hackers@freebsd.org> Subject: Re: UFS2 max limits? Message-ID: <20051113182501.GN775@funkthat.com> In-Reply-To: <20051113181759.GM775@funkthat.com> References: <84dead720511112135j435a3723ld15a9d993bbae9cc@mail.gmail.com> <20051113181759.GM775@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
John-Mark Gurney wrote this message on Sun, Nov 13, 2005 at 10:17 -0800: > as for the file size, The approximate max can be calculated by > (blocksize / sizeof(ufs2_daddr_t)) ^ 3 * blocksize > the real max would add in addition: > (blocksize / sizeof(ufs2_daddr_t)) ^ 2 * blocksize + > (blocksize / sizeof(ufs2_daddr_t)) * blocksize + > 9 * blocksize ^ ack, I miss remebered, I knew I needed to check this before I sent the email: !!grep define.*N[DI]ADDR /usr/include/ufs/ufs/dinode.h #define NDADDR 12 /* Direct addresses in inode. */ #define NIADDR 3 /* Indirect addresses in inode. */ The 9 above should be 12... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051113182501.GN775>