Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NFS に対していくつかの実験を実行しており、NFS マウントでファイルを開いてダウングレードしたいと考えていますが、どの python コマンドを使用すればよいかわかりません。
オープン所有者が同じファイルを異なるアクセスおよび拒否値で複数回開いた場合、オープンの 1 つを閉じると、NFS サーバーで open_downgrade が呼び出されます。
fd1 = open("/home/ubuntu/v4/foo", 'r') fd2 = open("/home/ubuntu/v4/foo", 'w') fd1.close()