|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: d
Length: 2871 (0xb37)
Names: »ds.4«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat4/ds.4«
0x000…020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆ 0x020…040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 44 65 76 69 63 65 73 20 61 6e 64 20 46 61 63 69 ┆ u_ a_ l Devices and Faci┆ 0x040…060 6c 69 74 69 65 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 73 28 34 29 0a 0a 0a 0a ┆lities ds(4) ┆ 0x060…080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆ 0x080…0a0 20 20 64 73 20 2d 20 64 69 73 6b 20 73 75 62 73 79 73 74 65 6d 0a 0a 44 08 44 08 44 08 44 45 08 ┆ ds - disk subsystem D D D DE ┆ 0x0a0…0c0 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 ┆E E ES S S SC C C CR R R RI I I ┆ 0x0c0…0e0 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e ┆IP P P PT T T TI I I IO O O ON N┆ 0x0e0…100 08 4e 08 4e 0a 20 20 20 20 20 45 61 63 68 20 64 69 73 6b 20 64 65 76 69 63 65 20 66 69 6c 65 20 ┆ N N Each disk device file ┆ 0x100…120 72 65 66 65 72 73 20 74 6f 20 61 20 63 6f 6d 70 6c 65 74 65 20 70 68 79 73 69 63 61 6c 20 64 72 ┆refers to a complete physical dr┆ 0x120…140 69 76 65 2e 0a 20 20 20 20 20 53 75 70 70 6f 72 74 20 66 6f 72 20 70 6f 72 74 69 6f 6e 73 20 6f ┆ive. Support for portions o┆ 0x140…160 66 20 70 68 79 73 69 63 61 6c 20 64 69 73 6b 73 20 28 70 61 72 74 69 74 69 6f 6e 73 29 20 69 73 ┆f physical disks (partitions) is┆ 0x160…180 20 68 61 6e 2d 0a 20 20 20 20 20 64 6c 65 64 20 69 6e 20 54 58 20 62 79 20 6c 6f 67 69 63 61 6c ┆ han- dled in TX by logical┆ 0x180…1a0 20 76 6f 6c 75 6d 65 73 3b 20 73 65 65 20 5f 08 76 5f 08 6f 5f 08 6c 5f 08 75 5f 08 6d 5f 08 65 ┆ volumes; see _ v_ o_ l_ u_ m_ e┆ 0x1a0…1c0 28 34 29 2e 0a 0a 20 20 20 20 20 44 69 73 6b 20 64 65 76 69 63 65 20 66 69 6c 65 73 20 61 72 65 ┆(4). Disk device files are┆ 0x1c0…1e0 20 63 72 65 61 74 65 64 20 77 69 74 68 20 74 68 65 20 5f 08 6d 5f 08 6b 5f 08 6e 5f 08 6f 5f 08 ┆ created with the _ m_ k_ n_ o_ ┆ 0x1e0…200 64 28 38 29 20 75 74 69 6c 69 74 79 2e 20 20 54 6f 0a 20 20 20 20 20 65 6e 73 75 72 65 20 75 6e ┆d(8) utility. To ensure un┆ 0x200…220 69 71 75 65 20 6e 61 6d 69 6e 67 20 6f 66 20 64 69 73 6b 20 64 65 76 69 63 65 20 66 69 6c 65 73 ┆ique naming of disk device files┆ 0x220…240 2c 20 54 58 20 63 6f 6e 76 65 6e 74 69 6f 6e 0a 20 20 20 20 20 67 69 76 65 73 20 74 68 65 6d 20 ┆, TX convention gives them ┆ 0x240…260 6e 61 6d 65 73 20 6c 69 6b 65 20 64 73 5f 5f 08 70 5f 08 75 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 ┆names like ds__ p_ u_ n_ a_ m_ e┆ 0x260…280 5f 08 78 5f 08 79 5f 08 7a 2e 20 20 54 68 65 20 5f 08 70 5f 08 75 5f 08 6e 5f 08 61 5f 08 6d 5f ┆_ x_ y_ z. The _ p_ u_ n_ a_ m_┆ 0x280…2a0 08 65 20 69 73 20 74 68 65 20 6e 61 6d 65 0a 20 20 20 20 20 6f 66 20 74 68 65 20 50 55 20 74 6f ┆ e is the name of the PU to┆ 0x2a0…2c0 20 77 68 69 63 68 20 74 68 65 20 64 69 73 6b 20 69 73 20 63 6f 6e 6e 65 63 74 65 64 20 28 64 75 ┆ which the disk is connected (du┆ 0x2c0…2e0 61 6c 2d 70 6f 72 74 65 64 20 64 69 73 6b 73 0a 20 20 20 20 20 68 61 76 65 20 74 77 6f 20 64 69 ┆al-ported disks have two di┆ 0x2e0…300 73 6b 20 64 65 76 69 63 65 20 66 69 6c 65 73 29 2c 20 77 68 69 6c 65 20 5f 08 78 5f 08 79 5f 08 ┆sk device files), while _ x_ y_ ┆ 0x300…320 7a 20 69 73 20 74 68 65 20 64 72 69 76 65 20 6e 75 6d 62 65 72 0a 20 20 20 20 20 63 6f 6e 73 69 ┆z is the drive number consi┆ 0x320…340 73 74 69 6e 67 20 6f 66 20 33 20 64 65 63 69 6d 61 6c 20 64 69 67 69 74 73 3a 0a 0a 20 20 20 20 ┆sting of 3 decimal digits: ┆ 0x340…360 20 5f 08 63 5f 08 68 5f 08 61 5f 08 6e 5f 08 6e 5f 08 65 5f 08 6c 20 20 20 20 20 20 69 73 20 74 ┆ _ c_ h_ a_ n_ n_ e_ l is t┆ 0x360…380 68 65 20 63 68 61 6e 6e 65 6c 20 6f 6e 20 77 68 69 63 68 20 74 68 65 20 63 6f 6e 74 72 6f 6c 6c ┆he channel on which the controll┆ 0x380…3a0 65 72 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 74 74 61 63 68 65 64 ┆er is attached┆ 0x3a0…3c0 2c 20 30 20 74 68 72 6f 75 67 68 20 33 2e 0a 0a 20 20 20 20 20 5f 08 63 5f 08 6f 5f 08 6e 5f 08 ┆, 0 through 3. _ c_ o_ n_ ┆ 0x3c0…3e0 74 5f 08 72 5f 08 6f 5f 08 6c 5f 08 6c 5f 08 65 5f 08 72 20 20 20 69 73 20 74 68 65 20 61 64 64 ┆t_ r_ o_ l_ l_ e_ r is the add┆ 0x3e0…400 72 65 73 73 20 6f 66 20 74 68 65 20 63 6f 6e 74 72 6f 6c 6c 65 72 20 6f 6e 20 74 68 65 20 63 68 ┆ress of the controller on the ch┆ 0x400…420 61 6e 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 65 6c 2c 20 30 20 74 68 72 ┆an- nel, 0 thr┆ 0x420…440 6f 75 67 68 20 37 2e 0a 0a 20 20 20 20 20 5f 08 64 5f 08 65 5f 08 76 5f 08 69 5f 08 63 5f 08 65 ┆ough 7. _ d_ e_ v_ i_ c_ e┆ 0x440…460 20 20 20 20 20 20 20 69 73 20 74 68 65 20 64 69 73 6b 20 75 6e 69 74 20 61 64 64 72 65 73 73 20 ┆ is the disk unit address ┆ 0x460…480 6f 6e 20 74 68 65 20 63 6f 6e 74 72 6f 6c 6c 65 72 2c 20 30 0a 20 20 20 20 20 20 20 20 20 20 20 ┆on the controller, 0 ┆ 0x480…4a0 20 20 20 20 20 20 20 74 68 72 6f 75 67 68 20 33 2e 0a 0a 20 20 20 20 20 46 6f 72 20 65 78 61 6d ┆ through 3. For exam┆ 0x4a0…4c0 70 6c 65 2c 20 64 08 64 08 64 08 64 73 08 73 08 73 08 73 5f 08 5f 08 5f 08 5f 6d 08 6d 08 6d 08 ┆ple, d d d ds s s s_ _ _ _m m m ┆ 0x4c0…4e0 6d 79 08 79 08 79 08 79 70 08 70 08 70 08 70 75 08 75 08 75 08 75 30 08 30 08 30 08 30 32 08 32 ┆my y y yp p p pu u u u0 0 0 02 2┆ 0x4e0…500 08 32 08 32 31 08 31 08 31 08 31 20 72 65 66 65 72 73 20 74 6f 20 61 20 64 69 73 6b 20 64 72 69 ┆ 2 21 1 1 1 refers to a disk dri┆ 0x500…520 76 65 20 61 74 74 61 63 68 65 64 20 74 6f 0a 20 20 20 20 20 63 68 61 6e 6e 65 6c 20 30 2c 20 6f ┆ve attached to channel 0, o┆ 0x520…540 6e 20 63 6f 6e 74 72 6f 6c 6c 65 72 20 6e 75 6d 62 65 72 20 32 2c 20 64 65 76 69 63 65 20 31 20 ┆n controller number 2, device 1 ┆ 0x540…560 6f 66 20 61 20 50 55 20 6e 61 6d 65 64 0a 20 20 20 20 20 6d 08 6d 08 6d 08 6d 79 08 79 08 79 08 ┆of a PU named m m m my y y ┆ 0x560…580 79 70 08 70 08 70 08 70 75 08 75 08 75 08 75 2e 0a 0a 20 20 20 20 20 42 69 6e 64 69 6e 67 20 62 ┆yp p p pu u u u. Binding b┆ 0x580…5a0 65 74 77 65 65 6e 20 61 20 64 65 76 69 63 65 20 66 69 6c 65 20 6e 61 6d 65 20 61 6e 64 20 74 68 ┆etween a device file name and th┆ 0x5a0…5c0 65 20 33 2d 64 69 67 69 74 20 64 72 69 76 65 0a 20 20 20 20 20 6e 75 6d 62 65 72 20 6f 63 63 75 ┆e 3-digit drive number occu┆ 0x5c0…5e0 72 73 20 77 68 65 6e 20 74 68 65 20 6e 6f 64 65 20 69 73 20 63 72 65 61 74 65 64 2e 20 20 42 6f ┆rs when the node is created. Bo┆ 0x5e0…600 74 68 20 6e 61 6d 65 20 61 6e 64 20 64 72 69 76 65 0a 20 20 20 20 20 6e 75 6d 62 65 72 20 61 72 ┆th name and drive number ar┆ 0x600…620 65 20 70 61 72 61 6d 65 74 65 72 73 20 74 6f 20 5f 08 6d 5f 08 6b 5f 08 6e 5f 08 6f 5f 08 64 2e ┆e parameters to _ m_ k_ n_ o_ d.┆ 0x620…640 0a 0a 20 20 20 20 20 45 61 63 68 20 64 69 73 6b 20 64 65 76 69 63 65 20 66 69 6c 65 20 69 6e 20 ┆ Each disk device file in ┆ 0x640…660 74 68 65 20 66 69 6c 65 20 73 79 73 74 65 6d 20 69 73 20 61 20 55 4e 49 58 20 73 70 65 63 69 61 ┆the file system is a UNIX specia┆ 0x660…680 6c 0a 20 20 20 20 20 66 69 6c 65 3b 20 74 68 65 20 6d 69 6e 6f 72 20 64 65 76 69 63 65 20 6e 75 ┆l file; the minor device nu┆ 0x680…6a0 6d 62 65 72 20 69 73 20 63 6f 6e 73 74 72 75 63 74 65 64 20 61 73 20 66 6f 6c 6c 6f 77 73 3a 0a ┆mber is constructed as follows: ┆ 0x6a0…6c0 20 20 20 20 20 20 20 20 20 20 6d 69 6e 6f 72 20 3d 20 28 63 68 61 6e 6e 65 6c 20 3c 3c 20 36 29 ┆ minor = (channel << 6)┆ 0x6c0…6e0 20 2b 20 28 63 6f 6e 74 72 6f 6c 6c 65 72 20 3c 3c 20 33 29 20 2b 20 75 6e 69 74 0a 0a 20 20 20 ┆ + (controller << 3) + unit ┆ 0x6e0…700 20 20 44 69 73 6b 20 64 65 76 69 63 65 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 66 69 6c 65 20 ┆ Disk device files in the file ┆ 0x700…720 73 79 73 74 65 6d 20 73 68 6f 75 6c 64 20 62 65 20 70 72 6f 74 65 63 74 65 64 0a 20 20 20 20 20 ┆system should be protected ┆ 0x720…740 61 67 61 69 6e 73 74 20 61 6c 6c 20 75 73 65 72 20 61 63 63 65 73 73 20 28 6d 6f 64 65 20 30 36 ┆against all user access (mode 06┆ 0x740…760 30 30 29 2c 20 61 73 20 64 69 72 65 63 74 20 75 73 65 72 20 61 63 63 65 73 73 0a 20 20 20 20 20 ┆00), as direct user access ┆ 0x760…780 74 6f 20 64 69 73 6b 20 64 65 76 69 63 65 73 20 63 61 6e 20 72 65 73 75 6c 74 20 69 6e 20 66 69 ┆to disk devices can result in fi┆ 0x780…7a0 6c 65 20 73 79 73 74 65 6d 20 63 6f 72 72 75 70 74 69 6f 6e 20 61 6e 64 2f 6f 72 0a 20 20 20 20 ┆le system corruption and/or ┆ 0x7a0…7c0 20 73 65 63 75 72 69 74 79 20 76 69 6f 6c 61 74 69 6f 6e 73 2e 20 20 43 65 72 74 61 69 6e 20 61 ┆ security violations. Certain a┆ 0x7c0…7e0 64 6d 69 6e 69 73 74 72 61 74 69 76 65 20 75 74 69 6c 69 74 79 20 70 72 6f 2d 0a 20 20 20 20 20 ┆dministrative utility pro- ┆ 0x7e0…800 67 72 61 6d 73 20 64 6f 20 61 63 63 65 73 73 20 64 69 73 6b 20 64 65 76 69 63 65 73 20 64 69 72 ┆grams do access disk devices dir┆ 0x800…820 65 63 74 6c 79 3b 20 74 68 65 73 65 20 69 6e 63 6c 75 64 65 20 5f 08 76 5f 08 6f 5f 08 6c 28 38 ┆ectly; these include _ v_ o_ l(8┆ 0x820…840 29 2c 0a 20 20 20 20 20 5f 08 6d 5f 08 6b 5f 08 76 5f 08 6f 5f 08 6c 28 38 29 2c 20 61 6e 64 20 ┆), _ m_ k_ v_ o_ l(8), and ┆ 0x840…860 5f 08 66 5f 08 6f 5f 08 72 5f 08 6d 5f 08 61 5f 08 74 5f 08 64 5f 08 69 5f 08 73 5f 08 6b 28 38 ┆_ f_ o_ r_ m_ a_ t_ d_ i_ s_ k(8┆ 0x860…880 29 2e 0a 0a 20 20 20 20 20 55 73 65 72 20 70 72 6f 67 72 61 6d 20 61 63 63 65 73 73 20 74 6f 20 ┆). User program access to ┆ 0x880…8a0 64 69 73 6b 20 64 65 76 69 63 65 20 66 69 6c 65 73 20 63 61 75 73 65 73 20 64 69 72 65 63 74 0a ┆disk device files causes direct ┆ 0x8a0…8c0 20 20 20 20 20 74 72 61 6e 73 6d 69 73 73 69 6f 6e 20 62 65 74 77 65 65 6e 20 74 68 65 20 68 61 ┆ transmission between the ha┆ 0x8c0…8e0 72 64 77 61 72 65 20 49 2f 4f 20 73 75 62 73 79 73 74 65 6d 20 61 6e 64 20 74 68 65 20 64 61 74 ┆rdware I/O subsystem and the dat┆ 0x8e0…900 61 0a 20 20 20 20 20 62 75 66 66 65 72 20 69 6e 20 74 68 65 20 75 73 65 72 20 70 72 6f 67 72 61 ┆a buffer in the user progra┆ 0x900…920 6d 2e 20 20 41 6c 6c 20 49 2f 4f 20 63 6f 75 6e 74 73 20 6f 6e 20 64 69 73 6b 20 64 65 76 69 63 ┆m. All I/O counts on disk devic┆ 0x920…940 65 73 0a 20 20 20 20 20 6d 75 73 74 20 62 65 20 61 20 6d 75 6c 74 69 70 6c 65 20 6f 66 20 31 30 ┆es must be a multiple of 10┆ 0x940…960 32 34 20 62 79 74 65 73 20 28 61 20 64 69 73 6b 20 73 65 63 74 6f 72 29 2e 20 20 5f 08 6c 5f 08 ┆24 bytes (a disk sector). _ l_ ┆ 0x960…980 73 5f 08 65 5f 08 65 5f 08 6b 0a 20 20 20 20 20 63 61 6c 6c 73 20 6f 6e 20 61 20 64 69 73 6b 20 ┆s_ e_ e_ k calls on a disk ┆ 0x980…9a0 64 65 76 69 63 65 20 6d 75 73 74 20 61 6c 73 6f 20 73 70 65 63 69 66 79 20 61 20 6d 75 6c 74 69 ┆device must also specify a multi┆ 0x9a0…9c0 70 6c 65 20 6f 66 20 31 30 32 34 0a 20 20 20 20 20 62 79 74 65 73 2e 20 20 41 20 73 69 6e 67 6c ┆ple of 1024 bytes. A singl┆ 0x9c0…9e0 65 20 72 65 61 64 20 6f 72 20 77 72 69 74 65 20 63 61 6c 6c 20 74 79 70 69 63 61 6c 6c 79 20 72 ┆e read or write call typically r┆ 0x9e0…a00 65 73 75 6c 74 73 20 69 6e 20 61 0a 20 20 20 20 20 73 69 6e 67 6c 65 20 49 2f 4f 20 6f 70 65 72 ┆esults in a single I/O oper┆ 0xa00…a20 61 74 69 6f 6e 3b 20 74 68 65 72 65 66 6f 72 65 20 64 69 72 65 63 74 20 64 69 73 6b 20 49 2f 4f ┆ation; therefore direct disk I/O┆ 0xa20…a40 20 69 73 20 6d 6f 73 74 0a 20 20 20 20 20 65 66 66 69 63 69 65 6e 74 20 77 68 65 6e 20 6c 61 72 ┆ is most efficient when lar┆ 0xa40…a60 67 65 20 62 75 66 66 65 72 73 20 61 72 65 20 72 65 61 64 20 6f 72 20 77 72 69 74 74 65 6e 2e 0a ┆ge buffers are read or written. ┆ 0xa60…a80 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 ┆ S S S SE E E EE E E E A A A AL ┆ 0xa80…aa0 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 44 65 76 69 63 65 73 ┆L L LS S S SO O O O Devices┆ 0xaa0…ac0 20 61 6e 64 20 46 61 63 69 6c 69 74 69 65 73 20 28 34 29 3a 20 20 76 6f 6c 75 6d 65 0a 20 20 20 ┆ and Facilities (4): volume ┆ 0xac0…ae0 20 20 53 79 73 74 65 6d 20 4d 61 6e 61 67 65 72 20 43 6f 6d 6d 61 6e 64 73 20 28 38 29 3a 20 20 ┆ System Manager Commands (8): ┆ 0xae0…b00 66 6f 72 6d 61 74 64 69 73 6b 2c 20 6d 6b 6e 6f 64 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 ┆formatdisk, mknod March 1989 ┆ 0xb00…b20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 ┆ TX Pr┆ 0xb20…b37 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a ┆ogrammer's Reference ┆