System Administration Guide: Devices and File Systems

Procedurex86: How to Create File Systems

Steps
  1. Become superuser or assume an equivalent role.

  2. Create a file system for each slice.


    # newfs /dev/rdsk/cwtxdysz
    

    /dev/rdsk/cwtxdysz 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.


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