ublk-cpp v0.1
A ublk library for std::execution.
Loading...
Searching...
No Matches
loop.cpp File Reference

A ublk loop device server. More...

#include <bit>
#include <cerrno>
#include <condy.hpp>
#include <csignal>
#include <cstdint>
#include <cstring>
#include <exception>
#include <fcntl.h>
#include <format>
#include <getopt.h>
#include <iostream>
#include <linux/fs.h>
#include <string>
#include <sys/ioctl.h>
#include <sys/signalfd.h>
#include <sys/stat.h>
#include <system_error>
#include <thread>
#include <ublk.hpp>
#include <unistd.h>

Go to the source code of this file.

Detailed Description

A ublk loop device server.

Maps a regular file or block device into a block device, similar to the kernel loop driver.

Definition in file loop.cpp.