Miscellaneous: formatting a floppy

(last edit: 2002-09-17) To format a floppy for use with bsd (so that it doesn't have the msdos FS anymore) follow these easy steps: (1) format the disk using the command "fdformat /dev/rfd0" (2) use disklabel to label it like so: "disklabel -w -r /dev/rfd0 fd1440" (3) And actually add a filesystem to it with: "newfs /dev/rfd0" In the end something like this should have scrolled by: ------------------------------------------ 0:root@lord [/root> fdformat /dev/rfd0 Format 1440K floppy `/dev/rfd0'? (y/n): y Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done. 0:root@lord [/root> disklabel -w -r /dev/rfd0 fd1440 0:root@lord [/root> newfs /dev/rfd0 Warning: Block size restricts cylinders per group to 6. Warning: 1216 sector(s) in last cylinder unallocated /dev/rfd0: 2880 sectors in 1 cylinders of 1 tracks, 4096 sectors 1.4MB in 1 cyl groups (6 c/g, 12.00MB/g, 736 i/g) super-block backups (for fsck -b #) at: 32 0:root@lord [/root> ------------------------------------------ If you want to mount the floppy afterwards to actually use it, use this command: "mount /dev/fd0 /mnt" And remeber to unmount if before ejecting it! (like so: "umount /mnt") Questions? Use the forum! -Sjoerd

Click here to go back to the index.