Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!col.hp.com!usenet.eel.ufl.edu!news.mathworks.com!newshost.marcam.com!usc!howland.reston.ans.net!Germany.EU.net!news.dfn.de!gs.dfn.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: mount floppy Date: 28 Sep 1995 23:29:44 +0100 Organization: Private FreeBSD site, Dresden. Lines: 47 Message-ID: <44f7ko$139@uriah.heep.sax.de> References: <DFKs5t.2qo@cerc.wvu.edu> NNTP-Posting-Host: uriah.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Vijay Konkimalla <konki@cerc.wvu.edu> wrote: > How do I mount the floppy disk. You need a file system on the floppy disk. For an MSDOS floppy, use mount -t msdos /dev/fd0 /mnt If you care to create an ufs floppy (native BSD file system), use disklabel -r -w -B fd0 fd1440 newfs -t2 -u18 -l1 -i65536 /dev/rfd0a to (high-level) format the floppy, then mount /dev/fd0 /mnt > ( i would like to do a backup ) Most people prefer handling floppies using sequential IO for things like backups. This method doesn't have an equivalent under DOS, but is rather similar to handling (streamer) tapes. Hence, all the commands applicable to tape backups apply as well. Read the man pages for tar(1), cpio(1), and dump(8)/restore(8) for an explanation of the available utilities. A simple example: cd / tar -cvf /dev/rfd0 root to save root's home directory. If the archive will span across multiple floppies, try: cd /home tar -cvf /dev/rfd0 -M 1440 usershomedir to backup /home/usershomedir onto 1.44 MB floppies. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)