The rmformat utility is used to format, label, partition, and perform other miscellaneous functions on removable, rewritable media that include floppy drives, IOMEGA Zip/Jaz products, USB mass strorage and the PCMCIA memory and ata cards.
The mkfs utility constructs a file system on the device (format i.e. create file system).
Format floppy:
1) Use the command rmformat to format the floppy disk:
rmformat –F quick /dev/rdiskette
OR
rmformat –F quick /vol/dev/diskette0
OR
rmformat –F long /dev/rdiskette
OR
rmformat –F long /vol/dev/diskette0
Where,
- -F long : Formatting with media verification
- -F quick : Formatting w/o media verification
Solaris >Create the UFS file system on floppy
1) Use the command rmformat to format the floppy disk:
# newfs /dev/rdiskette
Solaris > How to check the floppy disk (scan disk i.e. just like scandisk in windows)
1) Use the command fsck:
# fsck –F ufs /dev/rdiskette
Solaris > Create the PCFS (FAT) file system on floppy:
1) Use the command mkfs command to format the floppy disk using FAT file system:
# mkfs –F pcfs /dev/rdiskette
Solaris > How to fix bad blocks on floppy
1) Use the command rmformat to with –c {block number} switch to fix bad block:
# rmformat -c 32 /dev/rdiskette
2) Then verify that it was fixed as follows:
# rmformat –V read /dev/rdiskette
(Check out all of our posts on Solaris)
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop











{ 0 comments… add one now }