summaryrefslogtreecommitdiffabout
path: root/etc/create-volume.fln
authorSergey Poznyakoff <gray@gnu.org.ua>2012-12-06 15:39:41 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2012-12-06 15:44:24 (GMT)
commit3d7d32d46a9b663bbbb13e79105edde8b86ecb12 (patch) (side-by-side diff)
tree70cbe5f7b1e3ffef787b6b927e75d550e1e34f6d /etc/create-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/create-volume.fln') (more/less context) (ignore whitespace changes)
-rw-r--r--etc/create-volume.fln20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/create-volume.fln b/etc/create-volume.fln
new file mode 100644
index 0000000..d8c9da1
--- a/dev/null
+++ b/etc/create-volume.fln
@@ -0,0 +1,20 @@
+/* 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 (.CreateVolumeResponse) {
+ print(.CreateVolumeResponse.volumeId,"\t",
+ .CreateVolumeResponse.status,"\n");
+}

Return to:

Send suggestions and report system problems to the System administrator.