|
@@ -7,6 +7,7 @@ import (
|
|
|
|
|
|
"imuslab.com/arozos/mod/common"
|
|
|
"imuslab.com/arozos/mod/disk/diskcapacity/dftool"
|
|
|
+ "imuslab.com/arozos/mod/filesystem/arozfs"
|
|
|
"imuslab.com/arozos/mod/user"
|
|
|
)
|
|
|
|
|
@@ -92,7 +93,7 @@ func (cr *Resolver) ResolveCapacityInfo(username string, vpath string) (*Capacit
|
|
|
|
|
|
realpath = filepath.ToSlash(filepath.Clean(realpath))
|
|
|
|
|
|
- if common.FileExists(realpath) && !fsh.RequireBuffer {
|
|
|
+ if common.FileExists(realpath) && !arozfs.IsNetworkDrive(fsh.Filesystem) {
|
|
|
//This is a local disk
|
|
|
capinfo, err := dftool.GetCapacityInfoFromPath(realpath)
|
|
|
if err != nil {
|