[Glibc-bsd-commits] r3635 - trunk/zfsutils/debian

Robert Millan rmh at alioth.debian.org
Wed Jul 27 19:01:37 UTC 2011


Author: rmh
Date: 2011-07-27 19:01:37 +0000 (Wed, 27 Jul 2011)
New Revision: 3635

Modified:
   trunk/zfsutils/debian/changelog
   trunk/zfsutils/debian/zfsutils.zfs.init
Log:
Do not mount/unmount filesystems\! This may result in unbootable system if their mountpoints collide (typical in a dual-boot machine). Use /etc/fstab instead.

Modified: trunk/zfsutils/debian/changelog
===================================================================
--- trunk/zfsutils/debian/changelog	2011-07-27 18:43:22 UTC (rev 3634)
+++ trunk/zfsutils/debian/changelog	2011-07-27 19:01:37 UTC (rev 3635)
@@ -2,8 +2,11 @@
 
   * Set "X-Start-Before: checkroot" so that boot doesn't break when
     fstab relies on ZFS volumes.  (Closes: #635627)
+  * Do not mount/unmount filesystems! This may result in unbootable
+    system if their mountpoints collide (typical in a dual-boot
+    machine). Use /etc/fstab instead.
 
- -- Robert Millan <rmh at debian.org>  Wed, 27 Jul 2011 20:43:05 +0200
+ -- Robert Millan <rmh at debian.org>  Wed, 27 Jul 2011 20:53:20 +0200
 
 zfsutils (8.2-2) unstable; urgency=low
 

Modified: trunk/zfsutils/debian/zfsutils.zfs.init
===================================================================
--- trunk/zfsutils/debian/zfsutils.zfs.init	2011-07-27 18:43:22 UTC (rev 3634)
+++ trunk/zfsutils/debian/zfsutils.zfs.init	2011-07-27 19:01:37 UTC (rev 3635)
@@ -42,15 +42,6 @@
 		esac
 	done
 
-	# filesystems
-	log_progress_msg "filesystems"
-	zfs mount -a
-	RET=$?
-	if [ $RET != 0 ] ; then
-		log_end_msg $RET
-		exit $RET
-	fi
-
 	# end
 	log_end_msg 0
 }
@@ -83,21 +74,6 @@
 		exit $RET
 	fi
 
-	# filesystems
-	log_progress_msg "filesystems"
-	zfs unshare -a
-	RET=$?
-	if [ $RET != 0 ] ; then
-		log_end_msg $RET
-		exit $RET
-	fi
-	zfs umount -a
-	RET=$?
-	if [ $RET != 0 ] ; then
-		log_end_msg $RET
-		exit $RET
-	fi
-
 	# end
 	log_end_msg 0
 }




More information about the Glibc-bsd-commits mailing list