mirror of
https://github.com/minio/minio.git
synced 2025-11-23 11:07:50 -05:00
Fix OS X build
- Explicitly cast statfs_t members to int64 (this structure is platform-specific) - Add pass-through New methods to Darwin SHA package - Move scsi pkg types to common translation unit (package was empty) - Add stub implementations mount/disk ops for OS X
This commit is contained in:
@@ -31,16 +31,6 @@ import (
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// Mountinfo container to capture /etc/mtab mount structure
|
||||
type Mountinfo struct {
|
||||
FSName string /* name of mounted filesystem */
|
||||
Dir string /* filesystem path prefix */
|
||||
Type string /* mount type (see mntent.h) */
|
||||
Opts string /* mount options (see mntent.h) */
|
||||
Freq int /* dump frequency in days */
|
||||
Passno int /* pass number on parallel fsck */
|
||||
}
|
||||
|
||||
var supportedFSType = map[string]bool{
|
||||
"ext4": true,
|
||||
"xfs": true,
|
||||
|
||||
Reference in New Issue
Block a user