Translate

domenica 13 giugno 2010

openSUSE 11.3 Auto mount Virtualbox shared folder

To auto magically mount Virtualbox shared folder at boot on your openSUSE 11.2/11.3, you have to edit the file /etc/init.d/boot.local adding the following line:

#! /bin/sh
#
# Copyright (c) 2002 SuSE Linux AG Nuernberg, Germany. All rights reserved.
#
# Author: Werner Fink , 1996
# Burchard Steinbild, 1996
#
# /etc/init.d/boot.local
#
# script with local commands to be executed from init on system startup
#
# Here you should add things, that should happen directly after booting
# before we're going to the first run level.
#
mount -t vboxsf -o uid=1000,gid=100 vboxshared /home/marco/vshare

Note: omitting the "-o" switch, your shared folder will gain the default options which are rw rights for root user.

Nessun commento:

Posta un commento