FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 02-25-2010, 02:54 PM
Jesse Keating
 
Default devkit-disks has been replaced with udisks

Call the right tool to inhibit.
---
liveinst/liveinst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/liveinst/liveinst b/liveinst/liveinst
index faef488..e3ec201 100755
--- a/liveinst/liveinst
+++ b/liveinst/liveinst
@@ -56,7 +56,7 @@ if [ ! -e /selinux/load ]; then
ANACONDA="$ANACONDA --noselinux"
fi

-# devkit-disks is now mounting lots of stuff. for now, let's just try to unmount it all
+# udisks is now mounting lots of stuff. for now, let's just try to unmount it all
umount /media/*
tac /proc/mounts | grep ^/dev | grep -v live | while read dev mntpoint rest; do
if [ -b $dev ]; then
@@ -80,8 +80,8 @@ for i in /dev/md*; do
esac
done

-if [ -x /usr/bin/devkit-disks ]; then
- /usr/bin/devkit-disks --inhibit -- /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*"
+if [ -x /usr/bin/udisks ]; then
+ /usr/bin/udisks --inhibit -- /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*"
elif [ -x /usr/bin/hal-lock -a -e /var/lock/subsys/haldaemon ]; then
/usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*"
else
--
1.7.0

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org