开发者

mkfs for a new file system

Hi I开发者_高级运维 have created a new file system say with name"ntr". After initializing the module (insmod) filesystem name is getting displayed in /proc/filesystems. Now I want this file system to be mounted on my pendrive. I tried mkfs, but as mkfs.ntr doesnot exist, I was unsuccessful. Can someone please tell me how to create mkfs.ntr?


If you wrote a filesystem driver, only you know how to initialize its metadata. You should probably first start with making a standalone program that operates on a block device, and once that works, integrate it with the mkfs tool.


well these are two separated things. mkfs.ext4 for example is a link to mke2fs in /sbin folder. and mke2fs is a tool for creating filesystems. it comes with e2fsprogs package. if you want to have a tool to create your filesystem, well... you can make it and/or add the structure of your filesystem to e2fsprogs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜