![]() |
![]() |
EnderUNIX tipsMail to My Friend , Home Page[ FreeBSD ] "Format floppy disk in FreeBSD" - Ülkü SAYILAN - (2004-01-02 11:53:19) [5806] Format floppy disk in FreeBSD (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 after you had formated , use this command: "mount /dev/fd0 /mnt" Caution: remeber to unmount if before ejecting it! (like so: "umount /mnt") (from ugu.org) Mail to My Friend , Home Page |
|