Ocenite etot tekst:


     V   SunOS  5.3  yadro  razbito  na  mnozhestvo  melkih  modulej,  kotorye
podgruzhayutsya v pamyat' po mere neobhodimosti (PO TREBOVANIYU, t.e. ne  ran'she,
chem oni dejstvitel'no potrebuyutsya), chem sokrashchaetsya vremya nachal'noj zagruzki
i ekonomitsya operativnaya pamyat'. (I zamedlyaetsya rabota, vvidu dopolnitel'nyh
zatrat  resursov  na dinamicheskuyu linkovku i zagruzku vnezapno zatrebovannyh
modulej.)

Moduli raspolozheny v podkatalogah kataloga /kernel i /usr/kernel

  /kernel/*/*
  /usr/kernel/*/*

Sushchestvuet fajl, zadayushchij spiski podgruzhaemyh modulej i nastra-
ivaemye (tunable)  parametry  yadra.  V  normal'nom  standartnom
sluchae etot fajl pust (sostoit tol'ko iz kommentariev). Vse pa-
rametry ustanavlivayutsya po umolchaniyu.

  /etc/system

Spisok tunable-parametrov yadra privoditsya v dokumente "...?
... Performance tuning Administration Guide"



Katalog  /devices  generitsya pri  "rekonfiguracionnoj" zagruzke
yadra, i predstavlyaet vse imeyushchiesya u stancii ustrojstva.

Pravila imenovaniya  ustrojstv  v  kataloge  /devices  dlya SS2 i
drevnee.

/devices/sbus@1,..../esp@0,..../sd@3,0:a
         1-j SBUS kontroller
                     1-j SCSI host adapter
                             3-j taget nomer diska na SCSI shine
                                     0-j LUN
                                        particiya "a"

Na  meste  mnogotochij  ... stoyat chisla. |to virtual'nye adresa,
sootvetsvuyushchie ustrojstvam.

Pravila imenovaniya ustrojstv v kataloge /devices dlya SS10 i mo-
lozhe:

/devices/iommu@f,..../sbus@0,.../espdma@f,.../esp@0,..../sd@3,0:a
         IO memory management unit
                      1-j SBUS kontroller
                                          1-j SCSI host adapter
                           3-j taget nomer diska na SCSI shine
                                                 0-j LUN
                                                    particiya "a"

Imeetsya  takzhe  fajl,  kotoryj  generitsya  sistemoj  pri kazhdoj
"rekonfiguracionnoj" zagruzke ( ok boot -r )

     /etc/path_to_inst

On zadaet pravila imenovaniya /devices ---> (major,minor)

Katalog /dev/* soderzhit logicheskie imena special'nyh fajlov

  /dev/dsk    Blochnye diski
  /dev/rdsk   Besstrukturnye diski
  /dev/rmt    Magnitnye lenty
  /dev/term   Posledovatel'nye porty
  /dev/cua    Dial-out modemnye porty
  /dev/pts    Psevdo-terminaly
  /dev/fbs    Frame buffers - video adaptery



# prtconf

# sysdef -i

# dmesg

   STOP+A   ok banner
            ok probe-scsi
            ok printenv
            ok prtconf          # v novyh (2000) versiyah boot-proma
            ok devalias
            ok setenv
            ok help



Posle podklyucheniya dopolnitel'nyh ustrojstv (diskov, lent,  kon-
trollerov) nuzhno  "podtolknut'" sistemu, chtoby ona imi "zainte-
resovalas'",  opoznala,  nastroilas' na nih, i sozdala dlya  nih
sootvetstvuyushchie special'nye fajly.

    Sposob 1. Sozdat' fajl    /reconfigure   i perezagruzit'sya

    Sposob 2. Zagruzit'sya komandoj boot-monitora

            ok  boot  -r

    Sposob 3. Mozhno "po-goryachemu", bez perezagruzki, podcepit'
              svezhepodklyuchennnyj SCSI disk ili lentu:

    /usr/sbin/drvconfig
    /usr/sbin/devlinks
    /usr/sbin/disks              # or /usr/sbin/tapes for tapes
    /usr/ucb/ucblinks            # Compatibility links



STOP+A
 ok boot cdrom             ili         ok boot sd(0,6,2)


ok boot device(kontrol,dev,fajl) imya_zagruzhaemogo_fajla parametry

  gde
      device -  st strimmer, sd SCSI-disk/cdrom, le ethernet
      kontroller obychno 0
      dev        6 cdrom, 3 vnutrennij disk, ...
      razdel     0 "/", 2 koren' cdrom'a, nomer fajla na lente, ...

      parametry
         -a       interaktivnaya zagruzka (sprosit dopolnitel'-
                  nye parametry)
         -r       posle zagruzki zanyat'sya perekonfiguraciej
         -s       zagruzit'sya v odnopol'zovatel'skij rezhim
         -v       verbose (podrobno)
         -w       makes filesystem writeable

U stancij SS20 ustanovleni boot-prom novoj  versii. Tam komanda
zagruzki vyglyadit primerno tak:

   ok boot disk1:0 -sa

Zagruzit'sya so 2-go  zhestkogo diska (SCSI Taget 1), v odnopol'-
zovatel'skij rezhim. Vse parametry  zagruzki  zaprosit' interak-
tivno, s klaviatury.

Last-modified: Mon, 04 Sep 2000 19:18:16 GMT
Ocenite etot tekst: