What generates the “text file busy” message in Unix?

前端 未结 12 1976
渐次进展
渐次进展 2020-12-04 06:38

What operation generates the error \"text file busy\"? I am unable to tell exactly.

I think it is related to the fact that I\'m creating a temporary python script (u

12条回答
  •  我在风中等你
    2020-12-04 07:03

    root@h1:bin[0]# mount h2:/ /x             
    root@h1:bin[0]# cp /usr/bin/cat /x/usr/local/bin/
    root@h1:bin[0]# umount /x
    ...
    root@h2:~[0]# /usr/local/bin/cat 
    -bash: /usr/local/bin/cat: Text file busy
    root@h2:~[126]#
    
    ubuntu 20.04, 5.4.0-40-generic
    nfsd problem, after reboot ok
    

提交回复
热议问题