---
title: "init(tag:)"
framework: virtualization
role: symbol
role_heading: Initializer
path: "virtualization/vzvirtiofilesystemdeviceconfiguration/init(tag:)"
---

# init(tag:)

Creates a configuration for a VIRTIO file system device.

## Declaration

```swift
init(tag: String)
```

## Parameters

- `tag`: The label identifying this device in the guest.

## Discussion

Discussion The system presents the tag as a label in the guest identifying this device for mounting. The tag must be valid, which you can check with validateTag(_:).

## See Also

### Related Documentation

- [validateTag(_:)](virtualization/vzvirtiofilesystemdeviceconfiguration/validatetag(_:).md)
