Re: mdadm and --program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday October 3, derek@cynicism.com wrote:
> You could alternatively use:
> 
> # mdadm --follow --program='/bin/bash /etc/handle-mdadm-events' --delay=1 /dev/md0
> 

This would only work if '/bin/bash /etc/handle-mdadm-events' was a
program.
i.e. if 'handle-mdadm-events' were a file in the directory 'etc' in
the directory 'bash ' in the directory 'bin'.  Which is unlikely.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux