1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Remove useless and confusing warning message

- Bump portrevision

PR:		ports/150150
Submitted by:	Janne Snabb <snabb _at_ epipe.com>
Approved by:	Graham Todd <gtodd _at_ bellanet.org> (maintainer)
This commit is contained in:
Baptiste Daroussin 2010-09-03 15:11:01 +00:00
parent fcf967a7dc
commit 6d13f1540c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260492
2 changed files with 12 additions and 2 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= freebsd-snapshot
DISTVERSION= 20091208.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://people.freebsd.org/~rse/dist/

View File

@ -1,5 +1,5 @@
--- ./snapshot.orig 2009-08-01 11:34:34.000000000 -0400
+++ ./snapshot 2010-01-14 18:14:06.940846133 -0500
--- snapshot.orig 2009-12-08 20:14:13.000000000 +0000
+++ snapshot 2010-08-31 13:50:34.000000000 +0000
@@ -29,7 +29,9 @@
##
@ -19,3 +19,12 @@
if checkyesno zfs_enable; then \
echo 'yes'; \
else \
@@ -491,7 +494,7 @@
echo "snapshot:ERROR: unable to create directory \"$mnt\"" 1>&2
exit 1
fi
- system mdconfig -a -t vnode -f $fs_dir/.snap/$fs_tag.$fs_gen -u $num
+ system mdconfig -a -t vnode -o readonly -f $fs_dir/.snap/$fs_tag.$fs_gen -u $num
if [ $? -ne 0 ]; then
echo "snapshot:ERROR: unable to attach \"$fs_dir/.snap/$fs_tag.$fs_gen\" to \"/dev/md$num\"" 1>&2
exit 1