On Wed, Jul 06, 2005 at 06:51:10PM +0530, hari krishnan wrote: > I am trying to understand the working of filesystem, for which i have > chosen ramfs filesystem. > But i am not able to format disk, in this case a ramdisk (ram0) . > i did :- > # mkfs -t ramfs /dev/ram0 > mkfs.ramfs: No such file or directory Ramfs is not a filesystem for use on a block device, it's a virtual filesystem that only lives in memory. It doesn't need any mkfs, you just mount it and it's ready for use: mount -t ramfs none /mnt . Ramfs allocates memory on the fly. A ramdisk is a block device that lives in memory which you can format with whatever filesystem you like. It has a fixed size independent on the amount of files you store on it. Erik -- Erik Mouw J.A.K.Mouw@xxxxxxxxxxxxxx mouw@xxxxxxxxxxxx
Attachment:
signature.asc
Description: Digital signature