[Pkg-utopia-devel] pmount stuff

Sjoerd Simons sjoerd@spring.luon.net
Thu, 28 Oct 2004 14:29:34 +0200


On Thu, Oct 28, 2004 at 02:15:51PM +0200, Martin Pitt wrote:
> > The only downside is that when a k-v-m (or any other volume manager) is
> > packaged, it should also be patched to pass extra options instead of
> > another mount command. Which means extra work, because in the ideal case
> > every volume manager in debian would do basically the same (wrt to
> > mounting) and keeping stuff in sync is tiresome.. Ubuntu ofcourse doesn't
> > have this problem :)
> 
> Well, we do have the problem, there are many folks that use Ubuntu
> with KDE. In general you are right, but I really want to avoid
> dependencies of pmount that are not strictly necessary. The code must
> be kept small and without much communication to other things, since it
> runs as root. 

Oh maybe i wasn't completely clear. My suggestion was not to put it in 
p{,u}mount program itself, that would be horrible. 

I wanted to suggest to put another program inbetween (one that isn't setuid
etc), which gathers the ``extra'' information from hal and then calls pmount
with the right arguments. Then basically the only change to the various
volume-manager is to call that program instead of mount, like is currently done
with pmount in ubuntu.. 

  Sjoerd
-- 
Nobody ever ruined their eyesight by looking at the bright side of something.