[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] [trunk] nfs_proc_symlink in dmesg



In <496C8FC1.2060407 (at) gmail.com> Olivier Beau <obeau79 (at) gmail.com> writes:


>the cust-pageset works fine, but i'm getting those in dmesg :

>Jan 13 13:31:33 localhost kernel: nfs_proc_symlink: 
>cust-pageset/index.html already exists??

Seems like an overly sensitive kernel message ... 


You can probably avoid it by modifying bbdisplay/pagegen.c

Index: bbdisplay/pagegen.c
===================================================================
--- bbdisplay/pagegen.c	(revision 5898)
+++ bbdisplay/pagegen.c	(working copy)
@@ -786,7 +786,7 @@
 			sprintf(filename, "bb%s", htmlextension);
 			sprintf(rssfilename, "bb%s", rssextension);
 			sprintf(indexfilename, "index%s", htmlextension);
-			symlink(filename, indexfilename);
+			unlink(indexfilename); symlink(filename, indexfilename);
 			dbgprintf("Symlinking %s -> %s\n", filename, indexfilename);
 		}
 		else {


Regards,
Henrik