aboutsummaryrefslogtreecommitdiff
path: root/zh_CN.GB2312/books/handbook/disks
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2010-05-31 09:57:31 +0000
committerXin LI <delphij@FreeBSD.org>2010-05-31 09:57:31 +0000
commit9551985fb376b80d651befc4a01c406f0df9952c (patch)
tree57f8c0bfd212fdd7e03ef3af4a1731d23bf093b4 /zh_CN.GB2312/books/handbook/disks
parent2ab8d220a1841aa68157cebd9c719fba7e26d64a (diff)
Notes
Diffstat (limited to 'zh_CN.GB2312/books/handbook/disks')
-rw-r--r--zh_CN.GB2312/books/handbook/disks/chapter.sgml9
1 files changed, 8 insertions, 1 deletions
diff --git a/zh_CN.GB2312/books/handbook/disks/chapter.sgml b/zh_CN.GB2312/books/handbook/disks/chapter.sgml
index a9f2a2ce06..0489a93b05 100644
--- a/zh_CN.GB2312/books/handbook/disks/chapter.sgml
+++ b/zh_CN.GB2312/books/handbook/disks/chapter.sgml
@@ -2,7 +2,7 @@
The FreeBSD Documentation Project
The FreeBSD Simplified Chinese Project
- Original Revision: 1.293
+ Original Revision: 1.294
$FreeBSD$
-->
@@ -713,6 +713,13 @@ da0: 126MB (258048 512 byte sectors: 64H 32S/T 126C)</screen>
<para>如果设备上已经包含了文件系统, 现在应该就可以挂接它了。 如果需要,
请参阅 <xref linkend="disks-adding"> 来了解如何在 USB驱动器上格式化和创建分区。</para>
+ <warning>
+ <para>允许非可信用户挂载任意介质,
+ 例如通过使用前面介绍的 <literal>vfs.usermount</literal>
+ 来启用的功能, 从安全角度来看是很不保险的。
+ &os; 中的绝大多数文件系统并不提供针对恶意设备的内建防护能力。</para>
+ </warning>
+
<para>如果希望设备能够被普通用户挂接,
还需要做一些其它操作。 首先, 在 USB 存储设备连接到计算机上时,
系统自动生成的设备文件, 必须是该用户能够读写的。