[Lilux-help] directory entries - how to get a close look
Eric Dondelinger
aim at vis.ethz.ch
Wed Apr 28 10:30:05 CEST 2004
Hi Brent,
> Create a small partition in a file:
> # dd if=/dev/zero of=partition bs=1024 count=1024
> Create a file system on it:
> # mkfs.ext3 partition
> Mount it:
> # mkdir mp
> # mount -o loop partition mp
> Create some files and directories on it
> # mkdir mp/test
> # touch mp/file1
> # touch mp/file2
> # touch mp/test/file3
> Umount it:
> # umount partition
> Analyse the result:
> od -h partition | less
Looks great - I got a similar input from one office colleague,
works like a charm! If only I had the time to refine this for
the course... won't be for today I guess, but I can sure make
use of it later on. I'll have to determine where the limits
are of bootblock, superblock, inode list, data blocks etc.,
guess I'll have to read up details on ext3 (or whatever
filesystem I choose to try this on).
Thanks, Eric
More information about the Lilux-help
mailing list