I'd like to mmap a raw /dev/ada drive or partition, but mmap returns "Invalid argument". Is it unsupported?
int fd = open("/dev/ada0p2", O_RDONLY);
if(fd < 0) err(EX_OSERR, "open");
void *p = mmap(0, 32*1024*1024, PROT_READ, MAP_SHARED, fd, 0);
if(p == MAP_FAILED) err(EX_OSERR...
(The High-Integrity Desktop for Serious Workstations)
This is a tentative to conceptualize a hypothetical ‘FreeBSD Workstation’, just in case of some entity eventually get interested on to design and implement it some day.
The main inspiration for this brainstorm is the aiming to...