aboutsummaryrefslogtreecommitdiff
path: root/etc/delete-volume.fln
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-12-06 17:39:41 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2012-12-06 17:44:24 +0200
commit3d7d32d46a9b663bbbb13e79105edde8b86ecb12 (patch)
tree70cbe5f7b1e3ffef787b6b927e75d550e1e34f6d /etc/delete-volume.fln
parentf60e86f34565f203a778be82e2ed34bba4a10776 (diff)
downloadeclat-3d7d32d46a9b663bbbb13e79105edde8b86ecb12.tar.gz
eclat-3d7d32d46a9b663bbbb13e79105edde8b86ecb12.tar.bz2
Implement create-volume and delete-volume commands.
* doc/eclat-create-volume.1: New file. * doc/eclat-delete-volume.1: New file. * doc/Makefile.am: Add new files. * doc/eclat.1: Mention new commands. * etc/create-volume.fln: New file. * etc/delete-volume.fln: New file. * etc/Makefile.am: Add new files. * src/crevol-cl.opt: New file. * src/crevol.c: New file. * src/delvol.c: New file. * src/Makefile.am: Add new files. * src/eclat.c: Register new commands. * src/eclat.h (eclat_create_volume) (eclat_delete_volume): New protos. * TODO: Update.
Diffstat (limited to 'etc/delete-volume.fln')
-rw-r--r--etc/delete-volume.fln22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/delete-volume.fln b/etc/delete-volume.fln
new file mode 100644
index 0000000..18e9870
--- /dev/null
+++ b/etc/delete-volume.fln
@@ -0,0 +1,22 @@
+/* This file is part of Eclat.
+ Copyright (C) 2012 Sergey Poznyakoff.
+
+ Eclat 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, or (at your option)
+ any later version.
+
+ Eclat 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 Eclat. If not, see <http://www.gnu.org/licenses/>. */
+
+if (.DeleteVolumeResponse.return) {
+ if (!.DeleteVolumeResponse.return[true]) {
+ error("Return: ",.DeleteVolumeResponse.return,"\n");
+ exit(1);
+ }
+}

Return to:

Send suggestions and report system problems to the System administrator.