Messages in this thread | | | Date | Tue, 11 Jul 2006 15:01:17 -0700 | From | Greg KH <> | Subject | Re: Opinions on removing /proc/tty? |
| |
On Sun, Jul 09, 2006 at 08:44:24PM -0400, Jon Smirl wrote: > Much simpler solution: > > cat /sys/class/graphics/fb0/modes > mode_string > mode_string > mode_string > mode_string > mode_string > mode_string > mode_string > mode_string > mode_string > mode_string > mode_string > ...
How do you handle the issue when this file overflows a PAGE_SIZE buffer?
> echo mode_string >/sys/class/graphics/fb0/mode
Yeah, that initially looks very simple, but again, it violates the sysfs rules. No matter how stupid you think they are, it still doesn't matter...
If you really don't like it, make a fbfs, it's only about 200 lines of code...
thanks,
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |