error: mknod: extra operand [square]9[square] on RHEL7 snapshot 11

Solution Verified - Updated -

Issue

  • This commands works on RHEL7 beta (and RHEL6):
mknod -m 666 -Z system_u:object_r:random_device_t:s0 /dev/random2 c 1 9
  • On RHEL7 snapshot 11 it gives this error:
mknod: extra operand [square]9[square]

Environment

  • Red Hat Enterprise Linux 7 snapshot 11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.