[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090828022635.GS6997@mit.edu>
Date: Thu, 27 Aug 2009 22:26:35 -0400
From: Theodore Tso <tytso@....edu>
To: Karel Zak <kzak@...hat.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] blkid: support .ko.gz in modules.dep parser
On Sun, Aug 23, 2009 at 09:13:56PM +0200, Karel Zak wrote:
> The Linux kernel modules could be compressed, it means modules.dep
> parser in libblid has to support .ko.gz extension too.
>
> (Note, I've talked about this problem with Jon Masters and his
> suggestion is to exec(/sbin/modinfo) rather than directly parse
> modules.dep. BTW, the modules.dep file is deprecated.)
Thanks, applied.
Running modinfo might be the better solution, but there's the standard
tricky business of forking and execing a program from a library (which
might have threads, or open file descriptors, etc.)
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists