[00:43:45] Is it a bug that AFS’s link() doesn’t let you overwrite a symlink with a hardlink? $ touch a; ln -s a b; ln -f a b ln: creating hard link `b' => `a': Operation not permitted This works in a local filesystem. [04:03:57] --- meffie has become available [04:06:51] --- pod has become available [05:56:27] --- jaltman has left: Replaced by new connection [05:56:28] --- jaltman has become available [06:05:01] --- deason has become available [06:50:57] --- reuteras has left [07:36:26] It'd be a bug if it were true. [07:36:55] Or, "works for me" [07:39:12] stat("b", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 lstat("a", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 lstat("b", {st_mode=S_IFLNK|0755, st_size=1, ...}) = 0 link("a", "b") = -1 EEXIST (File exists) unlink("b") = 0 link("a", "b") = 0 [08:07:05] --- jaltman has left: Disconnected [08:07:20] --- jaltman has become available [08:41:54] --- jaltman has left: Disconnected [10:00:28] --- rra has become available [10:10:23] --- mlane has become available [10:24:21] --- jaltman has become available [14:10:44] --- kaj@kth.se has become available [15:12:41] --- deason has left [16:06:50] --- deason has become available [17:52:50] --- rra has left: Disconnected [18:08:59] --- Russ has become available [18:49:38] --- meffie has left [20:53:52] --- jaltman has left: Replaced by new connection [20:53:53] --- jaltman has become available [21:25:19] --- deason has left [22:01:10] --- mlane has left [22:01:10] --- mlane has become available [22:49:43] --- kaj@kth.se has left [23:03:29] --- reuteras has become available [23:12:41] --- Russ has left: Disconnected [23:57:10] --- kaj has become available