Compressed filesystem for FreeBSD

Stephan Uphoff ups at
Wed Nov 19 11:27:50 PST 2003

Sergei Mozhaisky wrote:
> Hello everyone.
> I am searching for compressed filesystem for FreeBSD.
> Why do I need compressed filesystem? I am developer of FreeBSD-based
> LiveCD, and the main problem of liveCD is loading speed - it's too
> slow, comparing with Knoppix or other Linux LiveCD.

Currently the f_iosize of a CD filesystem is set using the f_bsize. (normally 
This forces vnode_pager_generic_getpages() to use vnode_pager_input_smlfs().

Replacing the line:
	sbp->f_iosize = sbp->f_bsize;	/* XXX */
in cd9660_vfsops.c with:
	sbp->f_iosize = (sbp->f_bsize > PAGE_SIZE) ? sbp->f_bsize : PAGE_SIZE;

should be possible (Warning not tested!) and should help you with the loading 


More information about the freebsd-fs mailing list