repo.or.cz
/
midnight-commander.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ru.po: Heavily updated translation
[midnight-commander.git]
/
create_vcs
blob
389216f566ac846464dfaba32a38da46cd3edc61
1
#!/bin/sh
2
#
3
# Script by Jakub Jelinek
4
#
5
if
test -e
/
dev
/
vcs0
6
then
7
exit
8
fi
9
10
I
=
0
11
while
[
$I
-lt
64
]
12
do
13
mknod
/
dev
/
vcs
$I
c
7
$I
14
chmod
622
/
dev
/
vcs
$I
15
chown root.tty
/
dev
/
vcs
$I
16
mknod
/
dev
/
vcsa
$I
c
7
`expr
$I
+ 128`
17
chmod
622
/
dev
/
vcsa
$I
18
chown root.tty
/
dev
/
vcsa
$I
19
I
=
`expr
$I
+ 1`
20
done