1 Index: shfs-0.35/shfsmount/shfsmount.c
2 ===================================================================
3 --- shfs-0.35.orig/shfsmount/shfsmount.c 2007-06-04 13:22:57.883055720 +0200
4 +++ shfs-0.35/shfsmount/shfsmount.c 2007-06-04 13:22:59.838758408 +0200
6 static int have_uid = 0;
8 /* do not update /etc/mtab */
9 -static int nomtab = 0;
10 +static int nomtab = 1;
12 /* preserve owner of files */
13 static int preserve = 0;
14 Index: shfs-0.35/shfsmount/shfsumount.c
15 ===================================================================
16 --- shfs-0.35.orig/shfsmount/shfsumount.c 2007-06-04 13:22:57.890054656 +0200
17 +++ shfs-0.35/shfsmount/shfsumount.c 2007-06-04 13:22:59.838758408 +0200
22 - if ((fd = open(MOUNTED"~", O_RDWR|O_CREAT|O_EXCL, 0600)) == -1) {
23 - fprintf(stderr, "Can't get "MOUNTED"~ lock file");
27 if ((mtab = setmntent(MOUNTED, "r")) == NULL) {
28 fprintf(stderr, "Can't open " MOUNTED ": %s\n", strerror(errno));