Messages in this thread | | | Date | Thu, 29 Oct 1998 08:18:09 +0100 | From | Lenart Gabor <> | Subject | Re: /proc format: standard representation, parsing |
| |
On Wed, Oct 28, 1998 at 09:10:29AM -0500, Adam Sulmicki wrote: > Lenart Gabor writes: > ->I think both of the two methods can be usefull for some reasons. > ->So it would be nice to give binary AND text /proc files. Binary versions > ->can be smaller, and - for example - only one binary files would exist > ->for a /proc directory entry or something similar. > > That's broken idea. It is what ioctl's are for. > (remember, most of the entries in the proc, especially those under /proc/sys > are mapped to ioctls )
Okey. In this case there're a few things which are not clear for me. For example changing /proc/pci (text file) will be changed to a much binary like architecture. So why don't you leave /proc/pci as text file and use ioclt()s in prgrams ? Following your description it would be nicer.
Oh well, I'm (very) beginner in kernel hacking so please ignore my letter if I'm wrong. And sorry for my bad English :)
- Gabor
---[ LGB/DC ]------------------[ root@hal2000 ]-----------------[ LINUX ]--- "The truth is out there" "We're living together" "The future is dark." ---[ 88/422022-4602 ]--[ http://www.hal.vein.hu/~lgb ]------[ 87/477074 ]---
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |