|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Problem mounting after using Fuse to simulate block deviceHello everyone
I need to create a virtual block device. The individual blocks are read via Ethernet. So I choose to use FUSE: 1. Create a fake FS with only one file. 2. The file is a full image of a disk drive. 3. Based on hello.c example, so everything is ReadOnly The problem: - Trying to mount the file via FUSE fails with (even when mounting ReadOnly): " /tmp/fuse/disk.img: Permission denied " (There is no problem mounting the file to the FS) Any leads ? Or perhaps different approaches to solving my initial problem ? Thanks in advance Boris ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: Problem mounting after using Fuse to simulate block deviceOn Sun, 25 Oct 2009, Boris Dinkevich wrote:
> Hello everyone > > > I need to create a virtual block device. The individual blocks are read via > Ethernet. Are you aware of NBD, which essentially does the same? > So I choose to use FUSE: > > 1. Create a fake FS with only one file. > 2. The file is a full image of a disk drive. > 3. Based on hello.c example, so everything is ReadOnly > > > The problem: > - Trying to mount the file via FUSE fails with (even when mounting > ReadOnly): > " /tmp/fuse/disk.img: Permission denied " With what command do you mount your filesystem? Do you run it as root? Thanks, Miklos ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
|
|
Re: Problem mounting after using Fuse to simulate block deviceHello Miklos
I have indeed switched to NBD as its very easy to use and exactly fits my needs. Although I am still not sure why the FUSE based mounts failed. I used :"mount -o loop=/dev/loop3 etc.." Boris On Thu, Nov 5, 2009 at 3:54 PM, Miklos Szeredi <miklos@...> wrote: > On Sun, 25 Oct 2009, Boris Dinkevich wrote: > > Hello everyone > > > > > > I need to create a virtual block device. The individual blocks are read > via > > Ethernet. > > Are you aware of NBD, which essentially does the same? > > > So I choose to use FUSE: > > > > 1. Create a fake FS with only one file. > > 2. The file is a full image of a disk drive. > > 3. Based on hello.c example, so everything is ReadOnly > > > > > > The problem: > > - Trying to mount the file via FUSE fails with (even when mounting > > ReadOnly): > > " /tmp/fuse/disk.img: Permission denied " > > With what command do you mount your filesystem? Do you run it as > root? > > Thanks, > Miklos > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ fuse-devel mailing list fuse-devel@... https://lists.sourceforge.net/lists/listinfo/fuse-devel |
| Free embeddable forum powered by Nabble | Forum Help |