The output shows you what commands are holding files open on that
partition.
Using the mkfs Command to Create a File System
You can create a file system for any supported file system type on a disk or partition that you
choose. You do so with the mkfs command. While this is most useful for creating file systems on
hard-disk partitions, you can create file systems on floppy disks or rewritable CDs as well.
Here is an example of using mkfs to create a file system on a floppy disk:
# mkfs -t ext3 /dev/fd0
mke2fs 1.39, (29-May-2008)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
184 inodes, 1440 blocks
72 blocks (5.00%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
184 inodes per group
Writing inode tables: done
Filesystem too small for a journal
Writing superblocks and filesystem accounting information:
done
The filesystem will be automatically checked every 32 mounts
or
180 days, whichever comes first. Use tune2fs -c or -i to override.
You can see the statistics that are output with the formatting done by the mkfs command. The
number of inodes and blocks created are output, as are the number of blocks per group and fragments
per group. You could now mount this file system (mount /mnt/floppy), change to it as
your current directory (cd /mnt/floppy), and create files on it as you please.
Pages:
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397