Re: Sample File System

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Aug 20, 2007 at 07:54:41PM +0530, Abhijit Pawar wrote:
> Just to see the different aspect of the filesystem and its working, I am
> planning to write a simple filesystem of my own.
> This will be:
> 1. A Filter layer around ext2fs
> 2. Will implement File Create, Read, Write, Delete, Link, Symlink
> 3. Will log the messages for any of the operations on this filesystem

Interesting things will happen when that logfile lives on the very
filesystem it logs about.

> 4. Inform Administrator if the file is deleted.

No need for any kernel support, once you've created a log facility
support for this comes for free (the joys of userspace).

> I was wondering if this would be a good excersise to check the details of
> the filesystem.
> Any pointers on this is really appreciated.

All you want can be done in userland, check out FUSE and Jeff Garzik's
fuse-ext2 code at
http://www.kernel.org/pub/linux/kernel/people/jgarzik/fs/ . Git
repository is at 
http://git.kernel.org/?p=fs/fuse/fuse-ext2.git;a=summary  .


Erik

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGybBP/PlVHJtIto0RAnNfAJ4qV9H9LaeRHVCSgBPcl6/AOjmfjwCggZoB
2qf9X6xC7qfBEP+iHQQcYU8=
=G88Q
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux