Mailinglist Archive: opensuse-factory (241 mails)
| < Previous | Next > |
[opensuse-factory] a bug of makeSUSEdvd 0.35-1
- From: "James Li" <jamesl@xxxxxxxxxxxxxxx>
- Date: Sat, 10 Feb 2007 12:28:27 +0800
- Message-id: <003301c74ccb$ea931bd0$bd01a8c0@james>
line 432
TESTCD=$(echo ${CD_LINE}|awk '{print $6}') # the mount point where the $CD_DIR will reside
FREE_CD=$(echo ${CD_LINE}|awk '{print $4}') # the free space on the mount point for $CD_DIR
TESTDVD=$(echo ${DVD_LINE}|awk '{print $6}') # the mount point where the $DVD_DIR will reside
FREE_DVD=$(echo ${DVD_LINE}|awk '{print $4}') # the free space on the mount point for $DVD_DIR
should be:
FREE_CD=$(echo ${CD_LINE}|awk '{print $(NF-2)}')
otherwise it will not be error when "df" show the following result:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/system-suse10
15728156 13381848 2346308 86% /
N�Р骒r��y���Z)z{.辩�r�+穗Р骒r��z�^�爽z����u丨�����&�┹遍��Z)z{.辩�r�+髓^��)z{.标+
TESTCD=$(echo ${CD_LINE}|awk '{print $6}') # the mount point where the $CD_DIR will reside
FREE_CD=$(echo ${CD_LINE}|awk '{print $4}') # the free space on the mount point for $CD_DIR
TESTDVD=$(echo ${DVD_LINE}|awk '{print $6}') # the mount point where the $DVD_DIR will reside
FREE_DVD=$(echo ${DVD_LINE}|awk '{print $4}') # the free space on the mount point for $DVD_DIR
should be:
FREE_CD=$(echo ${CD_LINE}|awk '{print $(NF-2)}')
otherwise it will not be error when "df" show the following result:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/system-suse10
15728156 13381848 2346308 86% /
N�Р骒r��y���Z)z{.辩�r�+穗Р骒r��z�^�爽z����u丨�����&�┹遍��Z)z{.辩�r�+髓^��)z{.标+
| < Previous | Next > |