Emmanuel Moll <[EMAIL PROTECTED]> writes:

> I'm trying to install slmdm for my laptop ut when i'm rpming the
> package, I et the following:
> 
> /dev/ttySL0: cpio: rename failed - Operation not permitted

this is due to wrong packaging: this program packager[1] should never
had packaged /dev/* entries in the first place.

these are provided by the makedev package and are overided by the
kernel for most people since they use devfs. hence the error you got
since one cannot create device on devfs mounted /dev.

> Any knows how to fix this problem (I've googled a bit and apparently
> it's MDK problem) but I couldn't find a fix.

mkdir /root/root
mount --bind / /root/root
mount --bind /root/root/dev /dev
#install the mispackaged program
umount /dev
umount /root/root

or simpler :

mkdir /dev.devfs
#install the mispackaged program
mount --move /dev.devfs /dev


[1] where does this package come from?


Reply via email to