Skip to content

Conversation

@zhouhao3
Copy link

@zhouhao3 zhouhao3 commented Sep 1, 2017

Accord to the mknod(1). We can get the following information:

Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they must be omitted when TYPE is p.

Signed-off-by: zhouhao [email protected]

@Mashimiao Mashimiao added this to the v0.2.0 milestone Sep 15, 2017
Copy link
Contributor

@wking wking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, although I may try and get this into the upstream JSON Schema later. And either way, unit tests for this would be good, although they don't need to block this PR.

@Mashimiao
Copy link

Mashimiao commented Sep 15, 2017

LGTM

Approved with PullApprove

@zhouhao3
Copy link
Author

@hqhq @liangchenye PTAL

@liangchenye
Copy link
Member

liangchenye commented Sep 22, 2017

LGTM

Approved with PullApprove

@liangchenye liangchenye merged commit 0a52ac0 into opencontainers:master Sep 22, 2017
@zhouhao3 zhouhao3 deleted the devices-validate-fix branch September 25, 2017 02:37
wking added a commit to wking/ocitools-v2 that referenced this pull request Sep 25, 2017
Through 0a52ac0 (Merge pull request opencontainers#460 from
q384566678/devices-validate-fix, 2017-09-22).

Signed-off-by: W. Trevor King <[email protected]>
@wking wking mentioned this pull request Sep 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants