The Testing Area :: gaprted.uci



@Juanito:

This might(?) have something to do with it not seeing devices:

It appears that gparted requires HAL >= 0.5.9 and uses hal_lock to prevent automounters trying to mount a partition while gparted is doing its stuff.

http://lists.rpmforge.net/piperma....89.html

http://people.freedesktop.org/~david....delines
Quote

Disk Management / Partitioning

In order to prevent HAL-based automounters from mounting partitions that are being prepared, applications that access block devices directly (and pokes the kernel to reload the partitioning table) should lock out automounters by either a) obtaining the org.freedesktop.Hal.Device.Storage lock on each drive being processed; or b) obtaintaing the global org.freedesktop.Hal.Device.Storage lock. This includes programs like fdisk, gparted, parted and operating system installers. See also the section called “org.freedesktop.Hal.Device.Volume interface” and the hal-lock(1) program and manual page.
#


but dsl doesn't have HAL, which I believe is a 2.6.xx kernel thing.

EDIT: specifically kernel 2.6.17 or later

http://freedesktop.org/wiki/Software/hal

Is there a configure option to compile gparted without HAL support?

Or you might need to build a pre-HAL older version of gparted.

(HAL is one of those things it would be good to have in the future 2.6.xx version of dsl.)

Seems that on May 10 the developers removed the absolute requirement for hal-lock from gparted sources:

http://cia.vc/stats/project/gnome/gparted

Quote
Removed absolute requirement for hal-lock. GParted will now work on systems with or without hal-lock


This was after the 0.3.7 release on 29 April.

So you might want to try svn sources http://gparted.sourceforge.net/svn.php

These won't need HAL.

Thanks, I thought - I'm not at a dsl machine at the moment - that I'd started gparted via a small wrapper script that avoided the hal thing, but I'll double-check.
gparted_start.sh just calls sudo gpartedbin on the uci that I have.

There is a script /opt/gparted/sbin/gparted that looks like it implements the lock with hal-lock when running gpartedbin.

[I think] Starting gpartedbin directly doesn't get around the hal requirement, and it appears no warning that it was mandatory was included in this release version.

About getting HAL for DSL. How to best say this.. yuck. No.
I'm so much against having the system decide for me "seems you plugged in an usb stick, would you like me to format it, or mount it"

It has locale problems, doesn't handle UTF-8, is heavy, and no-one really needs it.

Next Page...
original here.