Merge branch 'master' of ssh://gapil.gnulinux.it/srv/git/gapil
[gapil.git] / sources / mymount.c
index c4e31a6daa6cd73880ea7277e6d6d35c303bae27..d419026efab0f3adad2d2795d1725859f67b9e13 100644 (file)
@@ -20,7 +20,7 @@
  *
  * File mymount.c: An example for mount function
  *
- * Author: S. Piccardi Aug. 2011
+ * Author: S. Piccardi Jan. 2012
  *
  *****************************************************************************/
 #include <sys/types.h>   /* primitive system data types */
@@ -216,5 +216,8 @@ void usage(void) {
     printf("you always need to specify two argument, source and target,\n");
     printf("matching the system call ones, if one of them is not needed\n");
     printf("just pass an empty string\n");
+    printf("you also need to specify options and flag, give an empty \n");
+    printf("string for option if you don't want to set any, i.e. \n");
+    printf("   ./mymount -t ext4 -o "" -f remount,rdonly /dev/sdb1 /mnt");
     exit(1);
 }