Raw device
In computing, specifically in Unix and Unix-like operating systems, a raw device is a special kind of logical device associated with a character device file that allows a storage device such as a hard disk drive to be accessed directly, bypassing the operating system's caches and buffers (although the hardware caches might still be used). Applications like a database management system can use raw devices directly, enabling them to manage how data is cached, rather than deferring this task to the operating system. In FreeBSD, all device files are in fact raw devices. Support for non-raw devices was removed in FreeBSD 4.0 in order to simplify buffer management and increase scalability and performance. In Linux, opening a block device with the flag replaces raw device usage. Raw devices were removed entirely from the Linux kernel in the 5.14 release.
In computing, specifically in Unix and Unix-like operating systems, a raw device is a special kind of logical device associated with a character device file that allows a storage device such as a hard disk drive to be accessed directly, bypassing the operating system's caches and buffers (although the hardware caches might still be used). Applications like a database management system can use raw devices directly, enabling them to manage how data is cached, rather than deferring this task to the operating system. In FreeBSD, all device files are in fact raw devices. Support for non-raw devices was removed in FreeBSD 4.0 in order to simplify buffer management and increase scalability and performance. In Linux, opening a block device with the flag replaces raw device usage. Raw devices were removed entirely from the Linux kernel in the 5.14 release.
References
No reference rows published for this article.
Cite this article
MLA
"Raw device." encyclopegia.org, 2025, https://encyclopegia.org/wiki/raw-device. Accessed 24 November 2026.
Chicago
"Raw device." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/raw-device.
APA
encyclopegia.org. (2025). Raw device. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/raw-device
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON