home *** CD-ROM | disk | FTP | other *** search
- id m0u8JCT-0007rka; Sat, 13 Apr 96 22:14 MDT
- Sender: owner-executor
- Received: from ardi.com by ftp.ardi.com
- (Smail3.1.29.1 #3) id m0u8JBn-0007rfn; Sat, 13 Apr 96 22:13 MDT
- 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
- From: wmagro@msc.cornell.edu (William Magro)
- Newsgroups: comp.emulators.mac.executor
- Subject: Making an executor partition
- Date: 13 Apr 1996 06:34:12 GMT
- Organization: Cornell University
- Lines: 57
- Message-ID: <4knht4$65u@newsstand.cit.cornell.edu>
- NNTP-Posting-Host: theory.tc.cornell.edu
- X-Newsreader: TIN [version 1.2 PL2]
- To: executor@ardi.com
- X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
- Sender: owner-executor@ardi.com
- Precedence: bulk
-
- All the talk about executor partitions gave me an idea.
- The following works under linux (and probably NextStep) to get
- an mac formatted partition. Be careful. If you don't understand
- what is follows, you probably shouldn't try it, since you may
- inadvertantly clobber your existing data. I did this
- on my swap partition (/dev/hda3) just to see if it would work.
-
-
- First, choose a partition and determine its size:
-
- % dd if=/dev/hda3 of=/dev/null bs=1024
- 32760+0 records in
- 32760+0 records out
-
- Next create an hfv file of this size using makehfv:
-
- % makehfv bob.hfv ExecutorPartition 32760K
- % du -s bob.hfv
- 526 bob.hfv
-
- As you can see, the file bob.hfv doesn't really consume much
- space, even though it is a 32M file (perhaps because it
- contains mostly zeros).
-
- Now copy the file to the partition:
-
- % dd if=bob.hfv of=/dev/hda3
- 32760+0 records in
- 32760+0 records out
-
- or simply:
-
- % cp bob.hfv /dev/hda3
-
- Finally, make a symbolic link from the partition to a file
- ending in .hfv:
-
- % cd ~/MacVols
- % ln -s /dev/hda3 hda3.hfv
-
- Now executor will happily use the partition as a drive:
-
- % setenv MacVolumes ~/MacVols
- % executor
-
- FWIW, the much simpler approaches:
-
- % makehfv /dev/hda3 ExecutorPartition 33760K
-
- and
-
- % ln -s /dev/hda3 hda3.hfv
- % makehfv hda3.hfv ExecutorPartition 33760K
-
- don't work, due to precautions taken by the makehfv program.
-
- --Bill Magro
-
-