Page 1 of 1
Formatting a FS onto a LFB
Posted: Sun Jan 06, 2008 5:23 am
by AndrewAPrice
I have an interesting idea. If you were using a *nix OS and had two monitors, and the second monitor's frame buffer was mapped as a block device (so you can directly manipulate pixels (seek, read, write)), would it be possible to treat this block device as a disk, and try to install a FS onto it and mount it? You could watch your disk activity on your screen!
Posted: Sun Jan 06, 2008 6:21 am
by Combuster
the only problem is that the screen only holds some 6MB of visible data (1600x1200). While that's decent for FAT etc, it's not really suited for more complex filesystems or testing with larger amounts of files.
Also, remember that every fourth byte gets lost due to being the alpha channel and not all cards support a 24-bit bpp.
But in all, nice idea
Posted: Sun Jan 06, 2008 7:45 am
by ucosty
I don't see why not, after all it's just RAM.