Sorry, the last mail didn't get a followup to the list... that should
explain it:
----forwarded mail----
>>>>> "oliver" == Oliver Feiler <kiza@gmxpro.net> writes:
oliver> Juan Quintela wrote:
>>
>> Since 2.4.16-preX, you can't remove a {file,symlink} in devfs created
>> by devfs :(
oliver> Hmm, that'll be it. Since the other systems I tried were both running
oliver> 2.4.17 kernels and I'm with .16 at the moment. Thanks for the hint.
this patch should make the trick (it is a workaround, but it is not
trivial to do it an easier way without still more incestuous
relations, Wating for Richard to do something to the respect.
Later, Juan.
diff -u linux/fs/super.c.orig linux/fs/super.c
--- linux/fs/super.c.orig Fri Jan 4 21:28:24 2002
+++ linux/fs/super.c Fri Jan 4 21:09:45 2002
@@ -1056,8 +1056,8 @@
putname(fs_names);
if (path_start >= 0) {
name = path + path_start;
- devfs_mk_symlink (NULL, "root", DEVFS_FL_DEFAULT,
- name + 5, NULL, NULL);
+// devfs_mk_symlink (NULL, "root", DEVFS_FL_DEFAULT,
+// name + 5, NULL, NULL);
memcpy (name, "/dev/", 5);
}
vfsmnt = alloc_vfsmnt();
----end forward----
-- Oliver Feiler kiza@gmx.net http://www.lionking.org/~kiza/pgpkey PGP key ID: 0x561D4FD2 http://www.lionking.org/~kiza/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/