|
|
@ -934,8 +934,8 @@ sub setup {
|
|
|
|
} elsif ($type == 1) { # hardlink
|
|
|
|
} elsif ($type == 1) { # hardlink
|
|
|
|
die "type 1 not implemented";
|
|
|
|
die "type 1 not implemented";
|
|
|
|
} elsif ($type == 2) { # symlink
|
|
|
|
} elsif ($type == 2) { # symlink
|
|
|
|
# nothing to do
|
|
|
|
symlink $linkname, "$options->{root}/$fname" or die "cannot create symlink $fname";
|
|
|
|
next;
|
|
|
|
next; # chmod cannot work on symlinks
|
|
|
|
} elsif ($type == 3) { # character special
|
|
|
|
} elsif ($type == 3) { # character special
|
|
|
|
0 == system('mknod', "$options->{root}/$fname", 'c', $devmajor, $devminor) or die "mknod failed: $?";
|
|
|
|
0 == system('mknod', "$options->{root}/$fname", 'c', $devmajor, $devminor) or die "mknod failed: $?";
|
|
|
|
} elsif ($type == 4) { # block special
|
|
|
|
} elsif ($type == 4) { # block special
|
|
|
|