]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the d_flags of mem devices D_DISK to signify that they are disk-like
authorBrian Feldman <green@FreeBSD.org>
Sun, 12 Sep 1999 16:38:43 +0000 (16:38 +0000)
committerBrian Feldman <green@FreeBSD.org>
Sun, 12 Sep 1999 16:38:43 +0000 (16:38 +0000)
commit1a351c9ee4ef68992058f3e41afd7ccb91cfc032
tree130eb740476ade5de439cc5f579687ac1d80ac7b
parent57129f42d5be6b6ecc10a253582e5baebab6933f
Make the d_flags of mem devices D_DISK to signify that they are disk-like
random-seekable devices. This lets dd(1) know it can seek on them. It
also affects spec_vnopen() (IIRC), but only makes the path of execution smaller,
and does not change its behavior. This is when securelevel >= 2.
sys/alpha/alpha/mem.c
sys/amd64/amd64/mem.c
sys/i386/i386/mem.c