Formatting a FS onto a LFB

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
AndrewAPrice
Member
Member
Posts: 2299
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Formatting a FS onto a LFB

Post 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!
My OS is Perception.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post 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 :)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
ucosty
Member
Member
Posts: 271
Joined: Tue Aug 08, 2006 7:43 am
Location: Sydney, Australia

Post by ucosty »

I don't see why not, after all it's just RAM.
The cake is a lie | rackbits.com
Post Reply