Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 117196 Details for
Bug 126994
media-video/any2dvd (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes free disk space calculation by making df display 6 columns
any2dvd-0.34-df-6column.patch (text/plain), 1.74 KB, created by
Christopher Byrne
on 2007-04-24 23:01:50 UTC
(
hide
)
Description:
Fixes free disk space calculation by making df display 6 columns
Filename:
MIME Type:
Creator:
Christopher Byrne
Created:
2007-04-24 23:01:50 UTC
Size:
1.74 KB
patch
obsolete
>--- any2dvd-0.34/any2vob.orig 2007-04-24 17:10:13.000000000 -0500 >+++ any2dvd-0.34/any2vob 2007-04-24 17:11:03.000000000 -0500 >@@ -291,7 +291,7 @@ > --preformat=yes) PREFORMAT_FRC="yes"; shift ;; > --calc) shift; CALC="yes" ;; > --workdir=*) WORKDIR=`echo "$1" | sed 's/--workdir=/ /' | sed 's/^[ \t]*//'` >- FILESYS=`df -Th "$WORKDIR" | tail -n1 | awk '{print $2}'` >+ FILESYS=`df -TPh "$WORKDIR" | tail -n1 | awk '{print $2}'` > if [ "$FILESYS" = "vfat" ]; then > warn WARNING: Your workdir \'"$WORKDIR"\' resides on a FAT Windows partition > echo -e "\e[33;01m Be aware that this may well cause problems as there is a 2GB filesize limit\e[m" >@@ -984,13 +984,13 @@ > echo > fi > fi >- DISKSPACE_AVAIL_MB=`df -Tm "$WORKDIR" | tail -n1 | awk '{print $5}'` >+ DISKSPACE_AVAIL_MB=`df -TPm "$WORKDIR" | tail -n1 | awk '{print $5}'` > DISKSPACE_AVAIL_GB=`perl -le "printf ('%.2f', $DISKSPACE_AVAIL_MB / 1024)"` > DISKSPACE_NEEDED_MB=`perl -le "print int($TOTAL_SIZEMB * 2)"` > DISKSPACE_NEEDED_GB=`perl -le "printf ('%.2f', $DISKSPACE_NEEDED_MB / 1024)"` > [ "$ISO" != "no" ] && [ "$ANY2DVD" = "yes" ] && DISKSPACE_NEEDED_MB=`perl -le "print int($TOTAL_SIZEMB * 3)"` > if [ "$DISKSPACE_NEEDED_MB" -ge "$DISKSPACE_AVAIL_MB" ]; then >- errmsg WARNING: "Not enough diskspace available, $DISKSPACE_NEEDED_GB GB needed, but only $DISKSPACE_AVAIL_GB GB available on `df -T "$WORKDIR" | tail -n1 | awk '{print $1}'`" >+ errmsg WARNING: "Not enough diskspace available, $DISKSPACE_NEEDED_GB GB needed, but only $DISKSPACE_AVAIL_GB GB available on `df -TP "$WORKDIR" | tail -n1 | awk '{print $1}'`" > echo -en " Are you sure you want to continue ? \033[1m(yes/no)\e[m " > read continue > [ "$continue" != "yes" ] && echo -e "\nENCODING ERROR" >> $VAR_DATAFILE && exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 126994
:
82700
|
82701
|
86200
|
96952
|
98194
|
98898
|
98899
|
112896
|
117195
| 117196 |
117197
|
119059
|
119061
|
120356
|
120362
|
120364
|
130998
|
132266
|
132273
|
132275
|
133720
|
133778
|
133779
|
133780
|
133783
|
133784
|
133785
|
134614
|
135893
|
141926
|
145014
|
159819
|
159820
|
159822