home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 2630 < prev    next >
Encoding:
Text File  |  1992-07-22  |  3.6 KB  |  86 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!tarpit!phoenix!rd
  3. From: rd@phoenix.aii.com (Robert D. Thrush)
  4. Subject: Re: 386bsd0.1
  5. In-Reply-To: wzhang@cse.fau.edu's message of 22 Jul 92 03: 21:21 GMT
  6. Message-ID: <RD.92Jul22160729@phoenix.aii.com>
  7. Sender: rd@pixie.aii.com (Robert D. Thrush)
  8. Organization: Automation Intelligence, Inc.
  9. References: <1992Jul22.032121.22191@cybernet.cse.fau.edu>
  10. Distribution: comp.unix.bsd
  11. Date: Wed, 22 Jul 1992 20:07:46 GMT
  12. Lines: 72
  13.  
  14. In article <1992Jul22.032121.22191@cybernet.cse.fau.edu> wzhang@cse.fau.edu (Wei Zhang) writes:
  15. >I am new to this group. I have access to SUNSparc stations. Now I have
  16. >ftped some binary files, eg. dist.fs, etc., how do I cpio them to floppy?
  17. >We have a 1.4M floppy driver in our system. Beyond that, once I get the
  18. >bootable disk, how do I get the binary into the floppy. I think that
  19. >I would do it on the SUN system rather than kermit the executable to my 
  20. >PC, which takes long long time. I do not want to rawrite either. Please
  21. >any help is appreciated. I figure that these are rather simple questions.
  22.  
  23.   I created simpleminded scripts (attached) for the binary
  24. distribution.  (I got the ethernet working before I needed to deal
  25. with the other parts.)
  26.  
  27.   mkflops makes 10 images which wtflops parcels out the sparcs's
  28. /dev/fd0 with a prompt between diskettes.  Moving over to the 386bsd
  29. side,  cd to /tmp and do "cpio -icvuma </dev/rfd0a" for each of the
  30. 10 diskettes.
  31.  
  32. ----- mkflops -----
  33. #! /bin/sh
  34.  
  35. HERE=`pwd`
  36. cd /nfs/ngc/386bsd/386bsd-0.1/Dist/bindist 
  37.  
  38. echo Doing bin.01
  39. ls bin01.00 bin01.01 bin01.02 bin01.03 bin01.04 bin01.05 | cpio -ocv >$HERE/bin.01
  40. echo Doing bin.02
  41. ls bin01.06 bin01.07 bin01.08 bin01.09 bin01.10 bin01.11 | cpio -ocv >$HERE/bin.02
  42. echo Doing bin.03
  43. ls bin01.12 bin01.13 bin01.14 bin01.15 bin01.16 bin01.17 | cpio -ocv >$HERE/bin.03
  44. echo Doing bin.04
  45. ls bin01.18 bin01.19 bin01.20 bin01.21 bin01.22 bin01.23 | cpio -ocv >$HERE/bin.04
  46. echo Doing bin.05
  47. ls bin01.24 bin01.25 bin01.26 bin01.27 bin01.28 bin01.29 | cpio -ocv >$HERE/bin.05
  48. echo Doing bin.06
  49. ls bin01.30 bin01.31 bin01.32 bin01.33 bin01.34 bin01.35 | cpio -ocv >$HERE/bin.06
  50. echo Doing bin.07
  51. ls bin01.36 bin01.37 bin01.38 bin01.39 bin01.40 bin01.41 | cpio -ocv >$HERE/bin.07
  52. echo Doing bin.08
  53. ls bin01.42 bin01.43 bin01.44 bin01.45 bin01.46 bin01.47 | cpio -ocv >$HERE/bin.08
  54. echo Doing bin.09
  55. ls bin01.48 bin01.49 bin01.50 bin01.51 bin01.52 bin01.53 | cpio -ocv >$HERE/bin.09
  56. echo Doing bin.10
  57. ls bin01.54 bin01.55 bin01.56  MANIFEST | cpio -ocv >$HERE/bin.10
  58.  
  59.  
  60. ----- wtflops -----
  61. #! /bin/sh
  62.  
  63. echo Doing bin.01 - Insert floppy and hit enter
  64. read dummy ; dd if=bin.01 of=/dev/fd0 bs=18b ; eject
  65. echo Doing bin.02 - Insert floppy and hit enter
  66. read dummy ; dd if=bin.02 of=/dev/fd0 bs=18b ; eject
  67. echo Doing bin.03 - Insert floppy and hit enter
  68. read dummy ; dd if=bin.03 of=/dev/fd0 bs=18b ; eject
  69. echo Doing bin.04 - Insert floppy and hit enter
  70. read dummy ; dd if=bin.04 of=/dev/fd0 bs=18b ; eject
  71. echo Doing bin.05 - Insert floppy and hit enter
  72. read dummy ; dd if=bin.05 of=/dev/fd0 bs=18b ; eject
  73. echo Doing bin.06 - Insert floppy and hit enter
  74. read dummy ; dd if=bin.06 of=/dev/fd0 bs=18b ; eject
  75. echo Doing bin.07 - Insert floppy and hit enter
  76. read dummy ; dd if=bin.07 of=/dev/fd0 bs=18b ; eject
  77. echo Doing bin.08 - Insert floppy and hit enter
  78. read dummy ; dd if=bin.08 of=/dev/fd0 bs=18b ; eject
  79. echo Doing bin.09 - Insert floppy and hit enter
  80. read dummy ; dd if=bin.09 of=/dev/fd0 bs=18b ; eject
  81. echo Doing bin.10 - Insert floppy and hit enter
  82. read dummy ; dd if=bin.10 of=/dev/fd0 bs=18b ; eject
  83. -- 
  84. Bob Thrush rd@aii.com (407) 661-7089    Fax-(407) 661-6966
  85. Automation Intelligence,Inc. -- 850 Trafalgar Court, Maitland, FL 32751
  86.