[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] [trunk] nfs_proc_symlink in dmesg
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] [trunk] nfs_proc_symlink in dmesg
- From: Henrik "Størner" <henrik (at) hswn.dk>
- Date: Mon, 19 Jan 2009 09:46:34 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <496C8FC1.2060407 (at) gmail.com>
- User-agent: nn/6.7.3
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