Question about fsid.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Question about fsid.

stefbon
Hello,

I found out that a stat call:

stat -f  %directory%

gives zero for a cifs mounts.

Why is that?

Stef
_______________________________________________
linux-cifs-client mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/linux-cifs-client
Reply | Threaded
Open this post in threaded view
|

Re: Question about fsid.

Jeff Layton-4
On Sat, 5 Jun 2010 19:02:46 +0200
Stef Bon <[hidden email]> wrote:

> Hello,
>
> I found out that a stat call:
>
> stat -f  %directory%
>
> gives zero for a cifs mounts.
>
> Why is that?
>

Because the statfs call for CIFS doesn't fill it out. The rabbit hole
begins at cifs_statfs().

--
Jeff Layton <[hidden email]>
_______________________________________________
linux-cifs-client mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/linux-cifs-client