Pseudo device question

Anand Subramanian anand at pythagoras.math.uwaterloo.ca
Fri Jan 23 09:50:30 PST 2004


Hi All,
If I have a pseudo-device on FreeBSD 5.1 created using the make_dev call
does anyone know how to grow this special file? I mean I don't want to
write to this file initially but grow this device memory to a somewhat
large limit. This is because I need to mmap this pseudo device into a user
process memory and then use the mmaped memory...Can I do this by defining
an ioctl() on this special file? If so what do I have to do to allocate
some memory and to attach the allocated memory to this device?


Thanks,
Anand





More information about the freebsd-hackers mailing list