bug-hurd
[Top][All Lists]
Advanced

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

Re: RFC: get_translator_info, needed for a mtab translator


From: Justus Winter
Subject: Re: RFC: get_translator_info, needed for a mtab translator
Date: Thu, 04 Jul 2013 15:29:57 +0200
User-agent: alot/0.3.4

Quoting Justus Winter (2013-07-03 23:11:57)
> Hi,
> 
> we discussed in #hurd that I'd send my mtab prototype quite early so
> that we can discuss the rpc procedure [...]

Looking at libshouldbeinlibc/fsysops.c:fsys_get_readonly (fsys_t fsys, int 
*readonly)

I'm thinking that this might be an opportunity to get rid of the
heuristic in that function. The comment explains the issue:

/* Ask FSYS whether it's readonly, returning the result in READONLY; we don't
   really have a good method for this, other than asking for it's options and
   looking for `--readonly' or `--writable'.  If we see neither, return
   EOPNOTSUPP.  */

Thoughts?
Justus



reply via email to

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