rxdsk Kernel Module Icotls
This page contains a list of all supported IOCTL commands for an
rxdsk created volume.
As defined in
As defined in the
rxdsk.c source file of the module, the following are for special cases:
- #define INVALID_CDQUERY_IOCTL 0x5331
- #define RXD_GET_STATS 0x0529
The INVALID_CDQUERY_IOCTL macro was implemented to work around an issue surfaced in later versions of
udev in which,
udev is unsure of the type of device and assuming that it may be a CDROM device, it sends an CDROM_GET_CAPABILITY (defined in
include/linux/cdrom.h as 0x5331). This causes a couple of problems when creating an accessing the
rxd block node. The macro was defined so we can appropriately return an -EINVAL upon detection.
The RXD_GET_STATS macro was implemented for possible future support of obtaining statistics for that
rxdsk volume but for now, it only reports the maximum accessed sector (
max_blk_alloc in the
rxdsk_device structure) for archival/restoring support in the
rxadm userland utility.
Each supported command will return its respective values. The rxdsk block device will return an -ENOTTY if the command is not supported.
RapidDisk LX Topics