Path: utzoo!attcan!utgpu!watserv1!watmath!uunet!samsung!brutus.cs.uiuc.edu!apple!fox!portal!cup.portal.com!thad From: thad@cup.portal.com (Thad P Floryan) Newsgroups: unix-pc.general Subject: Re: Sick 3B1 Message-ID: <25030@cup.portal.com> Date: 14 Dec 89 21:09:13 GMT References: <18493@cfctech.UUCP> Organization: The Portal System (TM) Lines: 66 Re: Kevin Darcy's comments and questions, enclosed is a copy of the "Floppy Cheat Sheet" I pass out at out UNIX Users' Group meetings. Many people purchased their systems sans docs, and this one (of many) "sheet" has made life easier for them. Enjoy! Thad Floryan [ thad@cup.portal.com (OR) ..!sun!portal!cup.portal.com!thad ] ============================================================================== For a floppy filesystem (floppy already formatted and mkfs'd): $ mount /dev/fp021 /mnt [ -r ] -r if read only; VERY important if write protect tab is on disk $ umount /dev/fp021 ============================================================================== Reports present formatting of floppy to determine, among other things, the numbers of sectors for when making copies. The floppy must NOT be mounted. $ iv -t /dev/rfp020 ============================================================================== For doing floppy transfers (floppy already formatted; these steps OVERWRITE). Floppy MUST be formatted but NOT mounted with `mount' store: $ find . -cpio /dev/rfp021 Writes to as many floppies as required, and prompts for each. $ find filepath -cpio /dev/rfp021 same as above $ find filename(s) -cpio /dev/rfp021 same as above dir: $ cpio -itBv < /dev/rfp021 $ cpio -itBv < /dev/rfp021 > f.dir writes directory into f.dir restor: $ cpio -iBm < /dev/rfp021 preserves original dates $ cpio -iBm [ patterns ] file+IN write to floppy in install format: $ cat Files | cpio -ocBv > /dev/rfp021 $ find . -print | cpio -ocB > /dev/rfp021 ===============================================================================