bug-hurd
[Top][All Lists]
Advanced

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

Re: How to link against diskfs


From: olafBuddenhagen
Subject: Re: How to link against diskfs
Date: Fri, 16 May 2008 13:33:50 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hi,

On Thu, May 15, 2008 at 10:29:43AM +0300, Sergiu Ivanov wrote:

> Does it mean that the store should be a single file (special file)?

Not sure what you mean exactly...

The specific term "store" describes a facility corresponding to block
devices on traditional UNIX systems. Most commonly these are disk
partitions.

There are also some special types of stores, including among others a
file store, i.e. a normal file acting as a store -- corresponding to
loopback devices... But that's not the basic usage.

> I thought that the store could be a directory, too.

No. A store is an unstructured uniform data storage.

> So, if I were implementing a tar file translator, I should have used
> libdiskfs, do I get it right?

No. A tar file doesn't contain inodes etc. It maps the directory
contents relatively closely, but still quite different from a typical
disk filesystem...

> Frankly speaking, I didn't even suppose that libNETfs could be used
> for this purposes :-)

I think it's documented somewhere... But yes, the name is misleading :-(

> Okay, I'm happy I've acquainted myself with libdiskfs (thought quite
> superificially), and I'm diving into ftpfs now. I hope I'll be able to
> cope with new information faster this time. I also hope it is not
> really bad that I lost time playing with libdiskfs...

As you say yourself, the time is not really lost :-) The experience you
gained while looking at libdiskfs is undoubtedly very valuable...

-antrik-




reply via email to

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