Re: Reg ramfs mkfs

From: Erik Mouw (J.A.K.Mouw@ITS.TUDelft.NL)
Date: Fri May 25 2001 - 06:20:50 EST


On Fri, May 25, 2001 at 12:44:30PM +0530, SATHISH.J wrote:
> I compiled the ramfilesystem under fs/ramfs and got the object file
> inode.o.
>
> 1.Should I do insmod to insert this module.

No, you should insmod ramfs.o.

> 2.After inserting this module how can I use "mkfs" to make this file
> system befor mounting it.

Ramfs is a virtual filesystem, it doesn't use a block device, it lives
in the page cache. Just mount it to use it:

  mount -t ramfs none /mnt

Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:23 EST