How to set share folder for openSUSE in VirtualBox once for all?

I’m using openSUSE11.0 in VirtualBox 2.2 on XP so files need to be shared between it and the host. But do I have to mount the share folder every time? Here’s what I typed in terminal:
sudo mount -t vboxsf share /media/share
// the first share is the folder in the host, and it works for each time
How could I set it once and for all?

You need to add a line in fstab:


shared /media/share vboxsf defaults 0 0

thx, it works

what if there is a protocol error when I mount?
Is it because of version collision?

Can you post the error message?

/sbin/mount.vboxsf: mounting failed with the error: Protocol error