Re: Zero size and zero blocks mountpoint.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 19 Sep 2010 21:28:41 +0200
Stef Bon <stefbon@xxxxxxxxx> wrote:

> Hello,
> 
> whe mounting a smb filesystem using cifs, the mountpoint gets zero
> size and zero blocks:
> 
> 
> ls -al
> total 12
> drwxr-xr-x   2 root root     4096 2010-09-19 16:53 .
> drwxr-xr-x   3 root root     4096 2010-09-19 16:53 ..
> drwxr-xr-x   6 root root        0 2010-09-03 23:41 bononline
> -rw-r--r--   1 root root       40 2010-09-19 16:53 .directory
> drwxr-xr-x 673 gast netgroup    0 2010-09-12 23:40 ftp
> drwxrwxr-x  10 gast netgroup    0 2010-08-06 23:28 public
> drwxr-xr-x  34 sbon netgroup    0 2010-09-19 16:03 sbon
> drwxr-xr-x  10 root root        0 2010-08-06 23:26 video
> 
> The directories bononline, ftp, public, sbon adn video are all
> mountpoints of smb shares.
> 
> It's causing some unwanted behaviour.
> How can I change that, or is this not changeable?
> Stef

I think it's just a matter of setting the inode->i_size on the
directory. I *think* that when you do a QPathInfo call to a directory
via cifs the size comes back 0. Setting this to something else probably
means an extra call to the server to get the "real" size (whatever that
means). The question is, what should this be set to?

-- 
Jeff Layton <jlayton@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux