Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-22-2009, 02:28 AM
|
#1
|
LQ Newbie
Registered: Apr 2009
Posts: 2
Rep:
|
Cannot mount any files on debian VPS, virtualization restrictions?
I can't mount any files on my VPS
Code:
$ mkdir 1
$ mkdir 2
$ sudo mount --bind 1 2
mount: permission denied
Thing is, due to the virtualization technology, I'm forbidden from doing anything to the kernel ( I can't load modules, etc ). I'm wondering if that would also stop me mounting things. ( This would make sense as far as mounting external media goes, but since I'm only trying to mount things which are already in the file system, well, dash it all I rather thought I could you know! )
Last edited by spoonerism; 04-22-2009 at 02:33 AM.
|
|
|
04-23-2009, 02:34 PM
|
#2
|
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833
Rep: 
|
Quote:
Originally Posted by spoonerism
I can't mount any files on my VPS
Code:
$ mkdir 1
$ mkdir 2
$ sudo mount --bind 1 2
mount: permission denied
Thing is, due to the virtualization technology, I'm forbidden from doing anything to the kernel ( I can't load modules, etc ). I'm wondering if that would also stop me mounting things. ( This would make sense as far as mounting external media goes, but since I'm only trying to mount things which are already in the file system, well, dash it all I rather thought I could you know! )
|
Well if you're not crossing a partition boundary, just use a hard link, or explain what you're actually trying to accomplish and we can tell you a work around.
|
|
|
04-23-2009, 02:39 PM
|
#3
|
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833
Rep: 
|
Derp! Posted twice.
Last edited by rweaver; 04-23-2009 at 02:42 PM.
|
|
|
04-24-2009, 05:54 AM
|
#4
|
LQ Newbie
Registered: Apr 2009
Posts: 2
Original Poster
Rep:
|
My program needs to bind sockets, but I want to run it in a chroot. In a chroot, I need /dev to bind the socket. Which must be mounted.
The work around is to bind the socket outside the chroot, and then call chroot from the program code - this is what I'm intending to do, once my x86 development box is working again ( the screen broke  )
|
|
|
All times are GMT -5. The time now is 07:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|