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
--
Brent Frère
Private e-mail: Brent(a)BFrere.net
Postal address: 5, rue de Mamer
L-8280 Kehlen
Grand-Duchy of Luxembourg
European Union
Mobile: +352-021/29.05.98
Fax: +352-26.30.05.96
Home: +352-307.341
URL:
http://BFrere.net