[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: block devices

From: Samuel Thibault
Subject: Re: block devices
Date: Wed, 10 Oct 2012 10:49:23 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)


Fabio Gonzalez, le Wed 10 Oct 2012 05:35:35 -0300, a écrit :
> When we use the Linux kernel, mount the application says it can not
> mount devices that are not block devices.

Yes, because filesystems usually need to go back & forth in the device
data, which is usually not permitted by non-block deviceS.

> The documents [1] serves to allow mount it?
> [1]:
Almost: see in the file_operations structure: the seek operation is
missing.  That one would be needed to allow mounting a filesystem stored
on the device. ioctl, mmap and flush might have to be implemented too.

> The Linux version, this basically ready, but does not work well ([2]).
> RMS said that when we accepted my software ask me to suit it to Hurd.
> [2]:

Ideally yes, indeed, and trivfs is the right approach (that's actually
how other block devices are implemented in the Hurd).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]