1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE topic
|
---|
3 | PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
4 | <topic xml:lang="en-us" id="sf_mount_auto">
|
---|
5 | <title>Automatic Mounting</title>
|
---|
6 |
|
---|
7 | <body>
|
---|
8 | <p>
|
---|
9 | Oracle VM VirtualBox provides the option to mount shared folders
|
---|
10 | automatically. When automatic mounting is enabled for a shared
|
---|
11 | folder, the Guest Additions service will mount it for you
|
---|
12 | automatically. For Windows or OS/2, a preferred drive letter can
|
---|
13 | also be specified. For Linux or Oracle Solaris, a mount point
|
---|
14 | directory can also be specified.
|
---|
15 | </p>
|
---|
16 | <p>
|
---|
17 | If a drive letter or mount point is not specified, or is in use
|
---|
18 | already, an alternative location is found by the Guest Additions
|
---|
19 | service. The service searches for an alternative location
|
---|
20 | depending on the guest OS, as follows:
|
---|
21 | </p>
|
---|
22 | <ul>
|
---|
23 | <li>
|
---|
24 | <p>
|
---|
25 | <b outputclass="bold">Windows and OS/2 guests.</b>
|
---|
26 | Search for a free drive letter, starting at
|
---|
27 | <filepath>Z:</filepath>. If all drive letters are assigned,
|
---|
28 | the folder is not mounted.
|
---|
29 | </p>
|
---|
30 | </li>
|
---|
31 | <li>
|
---|
32 | <p>
|
---|
33 | <b outputclass="bold">Linux and Oracle Solaris
|
---|
34 | guests.</b> Folders are mounted under the
|
---|
35 | <filepath>/media</filepath> directory. The folder name is
|
---|
36 | normalized (no spaces, slashes or colons) and is prefixed
|
---|
37 | with <filepath>sf_</filepath>.
|
---|
38 | </p>
|
---|
39 | <p>
|
---|
40 | For example, if you have a shared folder called
|
---|
41 | <filepath>myfiles</filepath>, it will appear as
|
---|
42 | <filepath>/media/sf_myfiles</filepath> in the guest.
|
---|
43 | </p>
|
---|
44 | <p>
|
---|
45 | The guest properties
|
---|
46 | <codeph>/VirtualBox/GuestAdd/SharedFolders/MountDir</codeph>
|
---|
47 | and the more generic
|
---|
48 | <codeph>/VirtualBox/GuestAdd/SharedFolders/MountPrefix</codeph>
|
---|
49 | can be used to override the automatic mount directory and
|
---|
50 | prefix. See <xref href="guestadd-guestprops.dita#guestadd-guestprops"/>.
|
---|
51 | </p>
|
---|
52 | </li>
|
---|
53 | </ul>
|
---|
54 | <p>
|
---|
55 | Access to an automatically mounted shared folder is granted to
|
---|
56 | everyone in a Windows guest, including the guest user. For Linux
|
---|
57 | and Oracle Solaris guests, access is restricted to members of
|
---|
58 | the group <codeph>vboxsf</codeph> and the
|
---|
59 | <codeph>root</codeph> user.
|
---|
60 | </p>
|
---|
61 | </body>
|
---|
62 |
|
---|
63 | </topic>
|
---|