{"url":"https://blog.tmtms.net/entry/20090415/1239812539","categories":["Linux"],"height":"190","author_url":"https://blog.hatena.ne.jp/tmtms/","title":" NFS \u3067\u6392\u4ed6\u5236\u5fa1","published":"2009-04-15 01:22:19","author_name":"tmtms","type":"rich","provider_name":"Hatena Blog","blog_title":"tmtms \u306e\u30e1\u30e2","image_url":null,"width":"100%","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F20090415%2F1239812539\" title=\" NFS \u3067\u6392\u4ed6\u5236\u5fa1 - tmtms \u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://blog.tmtms.net/","description":"NFS \u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3059\u308b flock() \u306f\u50cd\u304b\u306a\u3044\u3002man 2 flock \u306b\u3082\u6b21\u306e\u3088\u3046\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u3002 flock() does not lock files over NFS. Use fcntl(2) instead: that does work over NFS, given a sufficiently recent version of Linux and a server which supports locking. \u3053\u308c\u306f\u5e38\u8b58\u2026\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u3069\u3046\u3084\u3089 Linux 2.6.12 \u4ee5\u964d\u306f\u3061\u3083\u3093\u3068\u50cd\u304f\u3089\u3057\u3044\u3002 The NFS client in 2.6.12 prov\u2026","version":"1.0"}