home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / protocol / nfs / 2748 < prev    next >
Encoding:
Text File  |  1992-11-11  |  5.0 KB  |  148 lines

  1. Newsgroups: comp.protocols.nfs
  2. Path: sparky!uunet!mcsun!sun4nl!sci.kun.nl!news
  3. From: petervc@sci.kun.nl (Peter van Campen)
  4. Subject: Minimizing size of PC-NFS4.0a boot floppy. More ideas than these?
  5. Message-ID: <BxK6LL.6zo@sci.kun.nl>
  6. Keywords: minimum size PC-NFS4.0a boot floppy
  7. Sender: news@sci.kun.nl (NUnet News Owner)
  8. Organization: University of Nijmegen, The Netherlands
  9. Date: Wed, 11 Nov 1992 15:48:57 GMT
  10. Lines: 136
  11.  
  12.  
  13. We are busy making an MS-DOS5 bootable floppy that starts PC-NFS4.0a
  14. with a >minimal size< of the bootflop.  Maybe someone is interested in
  15. the same thing, then we could share ideas.  If I get enough response that
  16. is not posted to the net, I'll post a summary.
  17.  
  18. The reason why we want a minimally-sized bootflop, is that we have a
  19. classroom of PC/XT's with only 640kb memory, that boot from a (Dirk
  20. K\"oppen) boot-ROM.  A minimally-sized bootflop is needed, since the
  21. image of the flop is downloaded as a RAM-disk, and one needs to have
  22. some memory left to start PC-NFS.
  23.  
  24. These PC's now use the boot-ROM to get MS-DOS5 and PC-NFS3.0.1, and the main
  25. methods to make it work were:
  26.     - delete all non-necessary files
  27.     - compress (with PKLITE) most of the .COM and .EXE files
  28.     - use a 306kb full, 34-track (instead of 40-track) formatted floppy.
  29.  
  30. We have an MS-DOS5 PC-NFS4.0a bootflop that works for starting PC-NFS, but
  31. it is still too large, and some of the methods used are not great.
  32. Below I will describe the contents of the flop in detail,
  33. but first my questions:
  34.  
  35. 1) Is there some way to get rid of RNMFILE.EXE? All hostname <-> address
  36.    info comes from NIS in our case, so I could do without RNMFILE.EXE.
  37.    Simply deleting it, or my guess at adjusting NETCONF results in a
  38.    flop that can't start PC-NFS anymore.
  39.  
  40. 2) Does anybody have any ideas to make PCNFS.MSG less than 37680 bytes?
  41.    We deleted PCNFS.MSG from the floppy, and start PC-NFS using
  42.    'net -q init'. After we mount an NFS-drive, we point NFSPATH to
  43.    a full directory (e.g. containing PCNFS.MSG). Of course, if we do not
  44.    use the '-q' the first messages look bad ("PC-NFS message #???").
  45.    The best solution for us probably would be a small PCNFS.MSG (only
  46.    messages related to the first actions).
  47.  
  48. 3) We are going to try to cut the last track(s) off the RAM-disk after
  49.    CONFIG.SYS has been read (PCNFS.SYS could be on the last tracks, e.g.).
  50.    Thereby some memory occupied by the RAM-disk would be released.
  51.    If this works there will be ample memory for starting PC-NFS, the only
  52.    goal then is to get a nice, working, 360kb PC-NFS4 bootflop.
  53.    
  54. 4) Anybody have any more/better ideas?
  55.  
  56.             Greetings,
  57.             Peter van Campen
  58. -----------------------------------------------------------------------------
  59. Peter van Campen, petervc@sci.kun.nl,  Computer and Communications Department
  60. Faculty of Science, University of Nijmegen, 6525 ED NIJMEGEN, The Netherlands
  61. -----------------------------------------------------------------------------
  62. Read below for a detailed description of our current PC-NFS4.0a MS-DOS5 flop
  63.  
  64.  
  65. The current size of the bootflop is approximately:
  66.     362496 bytes total disk space
  67.      71680 bytes in 2 hidden files
  68.       2048 bytes in 2 directories
  69.     269312 bytes in 18 user files
  70.      19456 bytes available on disk
  71.       1024 bytes in each allocation unit
  72.        354 total allocation units on disk
  73.         19 available allocation units on disk
  74.  
  75. File/dir contens of the flop: (with sizes in bytes)
  76.               293 autoexec.bat
  77.               222 config.sys
  78.               512 dos/
  79.               512 nfs-40a/
  80.     dos:
  81.             30976 command.com
  82.              9029 ansi.sys
  83.     nfs-40a:
  84.             62273 net.exe
  85.             60448 pcnfs.sys
  86.             34658 rnmnis.exe
  87.             32325 rtm.exe
  88.             18662 rnmfile.exe
  89.              3168 wd8003e.sys
  90.              2975 prt.com
  91.              1336 sockdrv.sys
  92.               534 services
  93.               308 netconf
  94.               138 aft_init.bat
  95.               113 network.bat
  96.                85 drives.bat
  97.                27 hosts
  98.  
  99. The following files were compressed with PKLITE: net.exe prt.com command.com
  100. This helps a lot:
  101.     net.exe:     110364 --> 62273 bytes
  102.     command.com:  47845 --> 30976 bytes
  103.     prt.com:       5436 -->  2975 bytes
  104.  
  105.  
  106. Contents of config.sys:
  107.     FILES=60
  108.     SHELL=a:\DOS\COMMAND.COM a:\DOS\ /e:1024 /p
  109.     BUFFERS=16
  110.     device=a:\dos\ansi.sys
  111.     DEVICE=a:\NFS-40a\PCNFS.SYS /f32 /m
  112.     DEVICE=a:\NFS-40a\SOCKDRV.SYS
  113.     DEVICE=a:\NFS-40a\WD8003E.SYS /i7 
  114.     LASTDRIVE=V
  115.     STACKS=9,256
  116. Contents of autoexec.bat:
  117.     @echo off
  118.     set TZ=WET-0CDT
  119.     set NFSPATH=a:\NFS-40A
  120.     PROMPT $p$g
  121.     PATH a:\nfs-40a;a:\dos
  122.     set COMSPEC=a:\dos\command.com
  123.     a:\nfs-40a\prt *
  124.     a:\nfs-40a\net -q init
  125.     set NFSPATH=Q:\NFS-40a
  126.     call a:\nfs-40a\aft_init.bat
  127.     PATH q:\msdos50;q:\nfs-40a;q:\utils
  128.     set comspec=q:\msdos50\command.com
  129.     H:
  130. Contents of network.bat:
  131.     NET NISDOMAIN SoMeThiNg.AbC.nl.
  132.     NET START RDR
  133.     NET SUBNET 255.255.252.0
  134.     NET NISSET *
  135.     NET ROUTE cisco
  136.     NET UMASK 022
  137. Contents of drives.bat:
  138.     NET USE Q: pc-srv:/vol/pc-share /ro
  139.     NET USE LPT1: lp-srv:lp
  140. Contents of aft_init.bat:
  141.     @echo off
  142.     net login *
  143.     net name >NUL
  144.     net use h: home-srv:$HOME
  145.     rdate time-server
  146.     cls
  147.     net all
  148.