System Administration Guide: Devices and File Systems

ProcedureSPARC: How to Create a UFS File System

  1. Become superuser or assume an equivalent role.

  2. Create a file system for each slice.

    # newfs /dev/rdsk/cwtxdysz

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

    For more information about the newfs command, see Chapter 18, 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 
After Creating a UFS File System ...