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:
9860b84
)
Make the "/sbin/mount.lustre: No such device" error message less cryptic.
author
adilger
<adilger>
Thu, 29 Apr 2004 23:10:43 +0000
(23:10 +0000)
committer
adilger
<adilger>
Thu, 29 Apr 2004 23:10:43 +0000
(23:10 +0000)
lustre/utils/llmount.c
patch
|
blob
|
history
diff --git
a/lustre/utils/llmount.c
b/lustre/utils/llmount.c
index
3ac52de
..
980f9fe
100644
(file)
--- a/
lustre/utils/llmount.c
+++ b/
lustre/utils/llmount.c
@@
-387,7
+387,11
@@
main(int argc, char * const argv[])
rc = mount(source, target, "lustre", 0, (void *)&lmd);
if (rc) {
+ rc = errno;
perror(argv[0]);
+ if (rc == ENODEV)
+ fprintf(stderr, "Are the lustre modules loaded?\n"
+ "Check /etc/modules.conf and /proc/filesystems\n");
} else {
update_mtab_entry(source, target, "lustre", options, 0, 0, 0);
}