mirror of
https://github.com/apple/container.git
synced 2026-11-05 13:36:25 +00:00
Match Mount default cache/sync to container defaults. (#446)
- Use `cache=auto`, `sync=fsync` as default everywhere.
This commit is contained in:
1 parent
7962dae643
commit
6d548a0e49
1 file changed
+1
-1
@@ -164,7 +164,7 @@ extension Mount {
|
||||
extension VZDiskImageStorageDeviceAttachment {
|
||||
static func mountToVZAttachment(mount: Mount, options: [String]) throws -> VZDiskImageStorageDeviceAttachment {
|
||||
var cachingMode: VZDiskImageCachingMode = .automatic
|
||||
var synchronizationMode: VZDiskImageSynchronizationMode = .none
|
||||
var synchronizationMode: VZDiskImageSynchronizationMode = .fsync
|
||||
|
||||
for option in options {
|
||||
let split = option.split(separator: "=")
|
||||
|
||||
Reference in new issue
Block a user