Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!newsfeed.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!usc!sdd.hp.com!nntp.coast.net!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: tar on floppy Date: 3 Aug 1996 20:24:45 GMT Organization: Private BSD site, Dresden Lines: 21 Message-ID: <4u0cid$qnk@uriah.heep.sax.de> References: <320057E5.22C5@bmgsk.ada.at> 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-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Alexander Hausner <alexander.hausner@bmgsk.ada.at> wrote: > I use tar cvf /dev/fd0 <dirname> to backup a directory on a 1.44 MB > floppy, but it does not put 1.44 MB on disk, only about 1/4 or so. Strange. What does it tell you then? Btw., you are not supposed to use the buffered device for this kind of work. Better use the unbuffered device, /dev/rfd0. This prevents you from surprises with the buffering, and provides you with better error reporting. (The buffered devices return OK since the data have been buffered, but can report later errors only into the syslog. The raw devices can report errors back to the caller, since they wait until the IO is complete.) -- 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. ;-)