From 6534aa546c506277661f325159eea2f0fb5ad2c7 Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Thu, 2 Jan 2014 08:24:58 -0500 Subject: [PATCH] Fixed readme.debian fstab bind examples After receiving a bug report that the examples did not work, I tried them myself. They did not work, so I updated them to something that does work. --- distros/debian/README.Debian | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/distros/debian/README.Debian b/distros/debian/README.Debian index b8ea413e3..a49b6be72 100644 --- a/distros/debian/README.Debian +++ b/distros/debian/README.Debian @@ -20,18 +20,18 @@ would silently revert the changes and cause event loss - refer bug #608793). If you do want to change the location, here are a couple of suggestions. -(thanks to vagrant@freegeek.org): -These lines in fstab could allow you to bind-mount an alternate location +These lines would mount /dev/sdX1 to /video_storage, and then 'link' /video_storage +to the locations that ZoneMinder expects them to be at. - /dev/sdX1 /otherdrive ext3 defaults 0 2 - /otherdrive/zoneminder/images /var/cache/zoneminder/images bind defaults 0 2 - /otherdrive/zoneminder/events /var/cache/zoneminder/events bind defaults 0 2 + /dev/sdX1 /video_storage ext4 defaults 0 2 + /video_storage/zoneminder/images /var/cache/zoneminder/images none bind 0 2 + /video_storage/zoneminder/events /var/cache/zoneminder/events none bind 0 2 or if you have a separate partition for each: - /dev/sdX1 /var/cache/zoneminder/images ext3 defaults 0 2 - /dev/sdX2 /var/cache/zoneminder/events ext3 defaults 0 2 + /dev/sdX1 /var/cache/zoneminder/images ext4 defaults 0 2 + /dev/sdX2 /var/cache/zoneminder/events ext4 defaults 0 2