Securing Systems and Attached Devices in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

How to Enable Virus Scanning on a File System

Use the file system command to allow virus scans of files. For example, to include a ZFS file system in a virus scan, use the zfs(1M) command.

The ZFS file system allows some administrative tasks to be delegated to specific users. For more information about delegated administration, see Chapter 8, Oracle Solaris ZFS Delegated Administration, in Managing ZFS File Systems in Oracle Solaris 11.2 .

Before You Begin

You must become an administrator who is assigned the ZFS File System Management or the ZFS Storage Management rights profile. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  • Enable virus scanning on a ZFS file system.
    # zfs set vscan=on zfs-file-system

    For example, if the ZFS file system is path/pool/volumes/vol1, then type the following command:

    # zfs set vscan=on path/pool/volumes/vol1