diskman.sh: typoes
This commit is contained in:
@@ -65,7 +65,7 @@ mkparts()
|
|||||||
local tmpfile=$(mktemp sfd.XXXX)
|
local tmpfile=$(mktemp sfd.XXXX)
|
||||||
if [[ -n $1 ]]; then
|
if [[ -n $1 ]]; then
|
||||||
# For each given size we make a partition
|
# For each given size we make a partition
|
||||||
for $part in $@; then
|
for $part in $@; do
|
||||||
if [[ $part == 0 ]]; then
|
if [[ $part == 0 ]]; then
|
||||||
echo ",,L" >> $tmpfile
|
echo ",,L" >> $tmpfile
|
||||||
else
|
else
|
||||||
@@ -74,7 +74,7 @@ mkparts()
|
|||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo ",,L" >> $tmpfile
|
echo ",,L" >> $tmpfile
|
||||||
done
|
fi
|
||||||
echo "write" >> $tmpfile
|
echo "write" >> $tmpfile
|
||||||
sfdisk "/dev/$device" < $tmpfile
|
sfdisk "/dev/$device" < $tmpfile
|
||||||
rm $tmpfile
|
rm $tmpfile
|
||||||
@@ -89,13 +89,13 @@ mkparts()
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
conf_ext4()
|
conf_ext4()
|
||||||
{
|
{
|
||||||
# Todo
|
: # Todo
|
||||||
}
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
conf_xfs()
|
conf_xfs()
|
||||||
{
|
{
|
||||||
# todo
|
: # todo
|
||||||
}
|
}
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user