Esempio didattico sul file system ext2

From Sistemi Operativi
Jump to navigation Jump to search
truncate -s 128K disk
/sbin/mkfs.ext2 disk
hexdump -C disk

https://dondi.lmu.build/share/os/ext2-walkthrough.pdf

mount /tmp/disk /mnt
ls /mnt
mkdir /mnt/dir
echo ciao mare > /mnt/ciao
ln /mnt/ciao /mnt/dir/ciao2
echo addio > /mnt/dir/bye
ln -s /mnt/dir/bye /mnt/symlink
umount /mnt

bvi
:set cm=32