System Administration Guide: Devices and File Systems

ProcedureSPARC: How to Create a UFS File System

Steps
  1. Become superuser or assume an equivalent role.

  2. Create a file system for each slice.


    # newfs /dev/rdsk/cwtxdysz
    

    /dev/rdsk/cwtxdysx is the raw device for the file system to be created.

    For more information about the newfs command, see Chapter 16, Creating UFS, TMPFS, and LOFS File Systems (Tasks) or newfs(1M).

  3. Verify the new file system by mounting it.


    # mount /dev/dsk/cwtxdysz /mnt
    # ls lost+found
See Also