From: Romain <ti...@li...> - 2004-03-10 09:48:07
|
Hi, >> One of the downsides of making a vfs is that your code isn't portable >> anymore. GNOME has it's own way, KDE, Windows, MacOS,... Of course mos= t >> of the functionality of TiLP is in its libraries, but it's still going >> to be a lot of work if you want to support all these platforms. It sur= e >> won't hurt to start with a gnomevfs and see how it works out though. > >Why not implement a native Linux filesystem? > >I'm dreaming of these shell commands :-) > >mount -t calcfs /dev/tiusb0 /mnt/ti89 >ls /mnt/ti89 > MY_PROGS/ > MAIN/ > PHOENIX/ This idea is quite interesting because it's widely independant of the desktop and may allow to use handhelds in pure console mode, too. Thus, I have done a research and I have found 2 ways: - kernel mode: kernel module which will use VFS kernel capabilities: too complex, never merged - user mode: a daemon which will pass requests to the vfs part of the kernel. A such project exists: lufs (Linux User File System) at http://lufs.sf.net. This project is living, growing and seems to work fine altough it's in beta stage. The main drawback: it is not merged yet in 2.4 or even 2.6 kernel. And, will it be ? I have not found any other way. Altough the idea is wonderful, it will involve to patch and rebuild a kernel. Too bad for a newbie ! roms. --- Romain Li=E9vin (roms) <ti...@li...> Site web <http://www.lievin.net> "Linux, y'a moins bien mais c'est plus cher !" |