[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] ignore cifs mount points like smbfs (otherwise `df -l` shows
From: |
Jim Meyering |
Subject: |
Re: [patch] ignore cifs mount points like smbfs (otherwise `df -l` shows cifs) |
Date: |
Thu, 20 Jul 2006 10:35:52 +0200 |
Mike Frysinger <address@hidden> wrote:
> a user reported that running `df --local` was showing his cifs mount point
> http://bugs.gentoo.org/141012 ... indeed:
>
> $ df --version | head -n 1
> df (GNU coreutils) 5.97
> $ df --local | tail -n 1
> //matt/d$ 22081340 18343740 3737600 84% /mnt/tmp
> $ mount | grep matt
> //matt/d$ on /mnt/tmp type cifs (rw,mand)
>
> attached patch against cvs HEAD updates the ME_REMOTE() macro in
> lib/mountlist.c to compare Fs_type to "cifs" like it already does for "smbfs"
> -mike
>
> 2006-07-19 Mike Frysinger <address@hidden>
>
> * lib/mountlist.c [ME_REMOTE]: Filter out cifs.
Applied to the trunk. Thanks!