[LUGOS] zbrisal /dev/st0

Borut Mrak b at aufbix.org
Thu Mar 25 19:12:06 CET 2004


On Thursday 25 of March 2004 18:44, Martin wrote:
> Sm kr tvegal in upgrejdal devs paket in za1x dela.
> Hvala obema.

MAKEDEV je ponavadi v /dev. Pri meni je v /dev symlink na /sbin/MAKEDEV, pri 
tebi je mogoce kar tam noter.

Pri poganjanju mu das za parameter device, ki ga zelis skreirat, naredi pa ga 
v trenutnem direktoriju, tako da se moras najprej premaknit v /dev. Primer:

# pwd
/tmp/devs
# /sbin/MAKEDEV st0
# ls -l
total 0
crw-rw----    1 root     tape       9, 128 Mar 25 19:08 nst0
crw-rw----    1 root     tape       9, 224 Mar 25 19:08 nst0a
crw-rw----    1 root     tape       9, 160 Mar 25 19:08 nst0l
crw-rw----    1 root     tape       9, 192 Mar 25 19:08 nst0m
crw-rw----    1 root     tape       9,   0 Mar 25 19:08 st0
crw-rw----    1 root     tape       9,  96 Mar 25 19:08 st0a
crw-rw----    1 root     tape       9,  32 Mar 25 19:08 st0l
crw-rw----    1 root     tape       9,  64 Mar 25 19:08 st0m
# rm -f *
# /sbin/MAKEDEV hda
# ls -l
total 0
brw-rw----    1 root     disk       3,   0 Mar 25 19:09 hda
brw-rw----    1 root     disk       3,   1 Mar 25 19:09 hda1
brw-rw----    1 root     disk       3,  10 Mar 25 19:09 hda10
brw-rw----    1 root     disk       3,  11 Mar 25 19:09 hda11
brw-rw----    1 root     disk       3,  12 Mar 25 19:09 hda12
brw-rw----    1 root     disk       3,  13 Mar 25 19:09 hda13
brw-rw----    1 root     disk       3,  14 Mar 25 19:09 hda14
brw-rw----    1 root     disk       3,  15 Mar 25 19:09 hda15
brw-rw----    1 root     disk       3,  16 Mar 25 19:09 hda16
brw-rw----    1 root     disk       3,  17 Mar 25 19:09 hda17
brw-rw----    1 root     disk       3,  18 Mar 25 19:09 hda18
brw-rw----    1 root     disk       3,  19 Mar 25 19:09 hda19
brw-rw----    1 root     disk       3,   2 Mar 25 19:09 hda2
brw-rw----    1 root     disk       3,  20 Mar 25 19:09 hda20
brw-rw----    1 root     disk       3,   3 Mar 25 19:09 hda3
brw-rw----    1 root     disk       3,   4 Mar 25 19:09 hda4
brw-rw----    1 root     disk       3,   5 Mar 25 19:09 hda5
brw-rw----    1 root     disk       3,   6 Mar 25 19:09 hda6
brw-rw----    1 root     disk       3,   7 Mar 25 19:09 hda7
brw-rw----    1 root     disk       3,   8 Mar 25 19:09 hda8
brw-rw----    1 root     disk       3,   9 Mar 25 19:09 hda9
#

lp,
Borut.



More information about the lugos-list mailing list