[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-extras-commits
Subject:    rpms/zfs-fuse/F-12 zfs-fuse.scrub,NONE,1.1
From:       Uwe Kubosch <donv () fedoraproject ! org>
Date:       2009-12-31 16:46:22
Message-ID: 20091231164622.EC11611C018B () cvs1 ! fedora ! phx ! redhat ! com
[Download RAW message or body]

Author: donv

Update of /cvs/pkgs/rpms/zfs-fuse/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31633/F-12

Added Files:
	zfs-fuse.scrub 
Log Message:
* - Relaxed dependency on fuse from 2.8.0 to 2.7.4 to allow installation on RHEL/Centos 5


--- NEW FILE zfs-fuse.scrub ---
#!/bin/bash
#
# This script reads it's configuration from /etc/sysconfig/zfs-fuse
# Please use that file to enable/disable this script or to set the
# type of check you wish performed.

[ -f /etc/sysconfig/zfs-fuse ] || exit 0
. /etc/sysconfig/zfs-fuse

[ "$ZFS_WEEKLY_SCRUB" != "yes" ] && exit 0

zpool=/usr/bin/zpool

pools=$zpool list -H | cut -f1

echo Found these pools: $pools

for pool in $pools; do
  echo "Starting scrub of pool $pool"
  $zpool scrub $pool
done

echo "ZFS Fuse automatic scrub start done.  Use '$zpool status' to see progress.

-- 
fedora-extras-commits mailing list
fedora-extras-commits@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic