The Samba-Bugzilla – Attachment 3907 Details for
Bug 5996
mount.cifs should support -f
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add -f (fake mount option) to mount.cifs utility
fakemount.1.patch (text/plain), 733 bytes, created by
shirishpargaonkar@gmail.com
on 2009-02-02 12:26:49 UTC
(
hide
)
Description:
add -f (fake mount option) to mount.cifs utility
Filename:
MIME Type:
Creator:
shirishpargaonkar@gmail.com
Created:
2009-02-02 12:26:49 UTC
Size:
733 bytes
patch
obsolete
>--- 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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5996
: 3907 |
3927