[patch][linux-cifs-client] clean-up entries in /etc/mtab after unmounting a cifs filesystem

Shirish Pargaonkar shirishpargaonkar at gmail.com
Wed Feb 4 18:22:40 GMT 2009


On Tue, Feb 3, 2009 at 8:44 AM, Shirish Pargaonkar
<shirishpargaonkar at gmail.com> wrote:
> On Mon, Feb 2, 2009 at 10:52 AM, Shirish Pargaonkar
> <shirishpargaonkar at gmail.com> wrote:
>> Two different patches for the same functionality, to remove the
>> remaining entry in /etc/mtab
>> after a filesystem is unmounted by canonicalizing the supplied
>> mountpoint on the command line.
>>
>> Please refer to bug 4370 in samba bugzilla.
>>
>> Regards,
>>
>> Shirish
>>
>
> version of the patch after making a change suggested by Jeff Layton.
>

> I'm wonder though whether we need a umount.cifs program at all. All the
> teardown is done in-kernel. Is there some reason we can't just rely on
> the normal util-linux-ng umount program?

Jeff,

I tested with /bin/umount and that is good enough.  so if we want to get rid of
umount.cifs, I have no problem.

Regards,

Shirish


More information about the linux-cifs-client mailing list