encyclopegia.org

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

Related articles

fly-killing device

stub · references available

WWE Raw

stub · references available

Raw

stub · references available

pointing device

stub · references available

doomsday device

stub · references available

practical joke device

stub · references available

wingtip device

stub · references available

sound recording device

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1310405644 · 0.5 · snapshot enwiki-001310405644

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.