示例#1
0
 public Volume(PhysicalId physicalId, DevPath devPath, UUID uUID, State state, MountPath?mountPath, Filesystem?fileSystem,
               IList <LogicalVolume> logicalVolumes, MountOptions?mountOptions)
 {
     PhysicalId     = physicalId;
     DevPath        = devPath;
     UUID           = uUID;
     State          = state;
     MountPath      = mountPath;
     FileSystem     = fileSystem;
     LogicalVolumes = logicalVolumes;
     MountOptions   = mountOptions;
 }
示例#2
0
 public PhysicalDisk(PhysicalId physicalId, DevPath devPath, IList <Volume> volumes)
 {
     PhysicalId = physicalId;
     DevPath    = devPath;
     Volumes    = volumes ?? throw new ArgumentNullException(nameof(volumes));
 }
示例#3
0
 public LogicalVolume(PhysicalId physicalId, DevPath devPath, UUID uUID)
 {
     PhysicalId = physicalId;
     DevPath    = devPath;
     UUID       = uUID;
 }