:


 Unix          -
 .      -
 . ().  ,    ? 
"",        
      . , ,   
, ,    /dev/console  -  -
  .  ,       /dev/console,
     .   
    /dev/console     (!)   ,
      ,  ,    
.   

  su
  echo  > /dev/console
  cat /dev/console

  Ctrl-C

      unix-  
  .        ,  
  :

  /dev/contty01  /dev/tty02  /dev/ttyFD02  /dev/ttyS0
  ( ..,  )

 ( ,      
 ,    telnet, rlogin) 
 

  /dev/pty*,  /dev/pty/*

  who,    who  am  i   ,   
 .

  ,     
   (/dev/rdsk/m197_c0d0s7)               
(/dev/dsk/m197_c0d0s*).         ,
      ,        , 
    ...           
-  ,      ()      
    .

/dev/mem   - ,   .

/dev/audio -   ""         
             (*.wav, *.au, ...?) -      -
               ,     cat /dev/audio  
              ,    .  -
             ,    ,       PC,    Silicon
             Graphic   SPARCstation.

/dev/zero  -        

/dev/null  -      ,      - , 
                  -
             : NULL -    null.   MSDOS  
                 NUL.

    :

    -       .  -
             ,      
             .

  ls -al /dev/fd*
brw-rw----  1 root floppy    2,  28 Jul 18  1994 /dev/fd0H1440
brw-rw----  1 root floppy    2,  32 Jul 18  1994 /dev/fd0H2880
brw-rw----  1 root floppy    2,  12 Jul 18  1994 /dev/fd0H360


 (, , row) -    
            .    ,  -
            ,     -
              .

  ls -al /dev/tty*
crw--w--w-   1 moshkow  sys        4,   1 Jan 15 22:00 /dev/tty1
crw--w--w-   1 root     root       4,   2 Jan 15 20:37 /dev/tty2
crw--w--w-   1 root     root       4,   2 Jan 15 20:37 /dev/tty2

 -      ls  -l

 ""      .  
   .     
  .    ls 
     : ""  ""  -
.    ,  "" -  
  ,  "" -    -
     .



           -       
           .      
 .

   

   mknod /dev/filename { c | b }  MAJOR MINOR



        /etc/inittab    
/sbin/ioinitrc, ,         ,
     , 
     .

.   

 ioscan
 mksf
 insf



    boot-     -r

STOP+A

ok boot -r         -  

       
   .

Last-modified: Fri, 11 Aug 2000 15:29:06 GMT
: