Hi Bernard,
here is one more:
OpenSuSE 11.3 does no longer uses devfs but devtmpfs ...
An example of /proc/mounts
rootfs / rootfs rw 0 0
devtmpfs /dev devtmpfs
rw,relatime,size=186100k,nr_inodes=46525,mode=755 0 0
tmpfs /dev/shm tmpfs rw,relatime 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/sda2 / ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
Common.pm won't detect detect that and set "boel devstyle" to
"standard" instead of udev (and thus not mount /a/dev).
The attached patch extends the regular pattern. But that does not
really solve the problem. If no-uyok is used, it's not important
what the running system uses but what the standard kernel will
require during install. The new standard kernel will always
require "boel devsytle=udev" (or similar) to have /a/dev mounted
before systemconfigurator will be called from within the
master.script.
Best,
thomas
--- /usr/lib/systemimager/perl/SystemImager/Common.pm.orig 2011-04-08 19:56:44.502246164 +0200
+++ /usr/lib/systemimager/perl/SystemImager/Common.pm 2011-04-08 19:57:44.467513361 +0200
@@ -1665,7 +1665,7 @@
sub which_dev_style {
open(FILE, "</proc/mounts");
while(<FILE>) {
- if ((m/\budev\b/) || (m/\/dev\stmpfs\s/)) {
+ if ((m/\budev\b/) || (m/\/dev\stmpfs\s/) || (m/\/dev\sdevtmpfs\s/)) {
return 'udev';
} elsif (m/\bdevfs\b/) {
return 'devfs';
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users