[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FFS
Hello,
1)
I am modifying the mount code and i find this:
malloc(...,M_UFSMNT,...)
In malloc.h:
#define M_UFSMNT 28
There is a lot of "define" about filesystems in malloc.h and it seems to
represent every types of memories which can be allocated.
I'm searching in the source but i don't know how and why they use it.
Someone knows the solution?
What does represent a type of memory?
2)
Does someone knows the working of the bread function because it returns me the
EINVAL error. Does it read a logical block or a physical block?
I'm trying to read my disk superblock, my creds, vnode and offset seem to be
correct but i don't know where is the error and i have no idea about it.
Thanks.
- Follow-Ups:
- Re: FFS
- From: Ted Unangst <tedu@zeitbombe.org>