Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
313e847
)
- allow the --ost command to have no arguments when used for obdecho
author
rread
<rread>
Wed, 28 Aug 2002 00:39:24 +0000
(
00:39
+0000)
committer
rread
<rread>
Wed, 28 Aug 2002 00:39:24 +0000
(
00:39
+0000)
lustre/utils/lmc
patch
|
blob
|
history
diff --git
a/lustre/utils/lmc
b/lustre/utils/lmc
index
0f16445
..
ac53913
100755
(executable)
--- a/
lustre/utils/lmc
+++ b/
lustre/utils/lmc
@@
-342,9
+342,6
@@
def add_ost(gen, lustre, options, args):
size = 0
fstype = 'extN'
- if len(args) < 1:
- usage()
-
if options.has_key('node'):
node_name = options['node']
else:
@@
-359,6
+356,8
@@
def add_ost(gen, lustre, options, args):
if obdtype == 'obdecho':
fstype = ''
else:
+ if len(args) < 1:
+ usage()
devname = args[0]
if len(args) > 1:
size = args[1]