Sick 3B1

Thad P Floryan thad at cup.portal.com
Fri Dec 15 08:09:13 AEST 1989


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 at 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 ] </dev/rfp021

------------------------------------------------------------------------------
NOTES:	remove "B" if receive "End of volume; errno: 25, Can't read input"
	add    "c" if receive "Out of phase -- get help"
	add    "d" to a restore to create directories as needed
==============================================================================
Processing UNIXPC installable disks and files ("file+IN"):


Directory of a file+IN: 	$ cpio  -ictBv  <  file+IN


Restore a file+IN or a		$ cd  {dir in which the file will be unpacked}
cpio-file. (Note: the "m"
option to cpio preserves	$ cpio  -icBdum  <  file+IN
the original dates)


Make a file+IN and/or		$ cat  Files  |  cpio  -ocBv  >  file+IN
write to floppy in
install format:			$ cat  Files  |  cpio  -ocBv  >  /dev/rfp021

				$ find  .  -print  |  cpio  -ocB  > /dev/rfp021
===============================================================================



More information about the Unix-pc.general mailing list