Re: [Vserver] Direct access to devices?

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Mon 08 May 2006 - 15:01:30 BST
Message-ID: <20060508140130.GE20713@MAIL.13thfloor.at>

On Thu, May 04, 2006 at 01:44:07PM +0200, Tom Laermans wrote:
> On Thu, 2006-05-04 at 13:32 +0200, Martin Grunert wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > How can I give a vserver direct access to devices like dvd?
> >
> > I want to burn/mount dvds in a vserver.
> >
> > Is this possible?
> >
>
> Afaik you just need to create the correct device files in the
> vserver's /dev directory. (with mknod, and not from within the
> vserver, as that's obviously not possible).

that, and you might need the context capabilites
to allow mounting the device, as well as certain
linux capabilities to allow sending special commands
to a writer or dvd changer (which are usually root
only)

HTH,
Herbert

> Enjoy,
> Tom
>
> > Greetings,
> > groonie
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.2.2 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iQEVAwUBRFnmVXRA8nrgQFqxAQIP2AgAxzF0mdh8n7fCbAogz//joa/zzYtVYzq2
> > 3IUjt402tsc9HvupiqJRMmBxs8jP9qtzACHo1RdZQLpwIQWrYsy/Wil9MZVOtBvo
> > UWZcggu1BwZjuUQqTMrerIO+CwT6IWdi71qY8KZBvHIOANcHVN35awpWDhevGt6y
> > 8F/aGDvOd7zeIupsI8pgOKCu0N6uKDsi3WY8e4syYvOV9kBJsFKS/bOX9BSjVUAJ
> > JIXvBPswRqVmzchRrKoa564zP3cTkBaGNFx0kWi7Va8n/9YI1CMqDxIer0kpvYZ3
> > v53VKC1mXXJ3NlfSHSmbYkQOfZ1mObHa7BVPs22yEwyn7D5AcxpMXQ==
> > =TApk
> > -----END PGP SIGNATURE-----
> >
> > _______________________________________________
> > Vserver mailing list
> > Vserver@list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon May 8 15:02:00 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 08 May 2006 - 15:02:04 BST by hypermail 2.1.8