Skip to main content

starnix_uapi/
fs_type.rs

1// Copyright 2026 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5use bitflags::bitflags;
6
7bitflags! {
8    /// Flags describing properties of a registered filesystem type.
9    /// Corresponds to Linux `FS_*` flags.
10    #[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
11    pub struct FileSystemTypeFlags: u32 {
12        /// Filesystem requires a block device (corresponds to Linux `FS_REQUIRES_DEV`).
13        const REQUIRES_DEV = 1;
14    }
15}