[DRBD-cvs] r1918 - in branches/drbd-0.7: . drbd

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Wed Aug 24 15:27:13 CEST 2005


Author: lars
Date: 2005-08-24 15:27:12 +0200 (Wed, 24 Aug 2005)
New Revision: 1918

Modified:
   branches/drbd-0.7/drbd.spec.in
   branches/drbd-0.7/drbd/drbd_main.c
Log:

/proc/drbd is readonly

fix reference of example config file
  /usr/share/doc/packages/drbd/drbd.conf
                          ^^^^^


Modified: branches/drbd-0.7/drbd/drbd_main.c
===================================================================
--- branches/drbd-0.7/drbd/drbd_main.c	2005-08-24 13:21:20 UTC (rev 1917)
+++ branches/drbd-0.7/drbd/drbd_main.c	2005-08-24 13:27:12 UTC (rev 1918)
@@ -1852,8 +1852,7 @@
 	/*
 	 * register with procfs
 	 */
-	drbd_proc = create_proc_entry("drbd",  S_IFREG | S_IRUGO | S_IWUSR,
-				      &proc_root);
+	drbd_proc = create_proc_entry("drbd",  S_IFREG | S_IRUGO , &proc_root);
 
 	if (!drbd_proc)	{
 		printk(KERN_ERR DEVICE_NAME": unable to register proc file\n");

Modified: branches/drbd-0.7/drbd.spec.in
===================================================================
--- branches/drbd-0.7/drbd.spec.in	2005-08-24 13:21:20 UTC (rev 1917)
+++ branches/drbd-0.7/drbd.spec.in	2005-08-24 13:27:12 UTC (rev 1918)
@@ -110,7 +110,7 @@
 cat <<___ > etc/drbd.conf
 #
 # please have a a look at the example configuration file in
-# %{_docdir}/drbd.conf
+# %{_docdir}/%{name}/drbd.conf
 #
 ___
 



More information about the drbd-cvs mailing list