Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!yarrina.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!howland.reston.ans.net!blackbush.xlink.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: fdformat & mount simple question Date: 12 Jan 1996 22:50:46 GMT Organization: Private BSD site, Dresden Lines: 34 Message-ID: <4d6ok6$h7c@uriah.heep.sax.de> References: <4d04qn$37t@gol2.gol.com> <4d0s3m$qb9@nntp5.u.washington.edu> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 kargl@troutmask.apl.washington.edu writes: > >But afterwards I couldn't figure out the correct way of mounting the > >floppy, so I couldn't run dump. I tried > > > >mount /dev/fd0 /floppy > > > >but got an "incorrect superblock error". > Read the top of /etc/disktab. It tells you what to do. You > need to disklabel and newfs the formatted disk. Not really. The comments are a bit terse, they leave you with a floppy wasting too much space in useless i-nodes. You should tweak the -l and -i options of newfs, and provide -t0 -u0 to force it using the geometry from the disklabel instead of the internal idea. Anyway, file system floppies just to take a dump are probably overkill. Format the floppies (if they need to), and then use raw floppies, just treat them as if they were magtapes. This wastes less space, and will provide you with better performance. You should limit dump's idea of the volume size with (for example): dump 0uBf 1200 /dev/rfd0 /home This will cause dump to prompt you for the next `tape' after 1200 KB have been written. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)