From: Daniel Phillips <phillips@bonn-fries.net>
To: Blesson Paul <blessonpaul@usa.net>, linux-kernel@vger.kernel.org
Subject: Re: How VFS interacts with a file driver
Date: Mon, 14 May 2001 15:55:18 +0200 [thread overview]
Message-ID: <01051415551805.02742@starship> (raw)
In-Reply-To: <20010514052904.22912.qmail@nwcst340.netaddress.usa.net>
In-Reply-To: <20010514052904.22912.qmail@nwcst340.netaddress.usa.net>
On Monday 14 May 2001 07:29, Blesson Paul wrote:
> Hi
> I am trying to implement a distributed file system.
> For that I write a file driver. I want to know the following things
>
> 1 . If I am writing a new file system, is it necessary to modify the
> existing structs including inode struct.
> 2 . If it is not needed, will a simple registration of the file
> system is needed to mount the file system
> More over I am new to this area. I am doing as my
> graduate project. I need someones help to crack the working of VFS
> Thanks in advance
1. In .config, change CONFIG_EXT2_FS to 'm'
2. change "ext2" to "newfs" at DECLARE_FSTYPE_DEV in super.c
3. make modules SUBDIRS=fs/ext2
4. insmod fs/ext2/ext2.o
Poof! New filesystem. (cat /proc/filesystems) Don't forget to change
ext2 in .config back to "y" before you build your next kernel. You'll
need to study the kernel *hard* before you can expect to have half a
chance of having your filesystem work properly. Go here:
http://lksr.org
and here:
http://kernelnewbies.org
--
Daniel
next prev parent reply other threads:[~2001-05-14 13:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-14 5:29 Blesson Paul
2001-05-14 13:55 ` Daniel Phillips [this message]
2001-05-14 20:12 ` Albert D. Cahalan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01051415551805.02742@starship \
--to=phillips@bonn-fries.net \
--cc=blessonpaul@usa.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®