Skip to content

Commit

Permalink
init: shorten comment about nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
falconindy committed May 20, 2011
1 parent 46acac0 commit 2c0b939
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions init.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,7 @@ static void mount_setup(void) { /* {{{ */
/* devtmpfs not available, use standard tmpfs */
mount("udev", "/dev", "tmpfs", MS_NOSUID, "mode=0755,size=10M");

/* create necessary nodes
* crw------- 1 root root 5, 1 Apr 2 18:30 /dev/console
* crw-rw-rw- 1 root root 1, 3 Apr 2 18:30 /dev/null
* crw-rw-rw- 1 root root 1, 5 Apr 2 18:30 /dev/zero
*/
/* create necessary nodes */
mknod("/dev/console", S_IFCHR|0600, makedev(5, 1));
mknod("/dev/null", S_IFCHR|0666, makedev(1, 3));
mknod("/dev/zero", S_IFCHR|0666, makedev(1, 5));
Expand Down

0 comments on commit 2c0b939

Please sign in to comment.