On 18.12.2016 01:38, Adam Vande More wrote:> > I am unable to understand what your intent is here. If you wish to > delete it, you can do: > > find . -inum 10552574 -exec rm {} \;It fails on ?No such file or directory?. This file missing, not much works. I have installed a copy into `/usr/lib` to make the system run again. So, I can't install a new world: `install -C` fails in the same way. -- David Marec https://lapinbilly.eu
David Marec wrote on 2016/12/18 09:30:> On 18.12.2016 01:38, Adam Vande More wrote: >> >> I am unable to understand what your intent is here. If you wish to >> delete it, you can do: >> >> find . -inum 10552574 -exec rm {} \; > > It fails on ?No such file or directory?. > > This file missing, not much works. > I have installed a copy into `/usr/lib` to make the system run again. > > So, I can't install a new world: `install -C` fails in the same way.Then you can boot from recovery media like mfsBSD and unpack good known distribution from kernel.txz and base.txz (or do make installkernel && make installworld from NFS mounted /usr/src and /usr/obj). But if dataset in question is somehow corrupted maybe you need to make different dataset, extract all files, remove old dataset and rename this new dataset. If this is pool error than it will be better to scratch it and start again from backups. Miroslav Lachman
On Sun, Dec 18, 2016 at 2:30 AM, David Marec <david.marec at davenulle.org> wrote:> It fails on ?No such file or directory?. >I can't even replicate this portion of things. Running it under truss might provide more insight into what is happening.> > This file missing, not much works. > I have installed a copy into `/usr/lib` to make the system run again. > > So, I can't install a new world: `install -C` fails in the same way.I think you have larger issues than a single corrupt file. -- Adam