Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!agate.berkeley.edu!cgd From: cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou) Newsgroups: comp.os.386bsd.apps Subject: Re: Disklabel to Disktab Filter Date: 20 Jul 93 20:08:32 Organization: Kernel Hackers 'r' Us Lines: 27 Message-ID: <CGD.93Jul20200832@eden.CS.Berkeley.EDU> References: <JJH.93Jul21112400@cserve.cs.adfa.oz.au> NNTP-Posting-Host: eden.cs.berkeley.edu In-reply-to: jjh@cserve.cs.adfa.oz.au's message of Wed, 21 Jul 1993 01:24:00 GMT In article <JJH.93Jul21112400@cserve.cs.adfa.oz.au> jjh@cserve.cs.adfa.oz.au (Joe Holloway) writes: >Here is a little script for converting the output of disklabel >for insertion into the disktab file. it's also worth remembering, that once you've got a label on your disk, you can say disklabel disk > foofile and then at a later time: disklabel -R -r < foofile to restore the old label... note that this will only work if the label on the disk is "acceptable" to disklabel -- i.e. all of the partitions fit the disk, etc. unless i'm mistaken the 386bsd0.1 install program *doesn't* generate labels that disklabel considers "reasonable". chris -- Chris G. Demetriou cgd@cs.berkeley.edu "386bsd as depth first search: whenever you go to fix something you find that 3 more things are actually broken." -- Adam Glass