add large disk support
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
package util
|
||||
|
||||
const (
|
||||
VERSION = "1.28"
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var (
|
||||
VERSION = fmt.Sprintf("%s %d.%d", sizeLimit, 1, 28)
|
||||
)
|
||||
|
||||
8
weed/util/constants_4bytes.go
Normal file
8
weed/util/constants_4bytes.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// +build !5BytesOffset
|
||||
|
||||
package util
|
||||
|
||||
const (
|
||||
sizeLimit = "30GB"
|
||||
VolumeSizeLimitGB = 30
|
||||
)
|
||||
8
weed/util/constants_5bytes.go
Normal file
8
weed/util/constants_5bytes.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// +build 5BytesOffset
|
||||
|
||||
package util
|
||||
|
||||
const (
|
||||
sizeLimit = "8000GB"
|
||||
VolumeSizeLimitGB = 8000
|
||||
)
|
||||
Reference in New Issue
Block a user