Mailinglist Archive: opensuse-bugs (8107 mails)

< Previous Next >
[Bug 230694] umount.cifs and /etc/mtab
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 8 Feb 2007 10:43:41 -0700 (MST)
  • Message-id: <20070208174341.66E96D9C@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=230694





------- Comment #8 from shirishp@xxxxxxxxxx 2007-02-08 10:43 MST -------

Tried the test with

/usr/src/samba-3.0.23d/source/bin/umount.cifs -V
umount.cifs version: 0.5-3.0.23d

/usr/src/samba-3.0.23d/source/bin/mount.cifs -V
mount.cifs version: 1.10-3.0.23d

linux-1t9o:/usr/src/samba-3.0.23d/source # uname -r
2.6.16.21-0.8-default

cifs version 1.45

could not recreate the problem.

What does remove_from_mtab call in umount.cifs.c return in your case?
Had to modify that file little bit as below. I get return code of 0,
as it should I think.


linux-1t9o:/usr/src/samba-3.0.23d/source/client # diff -u umount.cifs.c
/tmp/umount.cifs.c
--- umount.cifs.c 2007-02-08 11:14:56.000000000 -0600
+++ /tmp/umount.cifs.c 2007-02-08 11:13:58.000000000 -0600
@@ -372,8 +372,7 @@
if(verboseflg)
printf("umount2 succeeded\n");
if(nomtab == 0)
- rc = remove_from_mtab(mountpoint);
- printf("remove_from_mtab rc: 0x%x\n", rc);
+ remove_from_mtab(mountpoint);
}

return 0;


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >