Difference between revisions of "Typos"
From PDP/Grid Wiki
Jump to navigationJump to searchm |
|||
(One intermediate revision by the same user not shown) | |||
Line 30: | Line 30: | ||
'/hardware/disks/ide/1/capacity' = 1024; | '/hardware/disks/ide/1/capacity' = 1024; | ||
'/hardware/disks/ide/1/boot' = false; | '/hardware/disks/ide/1/boot' = false; | ||
+ | ... | ||
+ | |||
+ | The same happens in page 12: | ||
+ | |||
+ | ... | ||
+ | 'disk/ide/0/capacity' = 64; | ||
+ | 'disk/ide/0/boot' = true; | ||
+ | 'disk/ide/0/label' = 'system'; | ||
+ | 'disk/ide/1/capacity' = 1024; | ||
+ | 'disk/ide/1/boot' = false; | ||
+ | ... | ||
+ | |||
+ | should be: | ||
+ | |||
+ | ... | ||
+ | 'disks/ide/0/capacity' = 64; | ||
+ | 'disks/ide/0/boot' = true; | ||
+ | 'disks/ide/0/label' = 'system'; | ||
+ | 'disks/ide/1/capacity' = 1024; | ||
+ | 'disks/ide/1/boot' = false; | ||
... | ... |
Latest revision as of 13:40, 12 November 2009
In the page 9 of the Pan Tutorial it is stated:
... '/hardware/disk/ide/0/capacity' = 64; '/hardware/disk/ide/0/boot' = true; '/hardware/disk/ide/0/label' = 'system'; '/hardware/disk/ide/1/capacity' = 1024; '/hardware/disk/ide/1/boot' = false; ...
If the .tpl is compiled:
panc --xml-style=text <.TPL_FILE>
The following error will show up:
validation error [<PATH>/<.TPL_FILE>] record definition contains unexpected field(s): disk element path: '/hardware' type: 'hardware' [<PATH>/<.TPL_FILE>:26.17-32.1] type: 'root' [<PATH>/<.TPL_FILE>:33.13-35.1] path '/' bound to type root in [<PATH>/<.TPL_FILE>:36.12-36.15]
The filed 'disk' is not defined as part of the element 'hardware'; so it needs to be changed to 'disks':
... '/hardware/disks/ide/0/capacity' = 64; '/hardware/disks/ide/0/boot' = true; '/hardware/disks/ide/0/label' = 'system'; '/hardware/disks/ide/1/capacity' = 1024; '/hardware/disks/ide/1/boot' = false; ...
The same happens in page 12:
... 'disk/ide/0/capacity' = 64; 'disk/ide/0/boot' = true; 'disk/ide/0/label' = 'system'; 'disk/ide/1/capacity' = 1024; 'disk/ide/1/boot' = false; ...
should be:
... 'disks/ide/0/capacity' = 64; 'disks/ide/0/boot' = true; 'disks/ide/0/label' = 'system'; 'disks/ide/1/capacity' = 1024; 'disks/ide/1/boot' = false; ...