It's POSIX.
Quoting from IEEE Std 1003.2-1992 (AKA POSIX.2):
4.41 mkdir - Make directories
[snip]
4.41.3 Options
[snip]
-p Create any missing intermediate pathname components.
--Ken Pizzini
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/