This is probably a very simple, bordering on stupid, question; so apologies for that.
Do nullfs mounts (of host filesystems) within a jail count toward actual disk usage?
If I mount a host filesystem in a jail as a read-only nullfs, doing
Of course, I can do
Do nullfs mounts (of host filesystems) within a jail count toward actual disk usage?
If I mount a host filesystem in a jail as a read-only nullfs, doing
du
on the jail includes the (size of the) mounted filesystems. Similarly, a du
on the root /
seems to double-count the mounted fs - once for itself, and another time within the jail. Of course, I can do
du -x
to exclude the file system mount, but that's not the point, I'm more concerned with the actual disk usage. For the purposes of this question, there is just one HDD as storage. I'm almost sure that a mounted fs shouldn't count toward actual disk usage, but it could be my naïveté.