I run my mining expenses through my farm.
It gets a little easier with farming because the IRS and USDA recognize that a farm will have areas that are non-farmable, like forests, or may have mineral resources under the top soil, and it is in the best interest of the nation, and the farm itself, to manage them.
I already have a small gravel pit on my farm, so gold will just be an addition too what I already do, if it seems feasible to do.
If at all possible to meet the standards of being a farm for your county, it is in a person's best interest to do so. The biggest advantage is that a farm does NOT have to be profitable every five years or the IRS considers it to be a failed business. If a "mine" is a business separately, it would have to.
Another big advantage is being grandfathered on environmental laws. My forefathers dug all over this farm, what for, I am not sure, but they cannot possible prove it was not for gravel or gold, and anything dug in areas before 1970, are grandfathered.
There are also a lot of tax advantages, not to mention lower interest rates, and financing options that are just not available if these were separate mining or logging operations.
…
There is one big disadvantage though. Being a single farm entity, everything is one big happy family. I cannot say buy a piece of equipment new for the mining operation, run it for a year or two, then sell it to my farming operation, allowing me to keep the equipment, yet show a loss for the farm, and profit for the mine, all in the same year. The same with logging, you could not have the mine, buy the timber from the logging company, to show profit and loss as a person saw fit. Being all united under the same farm banner, the three enterprises create profit, or create loss, jointly.