summaryrefslogtreecommitdiffstats
path: root/extras/volgen
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2010-03-23 17:02:29 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-03-24 01:15:45 -0700
commit1e55e8f29b4cebb3398a46e36b8791980bb1db6d (patch)
tree181a3b029efd7f095f6186f048ef576ea4aead26 /extras/volgen
parentfaad9087d032044765636e1cb55a6fb3659e374f (diff)
extras/volgen: Add copyright headers.
Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 751 (Copyright headers missing) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=751
Diffstat (limited to 'extras/volgen')
-rw-r--r--extras/volgen/CreateBooster.py17
-rw-r--r--extras/volgen/CreateVolfile.py17
-rwxr-xr-xextras/volgen/glusterfs-volgen.in18
3 files changed, 52 insertions, 0 deletions
diff --git a/extras/volgen/CreateBooster.py b/extras/volgen/CreateBooster.py
index 488426436..13a72f03b 100644
--- a/extras/volgen/CreateBooster.py
+++ b/extras/volgen/CreateBooster.py
@@ -1,3 +1,20 @@
+# Copyright (c) 2009-2010 Gluster, Inc. <http://www.gluster.com>
+# This file is part of GlusterFS.
+
+# GlusterFS is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published
+# by the Free Software Foundation; either version 3 of the License,
+# or (at your option) any later version.
+
+# GlusterFS is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
+
GLUSTERFS_BOOSTER_FSTAB = "booster.fstab"
GLUSTERFS_UNFS3_EXPORTS = "boosterexports"
GLUSTERFS_CIFS_CONFIG = "boostersmb.conf"
diff --git a/extras/volgen/CreateVolfile.py b/extras/volgen/CreateVolfile.py
index 208b7f72b..8eb4be8f8 100644
--- a/extras/volgen/CreateVolfile.py
+++ b/extras/volgen/CreateVolfile.py
@@ -1,3 +1,20 @@
+# Copyright (c) 2009-2010 Gluster, Inc. <http://www.gluster.com>
+# This file is part of GlusterFS.
+
+# GlusterFS is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published
+# by the Free Software Foundation; either version 3 of the License,
+# or (at your option) any later version.
+
+# GlusterFS is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
+
import os, sys, string
import subprocess
diff --git a/extras/volgen/glusterfs-volgen.in b/extras/volgen/glusterfs-volgen.in
index 7ba071824..4fc28f6af 100755
--- a/extras/volgen/glusterfs-volgen.in
+++ b/extras/volgen/glusterfs-volgen.in
@@ -1,5 +1,23 @@
#!/usr/bin/python
+# Copyright (c) 2009-2010 Gluster, Inc. <http://www.gluster.com>
+# This file is part of GlusterFS.
+
+# GlusterFS is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published
+# by the Free Software Foundation; either version 3 of the License,
+# or (at your option) any later version.
+
+# GlusterFS is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
+
+
import getopt, sys, os, string
from optparse import OptionParser,OptionGroup,make_option