X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2Fmymount.c;h=d419026efab0f3adad2d2795d1725859f67b9e13;hp=c4e31a6daa6cd73880ea7277e6d6d35c303bae27;hb=26f7a8bb19c6cb198c213757a97b6ac79e40db4b;hpb=fa3fe7a3e497e92dc2c9fc28098e1307639304df diff --git a/sources/mymount.c b/sources/mymount.c index c4e31a6..d419026 100644 --- a/sources/mymount.c +++ b/sources/mymount.c @@ -20,7 +20,7 @@ * * File mymount.c: An example for mount function * - * Author: S. Piccardi Aug. 2011 + * Author: S. Piccardi Jan. 2012 * *****************************************************************************/ #include /* 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); }