Once upon a time, Rob wrote:
>Now it turns out that a mkswap is very trivial. For a VDISK of 20,000
>blocks formatted 4K this works:

> 'PIPE',
>   '  strliteral /SWAPSPACE2/',
>   '| xlate e2a',
>   '| spec pad 00',
>         'x01   1028',
>         'x1859 1031',
>         '1-*   4087',
>   '| spec ,1, 10 1-* n',
>   '| fileupdate DISK0202 LINUX J'
>
>And if I tell you the x1859 is the number of 4K blocks -2 then it is SMOP
>to take the output of LISTFILE and do it right.

Trying to do the SMOP here and I'm not getting it - maybe I need some
coffee.  So 20,000 512 byte blocks formatted 4K is 2500 blocks.
Where does x1859 come from?

Marcy Cortes
Wells Fargo Services Co
San Francisco

Reply via email to