wish: extfs discovery

Marcin Owsiany porridge at debian.org
Sat Mar 15 14:10:37 UTC 2008


Hi all,

I created a custom extfs which allows easy browsing of reports created
by a program I maintain, called "cruft" (http://bugs.debian.org/407475 for
the curious).

It does not make much sense to include the extfs script in the mc
package, as maintaining it and releasing updates together with "cruft"
will be much easier and more efficient.

The only thing needed to make this "cruft-fs" work is an entry in the
extfs.ini file. However that file is owned by the mc package, which
means that I cannot add/delete lines to/from it on cruft package
installation/removal.


I thought of some KISS-style solution, such as having:
 1) a extfs.ini.d/ directory into which package such as cruft could drop
 extfs.ini snippets,
and
 2) a simple update-mc-extfs script, to be called in package postinst
 scripts, which would just cat the snippets together into extfs.ini.

As such, it would be a simple packaging issue and would not need any mc
code modification.


Another way is to have mc perform available extfs discovery on runtime.
This would of course require code changes.


The debian mc package maintainers asked me to send a feature request
here. Before I submit a patch, I'd like to ask which implementation
you'd like more?

regards,
-- 
Marcin Owsiany <porridge at debian.org>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20080315/1464fad9/attachment.asc>


More information about the mc-devel mailing list