intro
mkbootdisk
mkdosfs
mkdosfs
landfall
syslinux
busybox
tldp
top
badblocks
mke2fs
loop
mkdir
dev
fstab
group
inittab
passwd
busybox
synaptic
lib
pam
misc
gzip
mount
kernel
links
syslinux
ScriptRun
konq
boot
links

# Do a low-level disk check.
badblocks -n -s /dev/fd0
if
[ $? != 0 ]; then
echo "Your floppy is bad!"
exit
fi

echo "Formatting floppy..."
mformat a:

# Delete old loopback file system if it exists
if [ -e fs ]; then
echo "Deleting old loopback file system"
rm -rf fs
fi
if
[ -e filesys ]; then
echo "Deleting old compressed file system"
rm -f filesys
fi

# Create mount point
echo "Creating 'tempfs' temporary mount point folder"
rm -r tempfs 2> /dev/null
mkdir tempfs