2007-11-02 15:42:20

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 2/6] UML - Document new ubd flag

The ubd help message didn't document the 'c' flag.

Signed-off-by: Jeff Dike <[email protected]>
---
arch/um/drivers/ubd_kern.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Index: linux-2.6/arch/um/drivers/ubd_kern.c
===================================================================
--- linux-2.6.orig/arch/um/drivers/ubd_kern.c 2007-11-02 10:59:18.000000000 -0400
+++ linux-2.6/arch/um/drivers/ubd_kern.c 2007-11-02 10:59:59.000000000 -0400
@@ -437,7 +437,10 @@ __uml_help(ubd_setup,
" machine by running 'dd' on the device. <n> must be in the range\n"
" 0 to 7. Appending an 'r' to the number will cause that device\n"
" to be mounted read-only. For example ubd1r=./ext_fs. Appending\n"
-" an 's' will cause data to be written to disk on the host immediately.\n\n"
+" an 's' will cause data to be written to disk on the host immediately.\n"
+" 'c' will cause the device to be treated as being shared between multiple\n"
+" UMLs and file locking will be turned off - this is appropriate for a\n"
+" cluster filesystem and inappropriate at almost all other times.\n\n"
);

static int udb_setup(char *str)