/[smeserver]/rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-workstation-backup-df.patch
ViewVC logotype

Annotation of /rpms/e-smith-backup/sme8/e-smith-backup-2.2.0-workstation-backup-df.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Jul 14 03:12:03 2013 UTC (11 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-backup-2_2_0-77_el5_sme, e-smith-backup-2_2_0-78_el5_sme, e-smith-backup-2_2_0-73_el5_sme, e-smith-backup-2_2_0-79_el5_sme, e-smith-backup-2_2_0-85_el5_sme, e-smith-backup-2_2_0-75_el5_sme, e-smith-backup-2_2_0-81_el5_sme, e-smith-backup-2_2_0-76_el5_sme, e-smith-backup-2_2_0-80_el5_sme, e-smith-backup-2_2_0-86_el5_sme, e-smith-backup-2_2_0-83_el5_sme, e-smith-backup-2_2_0-82_el5_sme, e-smith-backup-2_2_0-88_el5_sme, e-smith-backup-2_2_0-74_el5_sme, e-smith-backup-2_2_0-84_el5_sme, e-smith-backup-2_2_0-87_el5_sme, HEAD
* Sat Jul 13 2013 Ian Wells <esmith@wellsi.com> 2.2.0-73.sme
- Workstation Backup, disk usgae now works for destinations with spaces [SME: 7782]

1 wellsi 1.1 diff -up e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.workstation-backup-df e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar
2     --- e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.workstation-backup-df 2013-07-13 20:03:04.000000000 -0700
3     +++ e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar 2013-07-13 20:04:23.000000000 -0700
4     @@ -440,7 +440,7 @@ foreach $key (sort keys %backupfiles)
5    
6     # Check free disk space
7     my $df = qx(/bin/df -Ph \"$mntdir\");
8     -if ($df =~ /^\S+\s+(\S+)\s+(\S+)\s+(\S+)\s+(\d*%)/mi)
9     +if ($df =~ /(\S+)\s+(\S+)\s+(\S+)\s+(\d*%)/)
10     {
11     $report .= "Disk usage $2, $4 full, $3 available\n";
12     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed