Re: magicdev and non-CD devices
- From: Sean Middleditch <elanthis awesomeplay com>
- To: desktop-devel-list gnome org
- Subject: Re: magicdev and non-CD devices
- Date: 14 May 2003 13:18:59 -0400
On Wed, 2003-05-14 at 13:16, Bastien Nocera wrote:
> On Wed, 2003-05-14 at 19:01, Rui Miguel Seabra wrote:
> > Hello,
> >
> > On Wed, 2003-05-14 at 16:38, Owen Taylor wrote:
> > > But a few quick notes:
> > > - Actually, displaying icons on the desktop has nothing
> > > to do with magicdev. That's handled within nautilus.
> > > On Red Hat Linux, it should actually be possible to
> > > get USB/Compact flash working with only nautilus changes;
> > > we had it working with MC for a release or two before
> > > switched over to magicdev.
> >
> > What I understood is that Nautilus finds devices that the user should be
> > able to mount (string 'user' or owner, I think, on /etc/fstab, such as
> > Floppy, Cdrom, etc...[1]).
> >
> > That way, nautilus will never find how to mount usb/compact flash by it
> > self, requiring a slight change to /etc/fstab (I may be wrong, if so
> > don't flame, please correct me).
>
> AFAIK, Nautilus used to have a bug in that it wouldn't update its
> internal list of mounts when /etc/fstab changed.
>
> On Red Hat systems, anaconda will update the /etc/fstab when you plug in
> a new storage device, so plugging in a usb hard drive would make it show
> up the disks sub-menu, it would just need to be mounted at that point (a
> right-click away).
>
> Magicdev would have to be able to know (how?) which bus the new storage
> device is on to be say "hey, i need to mount this".
I believ the answer is using hotplugging - when a new USB device is
plugged in, for example, D-BUS would let magicdev/nautilus/whatever know
about it.
The problem I see if keeping state; if you open a new app that needs to
know what devices are _currently_ in the system, something needs to be
done for that - not sure if the dbus folks discussed that one or not.
(yay list archives)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]