| Mobile | RSS

virtual file system

Creating a Virtual File System

STEP 1 (Construct a 10MB file) $ dd if=/dev/zero of=/tmp/disk-image count=20480 By default dd uses block of 512 so the size will be 20480*512 STEP 2 (Make an ext2 or ext3 file system) — ext2 shown here. $ mke2fs -q or if you want ext3 $ mkfs -t ext3 -q /tmp/disk-image you can also use [...]

Related Posts Plugin for WordPress, Blogger...
[ More ] June 26th, 2011 | No Comments | Posted in OS Internals |