rsext4 0.3.5

A lightweight ext4 file system.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;

/// Mounts an ext4 filesystem from the given block device.
pub fn fs_mount<B: BlockDevice>(dev: &mut Jbd2Dev<B>) -> Ext4Result<Ext4FileSystem> {
    ext4::mount(dev)
}

/// Unmounts a previously mounted ext4 filesystem.
pub fn fs_umount<B: BlockDevice>(fs: Ext4FileSystem, dev: &mut Jbd2Dev<B>) -> Ext4Result<()> {
    ext4::umount(fs, dev)
}