How Virtual Box shared folder are handled in Debian ?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm on Windows 7 and I run a Debian VM under Vbox. On my Windows 7 I've the c:temp
folder that I want to share. I added it :
I had an hard time to permanently mount that folder with Virtual box (had to install Guest Additions, etc.. ) but now it is solved. What I need to do is edit /etc/fstab
file and add the following line :
temp /home/my_usr_name/an_existing_folder vboxsf defaults, _netdev 0 0
Now, after each boot, my folder is correctly mounted. But here is my question
what and where is temp
?
because, from my understanding, the line I added in fstab
does the following :
mount -t vboxsf temp /home/my_usr_name/an_existing_folder
Right ? And as a matter of fact, it works, my folder will be correctly mounted if I use it. but normally, with mount you use a device ? like dev/cdrom for example. Here I can't find that temp
anywere on my Debian VM. I understand that this is the name I gived when configuring the Shared folder of VM, but how it is handled by VBox ? and how Debian find it ?
Note : For some reason, I don't have any folder like /media/sf_sharedfolder
, I don't care and I don't want to solve that.
mount virtualbox devices fstab
add a comment |Â
up vote
0
down vote
favorite
I'm on Windows 7 and I run a Debian VM under Vbox. On my Windows 7 I've the c:temp
folder that I want to share. I added it :
I had an hard time to permanently mount that folder with Virtual box (had to install Guest Additions, etc.. ) but now it is solved. What I need to do is edit /etc/fstab
file and add the following line :
temp /home/my_usr_name/an_existing_folder vboxsf defaults, _netdev 0 0
Now, after each boot, my folder is correctly mounted. But here is my question
what and where is temp
?
because, from my understanding, the line I added in fstab
does the following :
mount -t vboxsf temp /home/my_usr_name/an_existing_folder
Right ? And as a matter of fact, it works, my folder will be correctly mounted if I use it. but normally, with mount you use a device ? like dev/cdrom for example. Here I can't find that temp
anywere on my Debian VM. I understand that this is the name I gived when configuring the Shared folder of VM, but how it is handled by VBox ? and how Debian find it ?
Note : For some reason, I don't have any folder like /media/sf_sharedfolder
, I don't care and I don't want to solve that.
mount virtualbox devices fstab
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm on Windows 7 and I run a Debian VM under Vbox. On my Windows 7 I've the c:temp
folder that I want to share. I added it :
I had an hard time to permanently mount that folder with Virtual box (had to install Guest Additions, etc.. ) but now it is solved. What I need to do is edit /etc/fstab
file and add the following line :
temp /home/my_usr_name/an_existing_folder vboxsf defaults, _netdev 0 0
Now, after each boot, my folder is correctly mounted. But here is my question
what and where is temp
?
because, from my understanding, the line I added in fstab
does the following :
mount -t vboxsf temp /home/my_usr_name/an_existing_folder
Right ? And as a matter of fact, it works, my folder will be correctly mounted if I use it. but normally, with mount you use a device ? like dev/cdrom for example. Here I can't find that temp
anywere on my Debian VM. I understand that this is the name I gived when configuring the Shared folder of VM, but how it is handled by VBox ? and how Debian find it ?
Note : For some reason, I don't have any folder like /media/sf_sharedfolder
, I don't care and I don't want to solve that.
mount virtualbox devices fstab
I'm on Windows 7 and I run a Debian VM under Vbox. On my Windows 7 I've the c:temp
folder that I want to share. I added it :
I had an hard time to permanently mount that folder with Virtual box (had to install Guest Additions, etc.. ) but now it is solved. What I need to do is edit /etc/fstab
file and add the following line :
temp /home/my_usr_name/an_existing_folder vboxsf defaults, _netdev 0 0
Now, after each boot, my folder is correctly mounted. But here is my question
what and where is temp
?
because, from my understanding, the line I added in fstab
does the following :
mount -t vboxsf temp /home/my_usr_name/an_existing_folder
Right ? And as a matter of fact, it works, my folder will be correctly mounted if I use it. but normally, with mount you use a device ? like dev/cdrom for example. Here I can't find that temp
anywere on my Debian VM. I understand that this is the name I gived when configuring the Shared folder of VM, but how it is handled by VBox ? and how Debian find it ?
Note : For some reason, I don't have any folder like /media/sf_sharedfolder
, I don't care and I don't want to solve that.
mount virtualbox devices fstab
edited Apr 1 at 20:24
asked Apr 1 at 19:58
snoob dogg
1156
1156
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
with mount you use a device?
No. One provides a source, a.k.a. a "what" (alongside a "where" and a "vfstype", and some options). That does not have to be a block device name. It is something that only has meaning in conjunction with the type of filesystem.
In the case of vboxsf
mounts, the "what" is the name of the shared folder that you have specified in the VirtualBox configuration utility. The driver installed into Linux by the VirtualBox Guest Utilities knows how to reference that name, using a private communications channel between the guest environment and the host.
It is not a network path. It is not something that you can locate in the guest operating system's filesystem.
thank you, did you know if there is a way to list them under Debian, just curious ?
â snoob dogg
Apr 1 at 22:16
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
with mount you use a device?
No. One provides a source, a.k.a. a "what" (alongside a "where" and a "vfstype", and some options). That does not have to be a block device name. It is something that only has meaning in conjunction with the type of filesystem.
In the case of vboxsf
mounts, the "what" is the name of the shared folder that you have specified in the VirtualBox configuration utility. The driver installed into Linux by the VirtualBox Guest Utilities knows how to reference that name, using a private communications channel between the guest environment and the host.
It is not a network path. It is not something that you can locate in the guest operating system's filesystem.
thank you, did you know if there is a way to list them under Debian, just curious ?
â snoob dogg
Apr 1 at 22:16
add a comment |Â
up vote
1
down vote
accepted
with mount you use a device?
No. One provides a source, a.k.a. a "what" (alongside a "where" and a "vfstype", and some options). That does not have to be a block device name. It is something that only has meaning in conjunction with the type of filesystem.
In the case of vboxsf
mounts, the "what" is the name of the shared folder that you have specified in the VirtualBox configuration utility. The driver installed into Linux by the VirtualBox Guest Utilities knows how to reference that name, using a private communications channel between the guest environment and the host.
It is not a network path. It is not something that you can locate in the guest operating system's filesystem.
thank you, did you know if there is a way to list them under Debian, just curious ?
â snoob dogg
Apr 1 at 22:16
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
with mount you use a device?
No. One provides a source, a.k.a. a "what" (alongside a "where" and a "vfstype", and some options). That does not have to be a block device name. It is something that only has meaning in conjunction with the type of filesystem.
In the case of vboxsf
mounts, the "what" is the name of the shared folder that you have specified in the VirtualBox configuration utility. The driver installed into Linux by the VirtualBox Guest Utilities knows how to reference that name, using a private communications channel between the guest environment and the host.
It is not a network path. It is not something that you can locate in the guest operating system's filesystem.
with mount you use a device?
No. One provides a source, a.k.a. a "what" (alongside a "where" and a "vfstype", and some options). That does not have to be a block device name. It is something that only has meaning in conjunction with the type of filesystem.
In the case of vboxsf
mounts, the "what" is the name of the shared folder that you have specified in the VirtualBox configuration utility. The driver installed into Linux by the VirtualBox Guest Utilities knows how to reference that name, using a private communications channel between the guest environment and the host.
It is not a network path. It is not something that you can locate in the guest operating system's filesystem.
answered Apr 1 at 21:59
JdeBP
28.2k459133
28.2k459133
thank you, did you know if there is a way to list them under Debian, just curious ?
â snoob dogg
Apr 1 at 22:16
add a comment |Â
thank you, did you know if there is a way to list them under Debian, just curious ?
â snoob dogg
Apr 1 at 22:16
thank you, did you know if there is a way to list them under Debian, just curious ?
â snoob dogg
Apr 1 at 22:16
thank you, did you know if there is a way to list them under Debian, just curious ?
â snoob dogg
Apr 1 at 22:16
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434895%2fhow-virtual-box-shared-folder-are-handled-in-debian%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password