diff options
author | Xin LI <delphij@FreeBSD.org> | 2007-10-04 17:08:46 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2007-10-04 17:08:46 +0000 |
commit | 386c96920585cc580645b61d407609be3375d116 (patch) | |
tree | c6a425f62bdab6adc54b7697b66f0a5f1275a3f0 /sys/fs/tmpfs | |
parent | aafd6a87a63e6362a1cd214c9c6df4caa20973ed (diff) | |
download | src-386c96920585cc580645b61d407609be3375d116.tar.gz src-386c96920585cc580645b61d407609be3375d116.zip |
Additional work is still needed before we can claim that tmpfs
is stable enough for production usage. Warn user upon mount.
Approved by: re (tmpfs blanket)
Notes
Notes:
svn path=/head/; revision=172441
Diffstat (limited to 'sys/fs/tmpfs')
-rw-r--r-- | sys/fs/tmpfs/tmpfs_vfsops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vfsops.c b/sys/fs/tmpfs/tmpfs_vfsops.c index a2ebf09a0c0f..73eca0607d88 100644 --- a/sys/fs/tmpfs/tmpfs_vfsops.c +++ b/sys/fs/tmpfs/tmpfs_vfsops.c @@ -215,6 +215,9 @@ tmpfs_mount(struct mount *mp, struct thread *td) return EOPNOTSUPP; } + printf("WARNING: TMPFS is considered to be a highly experimental " + "feature in FreeBSD.\n"); + vn_lock(mp->mnt_vnodecovered, LK_SHARED | LK_RETRY, td); error = VOP_GETATTR(mp->mnt_vnodecovered, &va, mp->mnt_cred, td); VOP_UNLOCK(mp->mnt_vnodecovered, 0, td); |