[Oracleasm-commits] jlbec commits r288 - trunk/tools

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Mar 2 15:54:19 CST 2005


Author: jlbec
Date: 2005-03-02 15:54:17 -0600 (Wed, 02 Mar 2005)
New Revision: 288

Modified:
   trunk/tools/asmtool.c
Log:
o Allow non-partitions in a mark-only state

Modified: trunk/tools/asmtool.c
===================================================================
--- trunk/tools/asmtool.c	2005-03-02 21:53:42 UTC (rev 287)
+++ trunk/tools/asmtool.c	2005-03-02 21:54:17 UTC (rev 288)
@@ -951,7 +951,7 @@
     fd = rc;
 
     rc = -EINVAL;
-    if (!device_is_loopback(fd) && !device_is_partition(fd))
+    if (!device_is_loopback(fd) && !device_is_partition(fd) && attrs->mark)
     {
         fprintf(stderr, 
                 "asmtool: Device \"%s\" is not a partition\n",



More information about the Oracleasm-commits mailing list