mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Anton Altaparmakov <aia21@cam.ac.uk>
To: Blesson Paul <blessonpaul@usa.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [Re: How to add NTFS support]
Date: Fri, 25 May 2001 09:47:24 +0100	[thread overview]
Message-ID: <5.1.0.14.2.20010525093809.048337e0@pop.cus.cam.ac.uk> (raw)
In-Reply-To: <20010525044008.14212.qmail@nwcst284.netaddress.usa.net>

Hi,

At 05:40 25/05/2001, Blesson Paul wrote:
>So you are constructing a improved NTFS file driver. So when you have to 
>check your written codes of file driver, will u recompile the whole kernel 
>? . That is what I am asking. I am in a way to build a new file system.
>I took NTFS as a sample one. I thought , I will first try to compile and make
>it run.

NTFS is not a good example for a 2.4.x file system at the moment IMHO. It 
doesn't even use the page cache at all...

But anyway, I recompile the whole kernel the first time round, i.e. say I 
install the latest kernel, apply my latest NTFS patch, copy my old .config 
to linux/.config, make oldconfig. Then I set off: make dep && make bzImage 
&& make modules && sudo make modules_install [switch to different VT and do 
other stuff, go out, have dinner, whatever...], then install kernel, lilo, 
reboot.

Once I am running the new kernel, it becomes much easier: modify some code 
in linux/fs/ntfs, then from linux/ I just do: make modules && make 
modules_install && rmmod ntfs && modprobe ntfs and the new driver is loaded...

If I change any code outside of fs/ntfs then a new make bzImage, etc is 
required, as I build everything static (only ntfs as a module).

If I install a new kernel as I do quite frequently to keep up on what's 
going on, a new kernel compile is required from scratch...

Hope this helps.

Anton


-- 
   "Nothing succeeds like success." - Alexandre Dumas
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://sf.net/projects/linux-ntfs/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/


  reply	other threads:[~2001-05-25  8:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-25  4:40 [Re: How to add ntfs support] Blesson Paul
2001-05-25  8:47 ` Anton Altaparmakov [this message]
2001-05-26  9:25 ` David Woodhouse

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=5.1.0.14.2.20010525093809.048337e0@pop.cus.cam.ac.uk \
    --to=aia21@cam.ac.uk \
    --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®