gprobe now probes new distro's eg: mandriva,gentoo,fedora new style of distro is found OpenSuSE_style. added. Regards Harshavardhana
? gprobe.diff Index: gprobe =================================================================== RCS file: /sources/gluster/gluster-alpha1/extensions/gpartdump/gprobe,v retrieving revision 1.3 diff -p -u -r1.3 gprobe --- gprobe 23 Mar 2006 07:14:16 -0000 1.3 +++ gprobe 24 Mar 2006 09:58:52 -0000 @@ -14,6 +14,18 @@ distro_db = { 'redhat' : ['/etc/redhat-release', 'redhat_style', 'cat etc/redhat-release'], + 'fedora' : ['/etc/fedora-release', + 'redhat_style', + 'cat etc/fedora-release'], + 'mandriva' : ['/etc/mandriva-release', + 'redhat_style', + 'cat etc/mandirva-release'], + 'gentoo' : ['/etc/gentoo-release', + 'debian_style', + 'cat etc/gentoo-release'], + 'OpenSuSE' : [ '/etc/SuSE-version', + 'OpenSuSE_style', + 'cat etc/SuSE-version'], 'unknown_slack' : [ '/etc/rc.d/rc.inet1', 'slack_style', @@ -23,7 +35,10 @@ distro_db = { 'echo unknown Debian style distribution'], 'unknown_redhat' : [ '/etc/sysconfig/network-scripts', 'redhat_style', - 'echo unknown Redhat style distribution'] + 'echo unknown Redhat style distribution'], + 'unkown_OpenSuSE' : [ '/etc/sysconfig/network', + 'OpenSuSE_style', + 'echo unkown OpenSuSE style distribution'] } def get_bootloader (part, _fstab):