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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content