Re: [udisks] moving shared mounts from /media to /run/media ?

2013-02-19 Thread David Zeuthen
Hi, Yeah, please open a bug for this in bugzilla. Thanks. Thanks, David On Tue, Feb 19, 2013 at 9:11 AM, Tom Gundersen wrote: > Hi David, > > I noticed your commit "Introduce UDISKS_FILESYSTEM_SHARED=1 to use > /media for mounting". The feature makes sense in my opinion. However, > I wonder if

Re: Detecting USB3 devices via UDisks2

2012-09-20 Thread David Zeuthen
Hi, On Thu, Sep 20, 2012 at 1:45 PM, Zygmunt Krynicki wrote: > Looking at UDisks2 API there is no apparent property that would encode it. It's true that in udisks 1.x there was http://hal.freedesktop.org/docs/udisks/Device.html#Device:DriveConnectionSpeed but if you think about it, we just ca

Re: udisksctl unlock parameter for keyfiles

2012-09-12 Thread David Zeuthen
Hi, On Tue, Sep 11, 2012 at 3:17 PM, Sebastian Fischmeister wrote: > Cryptsetup requires root access and I don't want that for my backup > mechanism. Also I don't want to call sudo in a cron job. The encrypted > drive should be mountable by a regular user (e.g., automounting an > encrypted usb st

Re: udisksctl unlock parameter for keyfiles

2012-09-12 Thread David Zeuthen
Hi, On Wed, Sep 12, 2012 at 10:09 AM, Martin Pitt wrote: >> Is it difficult to mount an encrypted drive through dbus-send? It >> seems that there is an awful lot of details in the parameters that >> need to be just right. > > In that case it seems easier to use libudisks, possibly from > introspe

Re: udisksctl unlock parameter for keyfiles

2012-09-11 Thread David Zeuthen
Hi, On Tue, Sep 11, 2012 at 12:05 PM, Sebastian Fischmeister wrote: > This means one cannot script mounting an encrypted drive with > udiskctl. Is there a way around it? Is there any reason you're not just using cryptsetup(8) for this? With the way it's supposed to work, udisksctl isn't really

Re: About SmartUpdate()

2012-06-23 Thread David Zeuthen
On Sat, Jun 23, 2012 at 4:39 PM, Anant Kamath wrote: > Hi, > > For which properties does the SmartUpdate() method (in the > org.freedesktop.UDisks2.Drive.Ata interface) need to be called ? > Are properties like temperature, SmartFailing updated automatically? The D-Bus properties are updated ever

Re: DevicePresentationHide udisks::device property

2012-06-22 Thread David Zeuthen
Hi, On Fri, Jun 22, 2012 at 10:34 AM, Ayan George wrote: > On 06/22/2012 09:52 AM, Lisa Vitolo wrote: >> >> I'm writing a partitioning library based on udisks and I have a >> doubt: what's the actual meaning of the DevicePresentationHide >> property for devices? The documentation says such a devi

Re: udisks2 - unexpected error on unmount

2012-06-04 Thread David Zeuthen
Hi, This sounds similar to this bug https://bugzilla.redhat.com/show_bug.cgi?id=824139 which I believe is a kernel bug. I've run into this myself but cannot reproduce it any more Please use https://bugs.freedesktop.org/enter_bug.cgi?product=udisks in the future when reporting bugs. Thanks

Re: Listing devices using udisks2

2012-05-14 Thread David Zeuthen
Hi, On Mon, May 14, 2012 at 4:54 PM, Anant Kamath wrote: > Hi, > > I'm using udisks 1.97 > > Since the EnumarateDevices DBus method is not available in udisks2, is the > org.freedesktop.DBus.ObjectManager.GetManagedObjects method the best way to > list drives using udisks2 ? The best way is to u

Re: Handling rootfs on a bind-mount

2012-05-10 Thread David Zeuthen
Hey, On Wed, May 9, 2012 at 8:38 PM, Daniel Drake wrote: > Could these behaviour points be adapted in the interest of finding a > real solution here, or is this regarded as a corner case which I > should use the well-documented udev override for? I think udisks2's UDisksMountMonitor is just maki

Re: Udisks and/or polkit problems

2012-05-08 Thread David Zeuthen
Hey, If you think I'm speaking on behalf of Red Hat on this mailing list, then you are badly mistaken. The fact that you bring companies into the mix indicates a poor understanding of how open source communities work. The fact that I do work for Red Hat really has nothing to do with this. The prob

Re: Udisks and/or polkit problems

2012-05-08 Thread David Zeuthen
Hey, On Tue, May 8, 2012 at 7:16 AM, Kevin Chadwick wrote: > Better than factually wrong documentation and design. You didn't want > to answer any of the valid issues in the first place as others have > found. As I said in the initial mail to you, your so-called "valid issues" were either incomp

Re: Udisks and/or polkit problems

2012-05-08 Thread David Zeuthen
On Tue, May 8, 2012 at 5:45 AM, Kevin Chadwick wrote: > p.s. polkit's configuration system (multiple locations, lack of > example, etc.) and documentation is an absolute mess and an embarassment > to unix and also includes incorrect information about sudo, perhaps > you know the people to shake up

Re: Udisks and/or polkit problems

2012-05-07 Thread David Zeuthen
Hi, On Mon, May 7, 2012 at 6:47 PM, Kevin Chadwick wrote: > That would still allow the user davidz to unmount /boot / etc.. Sure - there's no way for udisks to tell them apart. > That's not something that fits into my security policy? Well, if you have such needs, then perhaps you shouldn't be

Re: Udisks and/or polkit problems

2012-05-07 Thread David Zeuthen
On Mon, May 7, 2012 at 10:34 AM, Kevin Chadwick wrote: > I decided, that features gone, and after editing three files (two > ineffectual), polkit is atleast unmounting, but before I could look at > what that actually means in terms of what can be unmounted and > restricting that to certain devices

Re: udisks 1.93.0

2012-04-11 Thread David Zeuthen
Hi, On Tue, Apr 10, 2012 at 5:29 PM, Serghei Amelian wrote: > I have a curiosity, for what reason some properties still array of bytes (i.e. > Device  and PreferredDevice). They cannot be represented as strings? Strings in D-Bus must be valid UTF-8 and, technically, nothing is preventing the ker

udisks 1.93.0

2012-04-10 Thread David Zeuthen
s and libraries to access and manipulate disks and storage devices. This is the first release of the new 2.x series. This release is parallel-installable with udisks 1.x. Changes since udisks 1.93.0: David Zeuthen (10): Post-release version bump to 1.94.0 Pass --readonly to cryptse

Re: unnecessary polls of cdrom block device from udisks daemon

2012-04-06 Thread David Zeuthen
Hey, On Fri, Apr 6, 2012 at 5:15 AM, Aaron Lu wrote: > Hi, > > I'm doing some development on Linux scsi cdrom driver(sr module) > recently and found that the udisks daemon will periodically open the > ODD block device /dev/sr0. I guess the reason is to check events, since > on block open, the che

udisks 1.92.0

2012-02-23 Thread David Zeuthen
s and libraries to access and manipulate disks and storage devices. This is the first release of the new 2.x series. This release is parallel-installable with udisks 1.x. Changes since udisks 1.91.0: Colin Walters (1): client: Fix bit shifts of flags on 32 bit David Zeuthen (6):

udisks 1.91.0

2012-02-06 Thread David Zeuthen
us_interface_dup_object() and check return value Shut up valgrind complaing about LOOP_GET_STATUS64 ioctl Fix a couple of uninitialized warnings and simplify SMART self-test handling Update NEWS for release Martin Pitt (1): Fix .gir make dependencies Thanks to all ou

Re: udisks 1.90.0

2012-02-06 Thread David Zeuthen
Hey, On Sun, Jan 29, 2012 at 12:09 PM, Stef Bon wrote: > a. can the udisks mount monitor also provide this information to other > apps, like dolphin and autofs. > I see that lot's of apps/programs are "interested" in mountinfo, and > poll/scan the mountinfo file for that purpose. > Isn't it bette

udisks 1.90.0

2012-01-24 Thread David Zeuthen
rovides a daemon, tools and libraries to access and manipulate disks and storage devices. This is the first release of the new 2.x series. This release is parallel-installable with udisks 1.x. Thanks to all our contributors. David Zeuthen, Jan 20, 2012 __

Re: UDisks: partition resize/move support

2011-11-07 Thread David Zeuthen
Hey, 2011/11/7 Иво Георгиев : > Shouldn't the method contain "filesystem" (since it will re-size the > file-system first), or it would not re-size file-systems (only modifying the > partition table)? I think we need to have both, e.g. Filesystem.Resize() and Partition.Resize() Applications

Re: UDisks: partition resize/move support

2011-11-07 Thread David Zeuthen
Hey, 2011/11/5 Иво Георгиев : > The documentation says "TODO: Consider allowing changing offset and size." > under PartitionModify(). > If that feature is still desired/welcome, I'd be happy to try to implement > it. Is it? Yes it is but the work should happen in udisks2 (which is now on the mast

Re: [udisks] Broken floppy support

2011-09-29 Thread David Zeuthen
Hi, On Thu, Sep 29, 2011 at 9:22 AM, Balló György wrote: > Hi devs, > > could someone take care about this one year old bug? > https://bugs.freedesktop.org/show_bug.cgi?id=30283 > > I think that the previously applied "Fix long hangs on probing > nonexistant floppy drives" patch[1] causes that pr

Re: [udisks] Extended Partitions

2011-09-29 Thread David Zeuthen
Hi, On Fri, Sep 23, 2011 at 6:39 AM, Georg Grabler wrote: > Dear UDisks Developers / Community. > To introduce me and us, I'm on the Chakra-Project team, mainly working on > the system installer Tribe. We are about to rewrite our whole partitioning > to UDisks (using the DBus interface), and are

Re: GUsb 0.1.0 released!

2011-09-15 Thread David Zeuthen
Hey, On Thu, Sep 15, 2011 at 7:49 AM, Richard Hughes wrote: > GUsb is a GObject wrapper for libusb1 that makes it easy to do > asynchronous control, bulk and interrupt transfers with proper > cancellation and integration into a mainloop. > > Tarballs available here: http://people.freedesktop.org/

gdbus-port merged (Was Re: udisks 1.0.4 released)

2011-08-26 Thread David Zeuthen
Hi, On Fri, Aug 26, 2011 at 12:34 PM, David Zeuthen wrote: > Btw, work on udisks2 is going well - I'm planning to merge the > gdbus-port branch, see > >  http://cgit.freedesktop.org/udisks/log/?h=gdbus-port > > where the udisks2 work is happening, to master any day now

udisks 1.0.4 released

2011-08-26 Thread David Zeuthen
Hey hey hey, Here's a new udisks release http://hal.freedesktop.org/releases/udisks-1.0.4.tar.gz Changes from udisks 1.0.3: Ayan George (1): Mark all rts_pstor devices as card readers David Zeuthen (4): Post-release version bump to 1.0.4 Change the default for LVM

Re: Dbus timeout issue

2011-08-06 Thread David Zeuthen
Hi, On Sat, Aug 6, 2011 at 1:52 PM, Jacopo De Simoi wrote: > We are using QtDBus; I tried to propose the timeout approach, but > the official mantainer of the udisks backend for solid > (that is, the Qt abstraction layer which uses udisks) > doesn't quite like it. Indeed it looks more like a work

Re: Dbus timeout issue

2011-08-06 Thread David Zeuthen
Hi, On Sat, Aug 6, 2011 at 6:21 AM, Jacopo De Simoi wrote: > After some discussion with Thiago (of {Qt,}DBus fame) he suggested that in > the udisks api > the call + reply should be substituted (or better, integrated) with a call + > emit signal, since there should never be > a call + reply if

Re: udisks and eSATA: a question about the meaning of "detachable"

2011-07-13 Thread David Zeuthen
Hey, On Tue, Jul 12, 2011 at 8:22 PM, Phillip Susi wrote: > Why does one person who installs a DE on a server with a SAN with disks > that are not managed by LVM ( the way most people do SANs ) trump the > hundreds who expect their drives to just work when they plug them in? > > Heck, eliminate t

Re: udisks and eSATA: a question about the meaning of "detachable"

2011-07-12 Thread David Zeuthen
Hi, On Tue, Jul 12, 2011 at 4:57 PM, Phillip Susi wrote: > I would think that a server admin in such a comparatively VERY rare setup > could be bothered to change the system policy to disable automount It's not necessarily something that happens a lot but it happens frequently enough to warrant

Re: udisks and eSATA: a question about the meaning of "detachable"

2011-07-12 Thread David Zeuthen
Hi, On Tue, Jul 12, 2011 at 3:27 PM, Phillip Susi wrote: > On 7/12/2011 11:47 AM, David Zeuthen wrote: >> >> Btw, this is how Nautilus and the GTK+ file chooser already work: if >> you click the volume icon and the device is not mounted, then we mount >> it (normally

Re: udisks and eSATA: a question about the meaning of "detachable"

2011-07-12 Thread David Zeuthen
Hi, On Tue, Jul 12, 2011 at 11:00 AM, David Zeuthen wrote: > I think the only workable solution is that the user interface simply > doesn't expose whether a device with mountable filesystem is actually > mounted or not - some sort of clever mount-on-demand thing. > Unfortunat

Re: udisks and eSATA: a question about the meaning of "detachable"

2011-07-12 Thread David Zeuthen
Hi, On Mon, Jul 11, 2011 at 9:41 PM, Phillip Susi wrote: > And how are they supposed to determine that? By default nothing happens - as I said, the feature is mainly there for hobbyists. > At the end of the day, you either need to decide if you want to auto > mount new, unrecognized filesystems

Re: udisks and eSATA: a question about the meaning of "detachable"

2011-07-11 Thread David Zeuthen
Hi On Mon, Jul 11, 2011 at 9:25 AM, Tom Gundersen wrote: > On Mon, Jul 11, 2011 at 12:58 AM, Ansgar Burchardt wrote: >> I reported a bug in KDE [1] about eSATA drives not being seen as a The problem with eSATA, in a nutshell, is that there is no reliable way of figuring out if a device is conne

udisks 1.0.3

2011-06-29 Thread David Zeuthen
ME file for more discussion of ABI guarantees. Changes from udisks 1.0.2: Ayan George (2): Mark Realtek PCI flash card reader as such Bug 38535 – A DeviceAutoMountHint attribute should be added to udisks Bastien Nocera (1): Hide recovery partition on newer Lenovo machines Da

Re: eSATA auto mounting

2011-06-13 Thread David Zeuthen
On Mon, Jun 13, 2011 at 11:30 AM, Phillip Susi wrote: > So you are saying that the policy of auto mounting external drives and not > internal ones is fundamentally broken and must go away?  Why not fix it to > work correctly rather than remove the feature? Because it just cannot be fixed. Let me

Re: eSATA auto mounting

2011-06-13 Thread David Zeuthen
Hi, I've been on vacation last week and away from mail so apologies for the late reply. On Fri, Jun 3, 2011 at 4:00 PM, Phillip Susi wrote: > Towards the end of last year, I tried to tackle the problem of udisks not > automounting eSATA drives because it does not know they are external ( and > i

Re: [udisks] Dbus interface quick info

2011-05-09 Thread David Zeuthen
Hi, On Mon, May 9, 2011 at 1:36 PM, Lisa Vitolo wrote: > Hi, > this is a very quick question for all udisks developers or people just > knowing the interface very well. > I'm a developer using udisks for one of my codes. I'd like to have access to > some pratical examples together with the offici

Re: [PATCH] Add missing comma at the end of the line

2011-05-09 Thread David Zeuthen
Hi, On Mon, May 9, 2011 at 9:51 AM, Ozan Çağlayan wrote: > Add missing comma at the end of the "exfat" line. The list was introduced > with commit c933a929f07421ec747cebb24d5e620fc2b97037. This is already tracked in https://bugs.freedesktop.org/show_bug.cgi?id=36361 I'll commit that fix now.

Re: [PATCH udisks] Expose SMART drive temperature as property DriveAtaSmartTemperature

2011-05-09 Thread David Zeuthen
Hey, On Mon, May 9, 2011 at 10:08 AM, Forest Bond wrote: > Hi, > > Does anyone care to comment on this patch? Sorry for not responding earlier - I'm currently busy working on other things. Please use bugzilla for patches, feature requests and bug reports. https://bugs.freedesktop.org/enter_bug.

Re: [udisks] CD-ROM polling failed due to O_EXCL flag (poller.c)

2011-02-26 Thread David Zeuthen
Hi, There's no need to post to the list that you filed a bug - the bug tracker already sends mail to people working on the bugs and anyone is able to subscribe to udisks bugs too. FWIW, I think the fix here is to move to a setup where in-kernel polling is available (this recenty landed in Linux, s

Re: Question about enable polling.

2010-10-06 Thread David Zeuthen
Hi, On Tue, Oct 5, 2010 at 2:25 PM, Stef Bon wrote: >  On 10/05/2010 04:09 PM, David Zeuthen wrote: >> >> Hi, >> >> Via /etc/fstab. > > Can you give an example? /dev/disk/by-label/MyUsbStick /mnt/MyUsbStick ext4 defaults,user 0 0 >> Sure. Note that GN

Re: Question about enable polling.

2010-10-05 Thread David Zeuthen
Hi, On Tue, Oct 5, 2010 at 7:48 AM, Stef Bon wrote: > Yes, that's it. Ive tried it here myself, and indeed this behaviour. > > The polling is started also with a command like udisks --enumerate > > Thus the way to enable polling for all removable devices is to start at boot > time: > > udisks --e

Re: Question about enable polling.

2010-10-04 Thread David Zeuthen
Hi, For the record, the docs are located here http://hal.freedesktop.org/docs/udisks/ Also note that the ABI of the udisks(1) binary isn't considered stable. The D-Bus ABI has some stability gurantees, see the README file. On Sat, Oct 2, 2010 at 10:43 AM, Stef Bon wrote: > I'm using the udisk

gnome-disk-utility 2.32.0

2010-09-15 Thread David Zeuthen
with storage devices. It relies on the udisks project. David Yu-Chia Chang (1): Bug 594088 — Palimpsest GUI impossible to use on small screen David Zeuthen (5): Bug 613004 – Crash in gdu_adapter_get_object_path at gdu-adapter.c:288 Bump version to 2.32.0 Revert "

Re: Polkit permissions on org.freedesktop.udisks.filesystem-mount

2010-07-07 Thread David Zeuthen
Hi, On Wed, Jul 7, 2010 at 2:02 PM, Dmitry Dzhus wrote: > What is the supposed policy for mounting permissions? Should it be > possible for local users to just mount flash drives (looks like > `yes` in udisks actions file implies that > it is)? The expected behavior for mounting USB drives is de

Re: UDisks dbus async calls don't work sometimes when a second mainloop exists

2010-06-29 Thread David Zeuthen
Hi PCMan, If you're already using GLib and writing new code then it's probably much easier just to switch whole-sale to GDBus (which is in GLib 2.26 or later) than to use dbus-glib. If you feel adventurous, you might even want to try gdbus-codegen(1), see [1], - it can help save a lot of typing!

Re: Is udisks worse that HAL?

2010-06-25 Thread David Zeuthen
Hi, On Fri, Jun 25, 2010 at 5:11 PM, Baybal Ni wrote: > Let me support Maxim. First of all, such thing as a hardware > configuration is highly non uniform. We have real scsi hdd and > cd-roms-rams and other exotic scsi machinery, pci ssd, SX8 and similar > desktop sata controllers that doesn't ex

Re: Is udisks worse that HAL?

2010-06-24 Thread David Zeuthen
Hey, On Thu, Jun 24, 2010 at 1:17 PM, Maxim Levitsky wrote: > However I think that 1st priority for udisks should be removal of all > hardcoded stuff. Before you write any patches please do ask (in the udisks bugzilla) about whether such configurability is wanted. I mean, you seem to be pretty m

Re: Is udisks worse that HAL?

2010-06-24 Thread David Zeuthen
Hi Maxim, Your mail is indeed flamebait and I'm not sure it's really helping you. If you want a patch/enhancement into the udisks source tree, the way to do this is to file a bug at bugs.freedesktop.org (as the udisks documentation so eloquently states already): BUGS Please send bug re

Re: [PATCH 0/2] Change lvm2app memory allocation for pv/vg/lv properties

2010-05-19 Thread David Zeuthen
Hey Dave, On Wed, Apr 14, 2010 at 11:20 AM, Dave Wysochanski wrote: > > This patchset changes memory allocation for pv/vg/lv properties in lvm2app. > Unfortunately, this is a change to the existing API I've updated udisks to require and use this new API, see http://cgit.freedesktop.org/udisks/c

Re: Why I can't compile upower without policykit and other *kit stuff?

2010-05-07 Thread David Zeuthen
On Fri, May 7, 2010 at 4:34 AM, Baybal Ni wrote: > Yes, if it's security matter at least make it working without suid root > first, like use pam instead. This policykit is hardly a security framework. Can you elaborate on the last statement please? David

udisks 1.0.1 released

2010-04-09 Thread David Zeuthen
do #27494 for more details. Changes from udisks 1.0.0: David Zeuthen (3): Update NEWS for release Post-release version bump to 1.0.1 Update NEWS for release Martin Pitt (11): Set multimedia-player-ipod icon for iPod media players Allow other rules to set a more specific

Re: automount of internal sata drives with udisks

2010-04-09 Thread David Zeuthen
Hi, On Thu, 2010-04-08 at 13:49 +0200, Stephan Raue wrote: > Hi all, > > how is it possible to mount internal (SATA) Harddisk drives > automatically with udisks? > > I am using an embedded Linux system with udisk-1.0.0 and without using > an /etc/fstab. I can boot my system from an USB stick.

udisks 1.0.0

2010-03-15 Thread David Zeuthen
king for large files David Zeuthen (87): Post-release version bump to 010 Update udev rules to cope better with device-mapper Add a method to benchmark drives Add DriveWwn, DriveRotationalRate and DriveWriteCache properties Abort benchmark on IO errors Guessti

gnome-disk-utility 2.30.0

2010-03-15 Thread David Zeuthen
s. It relies on the udisks project. Bruce Cowan (1): Bug 608423 – String Review David Zeuthen (16): Post-release version bump to 2.29.91 Fix typo when figuring out if remote access is enabled Handle loop devices Rudimentary support for loop files Don't include n

Re: Speed up DeviceKit device probing on really slow devices

2010-01-20 Thread David Zeuthen
On Tue, 2010-01-19 at 14:54 -0800, Linus Torvalds wrote: > > On Tue, 19 Jan 2010, David Zeuthen wrote: > > > > As Kay said on the util-linux-ng list, the plan is to use blkid for > this > > in the future - so at some point udisks-part-id will go away. > > I hope

Re: Speed up DeviceKit device probing on really slow devices

2010-01-19 Thread David Zeuthen
Hey, (moving to the appropriate list) On Tue, 2010-01-19 at 11:41 -0800, Linus Torvalds wrote: > My wife has a embroidery machine that acts as a USB memory stick when > plugged into a computer through its USB port. It has a truly stunning > read speed of 15kB/s (yes, really), and it turns out t

Re: DeviceKit-power 014 released

2010-01-15 Thread David Zeuthen
On Fri, 2010-01-15 at 13:07 +0100, Michael Biebl wrote: > I'd also be interested in David's plans for udisks for GNOME 2.30. > As devicekits-disk resp. udisks is encapsulated by g-d-u/gvfs the > switch should be easier there, right? Right. The plan is for gnome-disk-utility 2.30 to depend on udisk

Re: devicekit-power-gobject segfault

2009-12-21 Thread David Zeuthen
On Mon, 2009-12-21 at 15:54 +, Richard Hughes wrote: > 2009/12/19 Martin Koegler : > > I notice, that libdevkit-power-gobject will segfault in various > ways, > > if the connection to the system dbus fails > > (devkit-power-gobject/dkp-client.c): > > I think it's pretty fatal if we can't conne

Re: DBus method naming of upower/udisks

2009-12-11 Thread David Zeuthen
On Fri, 2009-12-11 at 02:11 -0800, ran...@sibernet.com wrote: >So thinking about this a bit more, the question that should be > asked here is "what *is* this project"? What is or should be the > expectaction, requirements, or architecture of the project formally > known as DeviceKit-Disks (or

Re: DBus method naming of upower/udisks

2009-12-11 Thread David Zeuthen
On Thu, 2009-12-10 at 20:49 -0800, ran...@sibernet.com wrote: >I don't mean to be disrespectful, but it doesn't surprise me that > this is considered OS neutral. However, the fact that "U" sits > prominantly in the name implies that it is derived from 'udev': a > Linux-only facility. As I sai

Re: DBus method naming of upower/udisks

2009-12-10 Thread David Zeuthen
On Thu, 2009-12-10 at 09:09 +0100, Martin Pitt wrote: > udisks already uses org.freedesktop.UDisks, and I expect upower will > change similarly. Right - and I think udisks, it being the project name is pretty OS neutral so I don't see any problem in using it in public interfaces. I also don't thin

Re: DeviceKit-disks renamed to udisks

2009-12-08 Thread David Zeuthen
On Tue, 2009-12-08 at 09:34 +, Richard Hughes wrote: > 2009/12/8 Jedy Wang : > > 1) When will the renaming happen, in one week, one month, before > > gnome-2-30's release or after? > > I'm not sure. I'm tempted to push the upower code into a new git repo, > for clarity. FWIW, I'm planning to

Re: DeviceKit-disks renamed to udisks

2009-12-03 Thread David Zeuthen
On Thu, 2009-12-03 at 09:08 +0100, Ali Abdallah wrote: > Are you able to give satisfying answer now? Yes. > i don't understand what is the benefit of changing the D-Bus > name and involving developers/packagers in a extra work for > just nothing. This could have been the case with any new Devic

RE: Where is the place of specifying automount options for a specific file system

2009-12-02 Thread David Zeuthen
Hey, Sorry I missed your reply > Using /etc/fstab?? I don't understand. For fixed partition, yes, it's > anaconda's job to manipulate this file do right thing. Yeah, the OS installer typically writes out the /etc/fstab file for swap and other filesystems used for the OS (e.g. /usr). > But for a

Re: DeviceKit-disks renamed to udisks

2009-12-01 Thread David Zeuthen
On Tue, 2009-12-01 at 16:08 -0500, David Zeuthen wrote: > compared to +30K for udisks). This branch now requires udisks >= 1.0.0 > and udisks < 1.0.0. I suggest vendors do the same with packages. Eh, that would be udisks >= 1.0.0 and

DeviceKit-disks renamed to udisks

2009-12-01 Thread David Zeuthen
Hey, A lot of people have been asking what's up with the name DeviceKit-disks now that there is no DeviceKit daemon (which was replaced by libudev and libgudev). I never really was able to give a satisfying answer. So, after talking to a few of people (I suck at naming so I really need help here)

Re: Where is the place of specifying automount options for a specific file system

2009-11-30 Thread David Zeuthen
On Mon, 2009-11-30 at 23:23 +0800, Zhu, Peter J wrote: > With gio->gvfs->gdu->devkit in a distribution like FC11/FC12, where is > the place of specifying automount options for a specifi file system , > for example for a removable usb disk with vfat partition? In HAL, it’s > specified in HAL fdi fil

Re: Migrating suspend quirks away from hal

2009-11-13 Thread David Zeuthen
On Fri, 2009-11-13 at 15:03 +, Matthew Garrett wrote: > Bear in mind that with current kernels, resume should work without > quirks on all intel and radeon, and will basically never do anything > useful on nvidia. These are very much a legacy holdover, and at this > point I'd recommend dropp

gnome-disk-utility 2.28.1

2009-11-02 Thread David Zeuthen
.28.1 - gnome-disk-utility provides libraries and applications for dealing with storage devices. NOTE NOTE NOTE: This release is API and ABI compatible only with other releases in the 2.28.x series. David Zeuthen (3): Bump version to 2.28.1 Turn some war

DeviceKit-disks 009

2009-11-02 Thread David Zeuthen
ns on storage devices. NOTE NOTE NOTE: This is an unstable release of DeviceKit-disks, all API is subject to change. David Zeuthen (15): Post-release version bump to 009 Various device-mapper and cryptsetup fixes Pass -T to cryptsetup to handle incorrect passph

Re: [PATCH] param. names

2009-11-02 Thread David Zeuthen
On Mon, 2009-09-21 at 16:56 +0200, Davide Bettio wrote: > Hi, > > This patch[1] fixes some issues with qdbusxml2cpp (that may generate > broken code). Hey, sorry for the delay. I've committed something like this. Please use bugzilla, here https://bugs.freedesktop.org/enter_bug.cgi?product=Device

DeviceKit-disks 008

2009-10-16 Thread David Zeuthen
n and perform operations on storage devices. NOTE NOTE NOTE: This is an unstable release of DeviceKit-disks, all API is subject to change. David Zeuthen (6): Post-release version bump to 008 Actually inhibit the daemon when Inhibit() is called Bug 24054 – Devickit-

Re: storage hotpluggable property

2009-10-16 Thread David Zeuthen
Hey Dave, On Fri, 2009-10-16 at 13:34 -0400, Dave Allan wrote: > Hi All, > > I'm working on libvirt replacing the current HAL based device > enumeration with libudev based enumeration, and there doesn't seem to be > an equivalent of the HAL storage hotpluggable property in libudev. My > sense

Re: DeviceKit-power release next Monday

2009-10-08 Thread David Zeuthen
On Thu, 2009-10-08 at 00:46 +0200, Patrice Dumas wrote: > Maybe my use for DK* may not be what they have been done for, but I was > clearly not thinking about those kind of applications -- they don't really > need to mess up with disks, indeed, but more about applications that > would need to do s

Re: DeviceKit-power release next Monday

2009-10-07 Thread David Zeuthen
On Wed, 2009-10-07 at 19:34 +0200, Kévin Ottens wrote: > Still, I'm surprised that you'd bump it that often. Twice a year seems a lot > to me. I just made "twice a year" up because asking users of the ABI to do something twice a year isn't that unreasonable. If we never made any mistakes we'd nev

Re: DeviceKit-power release next Monday

2009-10-07 Thread David Zeuthen
On Wed, 2009-10-07 at 18:59 +0200, Kévin Ottens wrote: > On Wednesday 7 October 2009 18:46:45 Mikhail Gusarov wrote: > > Twas brillig at 12:24:43 07.10.2009 UTC-04 when da...@fubar.dk did gyre > > and gimble: > > > > DZ> FWIW, I think our version numbers should probably be changed so it > > DZ>

Re: DeviceKit-power release next Monday

2009-10-07 Thread David Zeuthen
On Wed, 2009-10-07 at 11:32 +0200, Patrice Dumas wrote: > On Tue, Oct 06, 2009 at 07:40:48PM -0400, David Zeuthen wrote: > > Hey, > > > > For DKD, don't expect a stable API anytime soon. FWIW, I even doubt that > > it's useful to make the API stable. It&#x

Re: DeviceKit-power release next Monday

2009-10-07 Thread David Zeuthen
On Wed, 2009-10-07 at 23:46 +0700, Mikhail Gusarov wrote: > Twas brillig at 12:24:43 07.10.2009 UTC-04 when da...@fubar.dk did gyre > and gimble: > > DZ> FWIW, I think our version numbers should probably be changed so it > DZ> is easier for distros to coordinate this effort. E.g. we should > DZ

Re: PartitionLabel property

2009-10-07 Thread David Zeuthen
On Wed, 2009-10-07 at 14:46 +0200, Davide Bettio wrote: > Hi, > > > That the old and stupid MSDOS partitions don't support anything useful > >is no reason not to support partition labels. You might want to read: > > > > http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_entries_.28LBA_2

Re: DeviceKit-power release next Monday

2009-10-07 Thread David Zeuthen
On Wed, 2009-10-07 at 07:02 +0700, Mikhail Gusarov wrote: > Twas brillig at 19:40:48 06.10.2009 UTC-04 when da...@fubar.dk did gyre > and gimble: > > DZ> Applications (that are not disk utility, partitioning etc. apps) > DZ> should just be using the GIO API since it's simpler and do what > DZ>

Re: devicekit-disks and Md

2009-10-06 Thread David Zeuthen
On Wed, 2009-10-07 at 00:35 +0200, Davide Bettio wrote: > Hi, > > I've been working with md and I noticed a couple of problems related to md > properties: > * An md raid shouldn't be reported as a drive. Actually it should. It's not really written down anywhere, but a drive in DKD terminology is

Re: DeviceKit-power release next Monday

2009-10-06 Thread David Zeuthen
Hey, On Tue, 2009-10-06 at 00:50 +0200, Michael Biebl wrote: > Now that DK-disks and DK-power are more and more widely used, such API > changes become and issue. > How will that be handled in the future? When can we expect a stable (D-Bus) > API? For DKD, don't expect a stable API anytime soon.

DeviceKit-disks 007 and gnome-disk-utility 2.28.0

2009-09-18 Thread David Zeuthen
Hey, Here's a couple of new releases http://hal.freedesktop.org/releases/DeviceKit-disks-007.tar.gz http://hal.freedesktop.org/releases/gnome-disk-utility-2.28.0.tar.bz2 Release notes: http://cgit.freedesktop.org/DeviceKit/DeviceKit-disks/tree/NEWS?id=007#n1 http://git.gnome.org/cgit/gnome-di

Re: Invalid properties names

2009-09-18 Thread David Zeuthen
On Wed, 2009-09-09 at 23:00 +0200, Davide Bettio wrote: > Hi, > > I replaced all the names and now I have a patch. > This patch should work but it doesn't work for me, somehow "WindowsStyleCaps" > names aren't accepted and they crash devkit-disks-daemon. Yeah, the dbus-glib code generator automa

Re: Invalid properties names

2009-09-06 Thread David Zeuthen
On Sun, 2009-09-06 at 22:22 +0200, Davide Bettio wrote: > Hi, > > > As the section name indicates says this is just a convention. So, > > Davide, may I suggest you file a bug against Qt since it is supposed to > > be handling things like this. > Thank you for your advice, but I will not file any b

Re: Invalid properties names

2009-09-06 Thread David Zeuthen
On Sun, 2009-09-06 at 22:14 +0200, Davide Bettio wrote: > Hi, > > > Out of interest, where in the spec did you see anything about property > > names ? > "Interface, signal, method, and property names are "WindowsStyleCaps", note > that the first letter is capitalized, unlike Java." > I think that

Re: Invalid properties names

2009-09-03 Thread David Zeuthen
On Thu, 2009-09-03 at 19:10 -0400, David Zeuthen wrote: > On Thu, 2009-09-03 at 18:36 -0400, Matthias Clasen wrote: > > On Thu, Sep 3, 2009 at 9:27 AM, Davide Bettio > > wrote: > > > Hi, > > > > > > On May 14th, I've sent a mail > > > (h

Re: Invalid properties names

2009-09-03 Thread David Zeuthen
On Thu, 2009-09-03 at 18:36 -0400, Matthias Clasen wrote: > On Thu, Sep 3, 2009 at 9:27 AM, Davide Bettio > wrote: > > Hi, > > > > On May 14th, I've sent a mail (http://lists.freedesktop.org/archives/devkit- > > devel/2009-May/000179.html) about properties names in devicekit-disks. As of > > today

Re: Invalid properties names

2009-09-03 Thread David Zeuthen
On Thu, 2009-09-03 at 15:27 +0200, Davide Bettio wrote: > Hi, > > On May 14th, I've sent a mail (http://lists.freedesktop.org/archives/devkit- > devel/2009-May/000179.html) about properties names in devicekit-disks. As of > today, September 3rd, I'm still not able to use it with Qt. Until devicek

DeviceKit-disks 006 and gnome-disk-utility 0.5

2009-08-17 Thread David Zeuthen
--- DeviceKit-disks is a daemon that provide interfaces to obtain information and perform operations on storage devices. NOTE NOTE NOTE: This is an unstable release of DeviceKit-disks, all API is subject to change. David Zeuthen (22): Post-release version bump

Re: [PATCH] Don't ignore ram and loop devices.

2009-08-17 Thread David Zeuthen
Hi, Sorry for not replying sooner. On Thu, 2009-08-06 at 02:12 +0100, Evan Dandrea wrote: > DeviceKit-disks udev rules do not ignore ram and loop devices, so the daemon > should not either. I don't think this is a good idea right since it will make Palimpsest show all your loop and block devices

Re: dm-raid support

2009-07-30 Thread David Zeuthen
On Thu, 2009-07-30 at 09:45 -0400, David Zeuthen wrote: > Anyway, to support the whole range of multi-disk solutions on Linux we'd > need to support > > - md-raid (95% done, only the "create RAID array is missing, see >http://people.freedesktop.org/~david/gdu-create

Re: dm-raid support

2009-07-30 Thread David Zeuthen
On Wed, 2009-07-29 at 22:29 +0200, Tobias Preclik wrote: > Hello, > > I wonder if dm-raid devices are already properly supported in > DeviceKit-disks. To a certain degree, yeah. > I am asking because I had problems with hal detecting > my dm-raid devices. See here: > > http://lists.freedesktop

Re: Volume manager based on DevKit

2009-07-07 Thread David Zeuthen
Hey, On Fri, 2009-07-03 at 16:13 +0200, Juan Miguel Cejuela wrote: > Hi there, > > . > I've written a simple automounter and volume manager based on > DeviceKit: Note that DeviceKit is now completely deprecated - users are supposed to be using libudev or libgudev instead. > . > http://www.ashr

Re: music player database

2009-07-05 Thread David Zeuthen
On Sun, 2009-07-05 at 10:55 +0200, Martin Pitt wrote: > I don't think we should hardcode icon names in .mpi files. It'll cry > for trouble for different themes, KDE vs. GNOME, etc. Either > gvfs/solid should figure them out from the available data themselves, > or .mpi should only have "device clas

  1   2   >