[Pkg-ltsp-devel] Bug#456327: replace udevinfo call with udevadm
Scott James Remnant
scott at ubuntu.com
Fri Dec 14 16:34:28 UTC 2007
Package: ltspfs
Version: 0.1cvs20060518-1
Severity: wishlist
Tags: patch
tools merged into a single binary upstream
*** /tmp/tmp36ZDNv
In Ubuntu, we've applied the attached patch to achieve the following:
* scripts/add_fstab_entry: call udevadm instead of udevinfo
We thought you might be interested in doing the same.
-- System Information:
Debian Release: lenny/sid
APT prefers gutsy-updates
APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 'gutsy')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
--- ltspfs-0.5.orig/scripts/add_fstab_entry
+++ ltspfs-0.5/scripts/add_fstab_entry
@@ -6,7 +6,7 @@
DEVICENAME=$(basename $1)
FSTYPE=$2
-export $(udevinfo -qenv -n ${DEVICENAME})
+export $(/sbin/udevadm info -qenv -n ${DEVICENAME})
ROOT=/var/run/drives
FSTAB=/var/run/ltspfs_fstab
More information about the Pkg-ltsp-devel
mailing list