scripts_common.sh.patch

Emmanuel Mathot, 07/13/2012 02:04 PM

Download (1.25 KB)

View differences:

scripts_common.sh.patch 2012-07-13 16:02:06.873451134 +0200\
231 231
\
232 232
    # Specific options for different FS\
233 233
    case "$FSTYPE" in\
234
        "ext2"|"ext3"|"ext4"|"ntfs")\
234
        ext2|ext3|ext4|ntfs)\
235 235
            OPTS="-F"\
236 236
            ;;\
237 237
\
238
        "reiserfs")\
238
        reiserfs)\
239 239
            OPTS="-f -q"\
240 240
            ;;\
241 241
\
242
        "jfs")\
242
        jfs)\
243 243
            OPTS="-q"\
244 244
            ;;\
245
        "raw")\
245
        raw)\
246 246
            echo ""\
247 247
            return 0\
248 248
            ;;\
249
        "swap")\
249
        swap)\
250 250
            echo "$MKSWAP $DST"\
251 251
            return 0\
252 252
            ;;\
253
        "vmdk_*")\
253
        vmdk_*)\
254 254
            VMWARE_DISK_TYPE=`echo $FSTYPE|cut -d'_' -f 1`\
255 255
            echo "WHICH_SUDO=\\$(which sudo) ; \\\
256 256
                  [ ! -z \\"\\$WHICH_SUDO\\" -a -f \\"\\$WHICH_SUDO\\" ] && SUDO=\\"sudo\\" ; \\}