[Top][All Lists]

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

Re: Bug-hurd Digest, Vol 66, Issue 4

From: Sergiu Ivanov
Subject: Re: Bug-hurd Digest, Vol 66, Issue 4
Date: Sat, 3 May 2008 20:21:17 +0300

antrik wrote:
> I have finally finished the extension module that allows retrieving
> the uptime of the system and the load averages from Python scripts.
> The files together with some instructions are located at
> http://www.speedyshare.com/473240971.html .

Download doesn't work for me. Can you please just send it as an

Sorry, that link doesn't already work for me either.

> I suggest that I try to write a translator that will implement some
> basic support for browsing tar files.

Note that a readonly tar translator already exists IIRC, probably in

OK, I will certainly take a look at it, as soon as I finish The Hurd Hacking Guide. Thanks for information.

> It seems to me that knowing some details about writing translators, I
> will be able to work on namespace-based translator selection in a more
> efficient way.

Indeed, something along the lines is certainly useful to learn about
translator programming in general :-)

In view of the task you want to work on, it might be even better though
to write something directly involving namespace manipulation: For
example a translator that reads a list of file names from the underlying
node, and creates a virtual directory mirroring the listed files.

Or a translator that filters the underlying diretory tree, showing only
those files that give a "true" result with the specified filter
_expression_ (which can be an arbitrary command to execute).

What do you think, do these sound interesting? :-)

This does sound _really_ interesting :-) I think, I'll try to write the translator that filters the directory tree. Thank you for the idea!


Attachment: pyuptime.tar.bz2
Description: BZip2 compressed data

reply via email to

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