Solaris > Format floppy, UFS file system, fix bad blocks

by on January 28, 2005 · 0 comments· Last updated January 28, 2005

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:

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 8 + 10 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: