media:/ shows unnecessary media

Giuseppe Bilotta bilotta78 at hotpop.com
Sun May 29 05:19:35 CDT 2005


On Sun, 29 May 2005 15:17:00 +0000, Rajeev J Sebastian wrote:

> On Sunday 29 May 2005 8:50 am, Giuseppe Bilotta wrote:
>> Plus, pmount complains
>> about hdas not being removable media, so one of the big issues here is
>> that pmount will *not* work with hard disks. Maybe it will if they are
>> recognized via the hotplug/udev interface, but I don't know.
> Ok good (!!). fstab-sync/pmount doesnt work. No problem.

RFE for the pmount developer? :) Having something like pmount working
for fixed disk is extremely important for live system.

>>> Yeah that is a problem :) Obviosly, we shouldn't allow that, but I havent
>>> checked. But I also think
>>
>> Therefore you are ;)
> :) .. what I meant was, the partition-id disambiguates. Plus, if a user tries 
> to set a label to an entry in media:/ which is the same as another, media:/ 
> complains. So that takes care of the manual case.

Good point.

>>> If someone can give me a printout/screenshot of hal-device-manager
>>> showing the Advanced properties of a USB stick, I can make sure that such
>>> disks are labelled accordingly.
>>
>> I will try and do it later today.
> Thanks

Ok, a couple of things. Keep in mind I'm working on Kubuntu/Live for
the time being.

1. hal-device-manager seems to require gnome2 & stuff. Isn't there a
KDE front-end? for *K*ubuntu it'd be a nice thing :) Especially since
hal-device-manager is *not* installed on Kubuntu/Live.

2. USB sticks require no special efforts, it would seem. Their label
is used in the media:// section of Konqueror, and they are mounted
without requiring special intervention.

Do you still need the info?

>>> Well, as long as you have the dependencies (python2.4-dbus,
>>> python2.4-dcop and python2.4) then it should run (you need to modify the
>>> /etc/defaults/hal as well so that we can retrieve partition type info
>>> from HAL).
>>
>> Hm. Hope Kubuntu live has those deps :)
>
> I had to manually install dcop package.

*Very* manually, right? I couldn't even find it in the default
repositories used by Kubuntu ... I think all script-language dcop
bindings should come with Kubuntu! :)

>>> perhaps, it is also a start to a kubuntu specific device-manager ?
>>
>> That's an interesting idea. Are there Kubuntu-specific feature that
>> allow that, or can the scripts and all be passed upstream with little
>> change?
> Yeah why not. What I meant by kubuntu-specific, is that it should fit the 
> vision of kubuntu (and maybe debian), than anything else in particular. But, 
> I see nothing stopping it from going upstream (if upstream was KDE-Debian).
> 
> In particular, I would like to have something like the "Send to Ubuntu" button 
> that hal-device-manager has: to submit hardware profile to some online 
> service (or via email, snail mail, whatever) for analysis purposes.
> 
> My plan is this:
> 1) expand the script to make it a sort of service
> 2) have plugins to do stuff when conditions occur.
> 
> The more I look at it, it seems very much like ivman. However, ivman uses 
> pmount. I will write my own fstab-sync-ing system, unless it is not 
> advisable. 
> 
> Any opinions on this ?

Sounds a little like reinventing the wheel. Between ivman, hotplug,
udev, hal, dbus & friends there shouldn't be (much) need to add more
stuff ... maybe, as I said, the only thing that should be added is
pmount support for fixed hard disk.

-- 
Giuseppe "Oblomov" Bilotta

Hic manebimus optime




More information about the kubuntu-devel mailing list