in mount partition dialog remove mounted
remove in list partition the already mounted code exemple, not run, just idea in this code (?)
# Warn about formatting!
if [[ $FILESYSTEM != $_FSSkip ]]; then
DIALOG " $_FSTitle " --yesno "\n$_FSMount $FILESYSTEM\n\n! $_FSWarn1 $PARTITION $_FSWarn2 !\n\n" 0 0
if (( $? != 1 )); then
${FILESYSTEM} ${PARTITION} >/dev/null 2>$ERR
local errcode=$?
check_for_error "mount $PARTITION as $FILESYSTEM." $errcode
if (($errcode=0)); then
# mask partition already mounted, file filter for dialog select partition
echo "${FILESYSTEM}" >> /tmp/file_mask_partitions
fi
else
select_filesystem
fi
fi