Solaris 8 System Administration Supplement

How to Format Removable Media for a PCFS File System

  1. Format the removable media.


    $ rmformat -F quick device-name
    
  2. Become superuser.

  3. (Optional) Create an alternate Solaris fdisk partition table.


    # fdisk device-name
    

    See System Administration Guide, Volume 1 for information on creating an fdisk partition.

  4. Create a PCFS file system.


    # mkfs -F pcfs device-name 
    

Examples--Formatting Removable Media for a PCFS File System

This example includes how to create an alternate fdisk partition.


$ rmformat -F quick /dev/rdsk/c0t4d0s2:c
Formatting will erase all the data on disk.
Do you want to continue? (y/n)y
$ su
# fdisk /dev/rdsk/c0t4d0s2:c 
# mkfs -F pcfs /dev/rdsk/c0t4d0s2:c
Construct a new FAT file system on /dev/rdsk/c0t4d0s2:c: (y/n)? y
#

This example describes how to create a PCFS file system without an fdisk partition.


$ rmformat -F quick /dev/rdiskette
Formatting will erase all the data on disk.
Do you want to continue? (y/n)y
$ su
# mkfs -F pcfs -o nofdisk,size=2 /dev/rdiskette
Construct a new FAT file system on /dev/rdiskette: (y/n)? y
#