summaryrefslogtreecommitdiff
path: root/source3/client/umount.cifs.c
AgeCommit message (Collapse)AuthorFilesLines
2008-11-06mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount progJeff Layton1-19/+3
The util-linux-ng sources have a good, but rather complex scheme for locking the mtab before updating it. Mount helpers need to follow the same scheme. Advisory locking only works if everyone is using the same locking scheme. Copy the routines we need from util-linux-ng into a separate source file and then have mount.cifs and umount.cifs link in this object. The long term goal is to have these routines in a separate helper library (libmount). Mount helpers can then dynamically link in that lib. Until that happens, this should serve as a suitable stopgap solution. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2007-12-12Fix bug #4784. Patch from Steve Langasek <vorlon@debian.org>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4f503ea8912eb787209c8df364bfdb161dbb212c)
2007-11-16Fix for bug #4781: allow cleaning of /etc/mtab by canonicalizing mountpoint.Michael Adam1-0/+7
Canonicalize mountpoint by trimming trailing slashes before unmounting. This allows for correct cleanup of /etc/mtab after unmounting. Thanks to Steve Langasek <vorlon@debian.org>. Michael (This used to be commit 118fd6213d5f6419f654e9226a41d527c04346f7)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r20261: merge 20260 from samba_3_0_24Herb Lewis1-3/+3
clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
2007-10-10r14166: Fix const warning.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2ec461ae583b9a07da3ce5abd7f90ea18e1535ae)
2007-10-10r13714: Set MOUNT_CIFS_VENDOR_SUFFIX if _SAMBA_BUILD_ is set toLars Müller1-2/+11
"-"SAMBA_VERSION_OFFICIAL_STRING"-"SAMBA_VERSION_VENDOR_SUFFIX if SAMBA_VERSION_VENDOR_SUFFIX is set or "-"SAMBA_VERSION_OFFICIAL_STRING only if MOUNT_CIFS_VENDOR_SUFFIX is undefined. This results in: mount.cifs -V mount.cifs version: 1.10-3.1.2pre1-SVN-build-13706-foovendor or mount.cifs version: 1.10-3.1.2pre1-SVN-build-13706 Steve: If this is to long or you do not like it, we might add something lile -VV to report the added part. (This used to be commit 3c277c7a3cce14f185db7fede7c0c4ab77769670)
2007-10-10r13697: Remove unneeded header (header not present on all Linux either) for ↵Steve French1-1/+0
umount.cifs.c (This used to be commit d294b28f1c9ed931efe29ebce1c8847215fc03dc)
2007-10-10r7202: lock mtab when updating it during umount.cifs, also delete only one ↵Steve French1-17/+63
matching entry at a time (This used to be commit 200db0790a7380e9a68fde391fd09c82da51f52e)
2007-10-10r6514: Allow domain= to be specified in credentials file. Fix umount.cifs ↵Steve French1-2/+6
help, allow root to unmount someone else's mount (This used to be commit ed27740397817c1f1b14ba187139c877dbf22168)
2007-10-10r6482: Add support so umount.cifs can update mtabSteve French1-45/+80
(This used to be commit 66ec66ed1b9ac8ec2db12f3afecf4031a621eca6)
2007-10-10r6349: Update cifs umount utilitySteve French1-8/+22
(This used to be commit c3030229512455657d86f5e8f01ece03047b0abb)
2007-10-10r6262: Minor updates to cifs umount helperSteve French1-4/+11
(This used to be commit cd8b93edc6d488ab6f6652ef533ce13e885b265b)
2007-10-10r6255: Initial checkin of cifs umount utilitySteve French1-0/+266
(This used to be commit 8f7c36a6c442ce5030be546b761f807fd2fa8087)