Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 2 3 [4] 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: gaprted.uci< Next Oldest | Next Newest >
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: June 08 2008,22:37 QUOTE

@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.)
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: June 08 2008,23:48 QUOTE

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.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: June 09 2008,03:09 QUOTE

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.
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: June 09 2008,10:06 QUOTE

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.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: June 09 2008,10:14 QUOTE

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.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
23 replies since May 22 2008,18:42 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 2 3 [4] 5 >/
reply to topic new topic new poll
Quick Reply: gaprted.uci

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code