diff options
author | Kirk McKusick <mckusick@FreeBSD.org> | 2000-07-06 01:50:05 +0000 |
---|---|---|
committer | Kirk McKusick <mckusick@FreeBSD.org> | 2000-07-06 01:50:05 +0000 |
commit | 115f72d0d8bcf0cf44c6b7b25cb092ff0e11a235 (patch) | |
tree | 58cd28b00233634c9d1fd0110155837ffd3bb079 /sbin | |
parent | 5bca844f391e65db619d1b4e997bdf5fd84c70cf (diff) | |
download | src-115f72d0d8bcf0cf44c6b7b25cb092ff0e11a235.tar.gz src-115f72d0d8bcf0cf44c6b7b25cb092ff0e11a235.zip |
Add the snapshot option to mount_ufs.
Notes
Notes:
svn path=/head/; revision=62664
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/mount/mntopts.h | 1 | ||||
-rw-r--r-- | sbin/mount/mount_ufs.c | 1 | ||||
-rw-r--r-- | sbin/mount_ifs/mntopts.h | 1 | ||||
-rw-r--r-- | sbin/mount_ifs/mount_ufs.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h index 73c3c15a838f..a30a707306e8 100644 --- a/sbin/mount/mntopts.h +++ b/sbin/mount/mntopts.h @@ -56,6 +56,7 @@ struct mntopt { #define MOPT_NOCLUSTERR { "clusterr", 1, MNT_NOCLUSTERR, 0 } #define MOPT_NOCLUSTERW { "clusterw", 1, MNT_NOCLUSTERW, 0 } #define MOPT_SUIDDIR { "suiddir", 0, MNT_SUIDDIR, 0 } +#define MOPT_SNAPSHOT { "snapshot", 0, MNT_SNAPSHOT, 0 } /* Control flags. */ #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 } diff --git a/sbin/mount/mount_ufs.c b/sbin/mount/mount_ufs.c index 3c0b6fcb711f..d4c8181dd088 100644 --- a/sbin/mount/mount_ufs.c +++ b/sbin/mount/mount_ufs.c @@ -66,6 +66,7 @@ static struct mntopt mopts[] = { MOPT_FORCE, MOPT_SYNC, MOPT_UPDATE, + MOPT_SNAPSHOT, { NULL } }; diff --git a/sbin/mount_ifs/mntopts.h b/sbin/mount_ifs/mntopts.h index 73c3c15a838f..a30a707306e8 100644 --- a/sbin/mount_ifs/mntopts.h +++ b/sbin/mount_ifs/mntopts.h @@ -56,6 +56,7 @@ struct mntopt { #define MOPT_NOCLUSTERR { "clusterr", 1, MNT_NOCLUSTERR, 0 } #define MOPT_NOCLUSTERW { "clusterw", 1, MNT_NOCLUSTERW, 0 } #define MOPT_SUIDDIR { "suiddir", 0, MNT_SUIDDIR, 0 } +#define MOPT_SNAPSHOT { "snapshot", 0, MNT_SNAPSHOT, 0 } /* Control flags. */ #define MOPT_FORCE { "force", 0, MNT_FORCE, 0 } diff --git a/sbin/mount_ifs/mount_ufs.c b/sbin/mount_ifs/mount_ufs.c index 3c0b6fcb711f..d4c8181dd088 100644 --- a/sbin/mount_ifs/mount_ufs.c +++ b/sbin/mount_ifs/mount_ufs.c @@ -66,6 +66,7 @@ static struct mntopt mopts[] = { MOPT_FORCE, MOPT_SYNC, MOPT_UPDATE, + MOPT_SNAPSHOT, { NULL } }; |