]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Some tweaks to get this to cope with ELF where the address space starts
authorpeter <peter@FreeBSD.org>
Sat, 13 Sep 1997 11:41:50 +0000 (11:41 +0000)
committerpeter <peter@FreeBSD.org>
Sat, 13 Sep 1997 11:41:50 +0000 (11:41 +0000)
commit763b84b2965e460b085c5f5e2edd1fda366f7841
tree0fe42166fe0a90bad4815970c0a830885b25ff9a
parentfeaeba35cd6a2eb29f6751f4ea6527b8966d49c8
Some tweaks to get this to cope with ELF where the address space starts
higher up in memory (0x0800000 upwards) rather than near zero (0x1000
for our qmagic a.out format).  The method that mount_mfs uses to allocate
the memory within data size rlimits for the ram disk is entirely too much
of a kludge for my liking.  I mean, if it's run as root, surely it makes
sense to just raise the resource limits to infinity or something, and if
it's a non-root user mount (do these work? with mfs?) it could just fail
if it's outside limits.
sbin/newfs/mkfs.c