home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.96 / text4936.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  2.3 KB  |  78 lines

  1.     id m0u8JCT-0007rka; Sat, 13 Apr 96 22:14 MDT
  2. Sender: owner-executor
  3. Received: from ardi.com by ftp.ardi.com
  4.     (Smail3.1.29.1 #3) id m0u8JBn-0007rfn; Sat, 13 Apr 96 22:13 MDT
  5. Path: sloth.swcp.com!tesuque.cs.sandia.gov!ferrari.mst6.lanl.gov!nntp-server.caltech.edu!fnnews.fnal.gov!muir.math.niu.edu!mp.cs.niu.edu!corn.cso.niu.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!csn!news-1.csn.net!ub!newsstand.cit.cornell.edu!wmagro
  6. From: wmagro@msc.cornell.edu (William Magro)
  7. Newsgroups: comp.emulators.mac.executor
  8. Subject: Making an executor partition
  9. Date: 13 Apr 1996 06:34:12 GMT
  10. Organization: Cornell University
  11. Lines: 57
  12. Message-ID: <4knht4$65u@newsstand.cit.cornell.edu>
  13. NNTP-Posting-Host: theory.tc.cornell.edu
  14. X-Newsreader: TIN [version 1.2 PL2]
  15. To: executor@ardi.com
  16. X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
  17. Sender: owner-executor@ardi.com
  18. Precedence: bulk
  19.  
  20. All the talk about executor partitions gave me an idea.
  21. The following works under linux (and probably NextStep) to get
  22. an mac formatted partition.  Be careful.  If you don't understand
  23. what is follows, you probably shouldn't try it, since you may
  24. inadvertantly clobber your existing data.  I did this
  25. on my swap partition (/dev/hda3) just to see if it would work.
  26.  
  27.  
  28. First, choose a partition and determine its size:
  29.  
  30. % dd if=/dev/hda3 of=/dev/null bs=1024
  31. 32760+0 records in
  32. 32760+0 records out
  33.  
  34. Next create an hfv file of this size using makehfv:
  35.  
  36. % makehfv bob.hfv ExecutorPartition 32760K
  37. % du -s bob.hfv
  38. 526     bob.hfv
  39.  
  40. As you can see, the file bob.hfv doesn't really consume much
  41. space, even though it is a 32M file (perhaps because it
  42. contains mostly zeros).
  43.  
  44. Now copy the file to the partition:
  45.  
  46. % dd if=bob.hfv of=/dev/hda3
  47. 32760+0 records in
  48. 32760+0 records out
  49.  
  50. or simply:
  51.  
  52. % cp bob.hfv /dev/hda3
  53.  
  54. Finally, make a symbolic link from the partition to a file
  55. ending in .hfv:
  56.  
  57. % cd ~/MacVols
  58. % ln -s /dev/hda3 hda3.hfv
  59.  
  60. Now executor will happily use the partition as a drive:
  61.  
  62. % setenv MacVolumes ~/MacVols
  63. % executor
  64.  
  65. FWIW, the much simpler approaches:
  66.  
  67. % makehfv /dev/hda3 ExecutorPartition 33760K
  68.  
  69. and
  70.  
  71. % ln -s /dev/hda3 hda3.hfv
  72. % makehfv hda3.hfv ExecutorPartition 33760K
  73.  
  74. don't work, due to precautions taken by the makehfv program.
  75.  
  76. --Bill Magro
  77.  
  78.