Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd /home
- touch dysk.img
- dd if=/dev/zero of=/home/dysk.img bs=1M count=1
- losetup /dev/loop5 /home/dysk.img
- mkfs -t ext2 /dev/loop5
- cd /mnt
- mkdir partycja
- mount -t ext2 /dev/loop5 /mnt/partycja
- cd /mnt/partycja
- echo "testowe dane" > test.txt
- cd ..
- umount /mnt/partycja
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement