[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File systems
On Mon, Oct 01, 2001 at 02:01:57AM -0400, D Cleveland wrote:
> I am working on writing a file system for the linux 2.2.14-6.1.1 kernel.
> I have a few questions:
> 1) should the file system that works on 2.2.14-6.1.1 work on 2.4.X
> kernels?
with lots of idefs that can be done. Depending on the size of the
filesystem code and the number of internal abstraction layers it usually
doesn't make sense.
> 2) what is required to simply mount the file system? i have the module
> compiling and it is showing up in the /proc/filesystems, but when i try a
> mount (i just wanna mount it - babysteps) i get a seg fault. Then when i
> do a rmmod it says "Device or resource busy". I have what i think is a
> fully working read_super function but do more functions need to be
> implemented? (I am not attatching the source since its more then 10
> lines, if you want a copy to better help then ill gladly send it.)
if you use iget in your ->read_super you need ->read_inode as well.
Christoph
--
Of course it doesn't work. We've performed a software upgrade.
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/