--- client.orig/mount.cifs.c 2009-02-02 06:59:20.000000000 -0600 +++ client/mount.cifs.c 2009-02-02 07:06:51.000000000 -0600 @@ -85,6 +85,7 @@ const char *thisprogram; int verboseflag = 0; +int fakemntflag = 0; static int got_password = 0; static int got_user = 0; static int got_domain = 0; @@ -1210,6 +1211,7 @@ int main(int argc, char ** argv) case 't': break; case 'f': + ++fakemntflag; break; default: printf("unknown mount option %c\n",c); @@ -1262,6 +1264,11 @@ int main(int argc, char ** argv) goto mount_exit; } + if (fakemntflag) { + rc = 0; + goto mount_exit; + } + if(stat (".", &statbuf)) { printf("mount error: mount point %s does not exist\n",mountpoint); rc = EX_USAGE;