@@ -984,7 +984,7 @@ message NodeStageVolumeRequest {
984
984
// is only one `staging_target_path` per volume. The CO SHALL ensure
985
985
// that the path is directory and that the process serving the
986
986
// request has `read` and `write` permission to that directory. The
987
- // CO SHALL be responsible for creating the path if it does not
987
+ // CO SHALL be responsible for creating the directory if it does not
988
988
// exist.
989
989
// This is a REQUIRED field.
990
990
string staging_target_path = 3 ;
@@ -1044,11 +1044,14 @@ message NodePublishVolumeRequest {
1044
1044
// The path to which the volume will be published. It MUST be an
1045
1045
// absolute path in the root filesystem of the process serving this
1046
1046
// request. The CO SHALL ensure uniqueness of target_path per volume.
1047
- // The CO SHALL ensure that the path exists and that the process
1048
- // serving the request has `read` and `write` permissions to the path.
1049
- // For volumes with an access type of block, the path MUST be a file.
1050
- // For volumes with an access type of mount, the path MUST be a
1051
- // directory. The SP SHALL bind mount the volume to the target path.
1047
+ // The CO SHALL ensure that the parent directory of this path exists
1048
+ // and that the process serving the request has `read` and `write`
1049
+ // permissions to that parent directory.
1050
+ // For volumes with an access type of block, the SP SHALL place the
1051
+ // block device at target_path.
1052
+ // For volumes with an access type of mount, the SP SHALL place the
1053
+ // mounted directory at target_path.
1054
+ // Creation of target_path is the responsibility of the SP.
1052
1055
// This is a REQUIRED field.
1053
1056
string target_path = 4 ;
1054
1057
@@ -1082,6 +1085,7 @@ message NodeUnpublishVolumeRequest {
1082
1085
1083
1086
// The path at which the volume was published. It MUST be an absolute
1084
1087
// path in the root filesystem of the process serving this request.
1088
+ // The SP MUST delete this path.
1085
1089
// This is a REQUIRED field.
1086
1090
string target_path = 2 ;
1087
1091
}
0 commit comments