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

Re: e2fsprogs thinks everything is already mounted



Neal H Walfield <neal@cs.uml.edu> writes:

> I think that this will be difficult.  The ext2fs server, and any other
> Hurd server for that matter, uses stores when dealing with large
> unformatted data blocks.  A store is expressed using lengths and runs.
> Therefore, you will not get, e.g. /dev/hd0s2, when you are expressing
> file stores, memory stores, layered stores or interleaved stores.

But the store has some identifier which can go into mtab, even if it
is not a simple filename. Actually having all the
mount points/translated nodes handy is much more useful. If you know
them, the other parameters are just a showtrans (or equivalent C call)
away.

That I'm still not able to get, though: is it possible for a
translator to inquire which node it has been attached to?

> Look in <hurd/paths.h> and you will find the _SERVERS_PASSWORD macro.
> You can then use that and the file_name_lookup function found in
> <hurd.h> to get a send right to the password server:

Very good! I'll give it another whirl soon.

-- 
Robbe

Attachment: signature.ng
Description: PGP signature


Reply to: