diff --git a/en_US.ISO8859-1/books/faq/book.sgml b/en_US.ISO8859-1/books/faq/book.sgml
index 97d7252f45..f8e44c8799 100644
--- a/en_US.ISO8859-1/books/faq/book.sgml
+++ b/en_US.ISO8859-1/books/faq/book.sgml
@@ -15,7 +15,7 @@
- $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.110 2000/10/12 20:36:03 jkh Exp $
+ $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.111 2000/10/17 16:29:23 nik Exp $
This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X.
@@ -6343,7 +6343,7 @@ define(`confDELIVERY_MODE',`deferred')dnl
- How do I let ordinary users mount floppies and other removable
+ How do I let ordinary users mount floppies, CDROMs and other removable
media?
@@ -6352,6 +6352,14 @@ define(`confDELIVERY_MODE',`deferred')dnl
how:
+
+ As root set the sysctl variable
+ vfs.usermount to
+ 1.
+
+ &prompt.root; sysctl -w vfs.usermount=1
+
+
As root assign the appropriate
permissions to the block device associated with the
@@ -6360,24 +6368,38 @@ define(`confDELIVERY_MODE',`deferred')dnl
For example, to allow users to mount the first floppy
drive, use:
- &prompt.root; chmod 777 /dev/fd0
+ &prompt.root; chmod 666 /dev/fd0
+
+ To allow users in the group
+ operator to mount the cdrom drive,
+ use:
+
+ &prompt.root; chgrp operator /dev/cd0c
+&prompt.root; chmod 640 /dev/cd0c
-
- As root set the sysctl variable
- vfs.usermount to
- 1.
-
- &prompt.root; sysctl -w vfs.usermount=1
-
+
+ Finally, add the line
+ vfs.usermount=1 to the file
+ /etc/sysctl.conf so that it is reset
+ at system boot time.
+
- Users can now mount /dev/fd0 onto a
- directory that they own:
+ All users can now mount the floppy
+ /dev/fd0 onto a directory that they
+ own:
&prompt.user; mkdir ~/my-mount-point
&prompt.user; mount -t msdos /dev/fd0 ~/my-mount-point
+ Users in group operator can now
+ mount the cdrom /dev/cd0c onto a
+ directory that they own:
+
+ &prompt.user; mkdir ~/my-mount-point
+&prompt.user; mount -t msdos /dev/cd0c ~/my-mount-point
+
Unmounting the device is simple:
&prompt.user; umount ~/my-mount-point
@@ -6385,8 +6407,7 @@ define(`confDELIVERY_MODE',`deferred')dnl
Enabling vfs.usermount, however, has
negative security implications. A better way to access MSDOS
formatted media is to use the mtools
- package in the ports collection.
+ URL="http://www.freebsd.org/cgi/ports.cgi?query=%5Emtools-&stype=name">mtools package in the ports collection.
@@ -6522,7 +6543,6 @@ define(`confDELIVERY_MODE',`deferred')dnl
-
If you are using syscons (the default console driver),
you can configure FreeBSD to support a mouse pointer on each
virtual screen. In order to avoid conflicting with X, syscons
@@ -6841,17 +6861,18 @@ ttyvb "/usr/libexec/getty Pc" cons25 on secure
want to change the secure
to insecure.
-
+
If you want to run an X server you
- MUST leave at least one virtual
+ must leave at least one virtual
terminal unused (or turned off) for it to use. That is to
say that if you want to have a login prompt pop up for all
twelve of your Alt-function keys, you're out of luck - you
can only do this for eleven of them if you also want to run
an X server on the same machine.
-
-
+
+
+
The easiest way to disable a console is by turning it off.
For example, if you had the full 12 terminal allocation
mentioned above and you wanted to run X, you would change
@@ -6901,18 +6922,31 @@ ttyvb "/usr/libexec/getty Pc" cons25 off secure
How do I access the virtual consoles from X?
-
-
- If the console is currently displaying X Window, you can
- use Ctrl-Alt-F1, etc. to switch to a virtual console. Note,
- however, that once you've switched away from X Window to a
- virtual terminal, you may use only the Alt- function key to
- switch to another virtual terminal or back to X Window. You do
- not need to also press the Ctrl key. If you use the control key
- to switch back to X on some older releases, you can find your
- text console stuck in control-lock
mode. Tap the
- control key to wake it up again.
+
+ Use
+ Ctrl
+ Alt
+ Fn
+ to switch back to a virtual console.
+
+ Ctrl
+ Alt
+ F1
+ would return you to the first virtual console.
+ Once you are back to a text console, you can then use
+
+ Alt
+ Fn
+ as normal to move between them.
+
+ To return to the X session, you must switch to the virtual
+ console running X. If you have eight virtual consoles then X will
+ be running on the ninth, and you would use
+
+ Alt
+ F9
+ to return.
diff --git a/en_US.ISO_8859-1/books/faq/book.sgml b/en_US.ISO_8859-1/books/faq/book.sgml
index 97d7252f45..f8e44c8799 100644
--- a/en_US.ISO_8859-1/books/faq/book.sgml
+++ b/en_US.ISO_8859-1/books/faq/book.sgml
@@ -15,7 +15,7 @@
- $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.110 2000/10/12 20:36:03 jkh Exp $
+ $FreeBSD: doc/en_US.ISO_8859-1/books/faq/book.sgml,v 1.111 2000/10/17 16:29:23 nik Exp $
This is the FAQ for FreeBSD versions 2.X, 3.X, and 4.X.
@@ -6343,7 +6343,7 @@ define(`confDELIVERY_MODE',`deferred')dnl
- How do I let ordinary users mount floppies and other removable
+ How do I let ordinary users mount floppies, CDROMs and other removable
media?
@@ -6352,6 +6352,14 @@ define(`confDELIVERY_MODE',`deferred')dnl
how:
+
+ As root set the sysctl variable
+ vfs.usermount to
+ 1.
+
+ &prompt.root; sysctl -w vfs.usermount=1
+
+
As root assign the appropriate
permissions to the block device associated with the
@@ -6360,24 +6368,38 @@ define(`confDELIVERY_MODE',`deferred')dnl
For example, to allow users to mount the first floppy
drive, use:
- &prompt.root; chmod 777 /dev/fd0
+ &prompt.root; chmod 666 /dev/fd0
+
+ To allow users in the group
+ operator to mount the cdrom drive,
+ use:
+
+ &prompt.root; chgrp operator /dev/cd0c
+&prompt.root; chmod 640 /dev/cd0c
-
- As root set the sysctl variable
- vfs.usermount to
- 1.
-
- &prompt.root; sysctl -w vfs.usermount=1
-
+
+ Finally, add the line
+ vfs.usermount=1 to the file
+ /etc/sysctl.conf so that it is reset
+ at system boot time.
+
- Users can now mount /dev/fd0 onto a
- directory that they own:
+ All users can now mount the floppy
+ /dev/fd0 onto a directory that they
+ own:
&prompt.user; mkdir ~/my-mount-point
&prompt.user; mount -t msdos /dev/fd0 ~/my-mount-point
+ Users in group operator can now
+ mount the cdrom /dev/cd0c onto a
+ directory that they own:
+
+ &prompt.user; mkdir ~/my-mount-point
+&prompt.user; mount -t msdos /dev/cd0c ~/my-mount-point
+
Unmounting the device is simple:
&prompt.user; umount ~/my-mount-point
@@ -6385,8 +6407,7 @@ define(`confDELIVERY_MODE',`deferred')dnl
Enabling vfs.usermount, however, has
negative security implications. A better way to access MSDOS
formatted media is to use the mtools
- package in the ports collection.
+ URL="http://www.freebsd.org/cgi/ports.cgi?query=%5Emtools-&stype=name">mtools package in the ports collection.
@@ -6522,7 +6543,6 @@ define(`confDELIVERY_MODE',`deferred')dnl
-
If you are using syscons (the default console driver),
you can configure FreeBSD to support a mouse pointer on each
virtual screen. In order to avoid conflicting with X, syscons
@@ -6841,17 +6861,18 @@ ttyvb "/usr/libexec/getty Pc" cons25 on secure
want to change the secure
to insecure.
-
+
If you want to run an X server you
- MUST leave at least one virtual
+ must leave at least one virtual
terminal unused (or turned off) for it to use. That is to
say that if you want to have a login prompt pop up for all
twelve of your Alt-function keys, you're out of luck - you
can only do this for eleven of them if you also want to run
an X server on the same machine.
-
-
+
+
+
The easiest way to disable a console is by turning it off.
For example, if you had the full 12 terminal allocation
mentioned above and you wanted to run X, you would change
@@ -6901,18 +6922,31 @@ ttyvb "/usr/libexec/getty Pc" cons25 off secure
How do I access the virtual consoles from X?
-
-
- If the console is currently displaying X Window, you can
- use Ctrl-Alt-F1, etc. to switch to a virtual console. Note,
- however, that once you've switched away from X Window to a
- virtual terminal, you may use only the Alt- function key to
- switch to another virtual terminal or back to X Window. You do
- not need to also press the Ctrl key. If you use the control key
- to switch back to X on some older releases, you can find your
- text console stuck in control-lock
mode. Tap the
- control key to wake it up again.
+
+ Use
+ Ctrl
+ Alt
+ Fn
+ to switch back to a virtual console.
+
+ Ctrl
+ Alt
+ F1
+ would return you to the first virtual console.
+ Once you are back to a text console, you can then use
+
+ Alt
+ Fn
+ as normal to move between them.
+
+ To return to the X session, you must switch to the virtual
+ console running X. If you have eight virtual consoles then X will
+ be running on the ninth, and you would use
+
+ Alt
+ F9
+ to return.