jail getfsstat patches.

From: Julian Elischer <julian_at_elischer.org>
Date: Fri, 25 Jun 2004 18:15:41 -0700 (PDT)
There are patches around to make 'df' and 'mount'
show pretty much the exact right thing from a jail.

In both -current and 4.x

I propose to commit these.

http://garage.freebsd.pl/
"jailfsstat - With this kernel module process in jail can only see file
systems mounted inside."

for 4.x

and

    http://sources.zabbadoz.net/freebsd/jail.html
for 5.x

with possible small changes..

e.g. the 4.x version would not be a module 
but would have a sysclt to turn it on 
(off by default)

and the 5.x version may require osme small work too..


Does anyone violently object to these?

The fact that df or mount shows so much not only confuses the hell
out of users, it makes scripts fail in odd ways.
(and bugs the hell out of me too).

julian
Received on Fri Jun 25 2004 - 23:16:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:59 UTC