maximum size of cylinder group superblock supported by kernel
Radim Kolar
hsn at netmag.cz
Thu Apr 8 10:42:51 PDT 2004
Hi,
I have started to write inode booster program. It should add new free inodes
to filesystem without enlarging it. I am running out of inodes on many
computers.
I have found that newfs creates filesystem with cylinder group block (struct
cg from fs.h) maxed to filesystem's blocksize. In my case there are only 4
free bytes, so there is no much space for increasing iused bitmap. I have read
in several source code comments about `bsd can not handle larger struct cg
than blocksize`.
Can anybody fix kernel to support larger struct cg ? Why is hard to support
any sized struct cg ? Real size is recorded in superblock.fs_csgsize field,
so kernel can look in sb and load as much data as needed.
Anybody have some idea what should i do with my code? I have created classes
for manipulating UFS2 ondisk. I can can do easily for example inodes ->
datablocks space conversion, but this is not very usefull.
More information about the freebsd-fs
mailing list