uploaded what I have found
This commit is contained in:
BIN
images/cf8mbwin.dmg
Executable file
BIN
images/cf8mbwin.dmg
Executable file
Binary file not shown.
0
images/empty.dd
Executable file
0
images/empty.dd
Executable file
BIN
images/fat16.dd
Executable file
BIN
images/fat16.dd
Executable file
Binary file not shown.
65
images/generate_fat16_image
Executable file
65
images/generate_fat16_image
Executable file
@ -0,0 +1,65 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
fallocate -l 32M fat16.dd
|
||||
mkfs.vfat -F 16 -s 2 -n "IMG_4_A2" fat16.dd
|
||||
|
||||
mkdir fat16.loop
|
||||
mount -o loop fat16.dd fat16.loop
|
||||
|
||||
cd fat16.loop
|
||||
|
||||
echo "Short file name." > SFN.TXT
|
||||
echo "Short file name with a leading sigma." > X_SIGMA.TXT
|
||||
echo "Short file name that will be deleted soon." > DELSFN.TXT
|
||||
|
||||
echo "Long file name." > Long_file_name.txt
|
||||
echo "Long file name with spaces." > "LFN with spaces.txt"
|
||||
echo "Long file name that will be deleted soon." > Del_long_file_name.txt
|
||||
|
||||
dd if=/dev/urandom of=BIGFILE.BIN bs=1024 count=1024
|
||||
|
||||
mkdir SDN
|
||||
cd SDN
|
||||
|
||||
mkdir SSUBDN
|
||||
cd SSUBDN
|
||||
|
||||
echo "Another short file name." > SFN2.TXT
|
||||
|
||||
cd ../..
|
||||
|
||||
mkdir Long_directory_name
|
||||
cd Long_directory_name
|
||||
|
||||
mkdir Long_subdirectory_name
|
||||
cd Long_subdirectory_name
|
||||
|
||||
echo "Another long file name." > Long_file_name2.txt
|
||||
|
||||
cd ../..
|
||||
|
||||
mkdir BIGDIR
|
||||
cd BIGDIR
|
||||
|
||||
for id in {01..30} ; do
|
||||
echo "I am in the first cluster of the directory." > FILE${id}.TXT
|
||||
done
|
||||
echo "I am in the second cluster of the directory." > FILE31.TXT
|
||||
|
||||
cd ..
|
||||
|
||||
rm DELSFN.TXT
|
||||
rm Del_long_file_name.txt
|
||||
|
||||
cd ..
|
||||
|
||||
umount fat16.loop
|
||||
rmdir fat16.loop
|
||||
|
||||
chmod 444 fat16.dd
|
||||
|
||||
echo
|
||||
echo "Do not forget to change the X in X_SIGMA.TXT to \x05 with a hex editor!"
|
||||
echo
|
||||
|
||||
exit 0
|
BIN
images/invalid.dd
Executable file
BIN
images/invalid.dd
Executable file
Binary file not shown.
Reference in New Issue
Block a user