summaryrefslogtreecommitdiffstats
path: root/virt-df
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2007-10-17 16:34:23 +0100
committerRichard W.M. Jones <rjones@redhat.com>2007-10-17 16:34:23 +0100
commit9bb5f67c0d8a6e8dad7de72e2488ee73c90f7d43 (patch)
tree6018351784418e4ae965f353c4e96719c4009a5e /virt-df
parent0e09861c06a0c274bcfdacceaee347f8aaa969cb (diff)
downloadvirt-top-9bb5f67c0d8a6e8dad7de72e2488ee73c90f7d43.tar.gz
virt-top-9bb5f67c0d8a6e8dad7de72e2488ee73c90f7d43.tar.xz
virt-top-9bb5f67c0d8a6e8dad7de72e2488ee73c90f7d43.zip
Added GNU GPL/LGPL copyright notices everywhere.
Fixed display of time which was accidentally broken in previous code move.
Diffstat (limited to 'virt-df')
-rw-r--r--virt-df/Makefile.in17
-rw-r--r--virt-df/virt_df.ml16
-rw-r--r--virt-df/virt_df_ext2.ml22
-rw-r--r--virt-df/virt_df_linux_swap.ml23
-rw-r--r--virt-df/virt_df_lvm2.ml23
-rw-r--r--virt-df/virt_df_main.ml16
6 files changed, 108 insertions, 9 deletions
diff --git a/virt-df/Makefile.in b/virt-df/Makefile.in
index 495befc..cc25c9c 100644
--- a/virt-df/Makefile.in
+++ b/virt-df/Makefile.in
@@ -1,3 +1,20 @@
+# virt-df
+# Copyright (C) 2007 Red Hat Inc., Richard W.M. Jones
+#
+# This program 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 2 of the License, or
+# (at your option) any later version.
+#
+# This program 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, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
PACKAGE := @PACKAGE_NAME@
VERSION := @PACKAGE_VERSION@
diff --git a/virt-df/virt_df.ml b/virt-df/virt_df.ml
index f583025..bbaaa7d 100644
--- a/virt-df/virt_df.ml
+++ b/virt-df/virt_df.ml
@@ -1,4 +1,20 @@
(* 'df' command for virtual domains.
+ (C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
+ http://libvirt.org/
+
+ This program 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 2 of the License, or
+ (at your option) any later version.
+
+ This program 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, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*)
open Printf
diff --git a/virt-df/virt_df_ext2.ml b/virt-df/virt_df_ext2.ml
index a4e6f86..d2b51f3 100644
--- a/virt-df/virt_df_ext2.ml
+++ b/virt-df/virt_df_ext2.ml
@@ -1,7 +1,23 @@
(* 'df' command for virtual domains.
- *
- * Support for EXT2/EXT3 filesystems.
- *)
+ (C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
+ http://libvirt.org/
+
+ This program 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 2 of the License, or
+ (at your option) any later version.
+
+ This program 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, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ Support for EXT2/EXT3 filesystems.
+*)
open Unix
open Printf
diff --git a/virt-df/virt_df_linux_swap.ml b/virt-df/virt_df_linux_swap.ml
index 7fbad7f..4638828 100644
--- a/virt-df/virt_df_linux_swap.ml
+++ b/virt-df/virt_df_linux_swap.ml
@@ -1,7 +1,24 @@
(* 'df' command for virtual domains.
- *
- * Support for Linux swap partitions.
- *)
+
+ (C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
+ http://libvirt.org/
+
+ This program 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 2 of the License, or
+ (at your option) any later version.
+
+ This program 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, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ Support for Linux swap partitions.
+*)
(* Int64 operators for convenience. *)
let (+^) = Int64.add
diff --git a/virt-df/virt_df_lvm2.ml b/virt-df/virt_df_lvm2.ml
index 5544681..8dc0c05 100644
--- a/virt-df/virt_df_lvm2.ml
+++ b/virt-df/virt_df_lvm2.ml
@@ -1,7 +1,24 @@
(* 'df' command for virtual domains.
- *
- * Support for LVM2 PVs.
- *)
+
+ (C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
+ http://libvirt.org/
+
+ This program 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 2 of the License, or
+ (at your option) any later version.
+
+ This program 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, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ Support for LVM2 PVs.
+*)
open Printf
diff --git a/virt-df/virt_df_main.ml b/virt-df/virt_df_main.ml
index 0cbc182..bc4096b 100644
--- a/virt-df/virt_df_main.ml
+++ b/virt-df/virt_df_main.ml
@@ -1,4 +1,20 @@
(* 'df' command for virtual domains.
+ (C) Copyright 2007 Richard W.M. Jones, Red Hat Inc.
+ http://libvirt.org/
+
+ This program 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 2 of the License, or
+ (at your option) any later version.
+
+ This program 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, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*)
let () = Virt_df.main ()