PLD Linux Distribution

'cp: cannot create special file' during geninitrd.

Reported by Paweł Sikora on 2011-02-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PLD Linux
Undecided
Unassigned

Bug Description

during initrd regeneration we get ugly error message from 'cp'.

(...)
geninitrd: Setting up mdadm...
geninitrd: + cp /usr/lib64/initrd/mdassemble /root/tmp/initrd.YlprUo/bin/mdassemble
geninitrd: echo Setting up array (/dev/md0 = /dev/sdb1 /dev/sda1)
geninitrd: + cp /dev/sdb1 /root/tmp/initrd.YlprUo/dev/sdb1
geninitrd: + cp /dev/sda1 /root/tmp/initrd.YlprUo/dev/sda1
geninitrd: + cp /dev/md0 /root/tmp/initrd.YlprUo/dev/md0
geninitrd: + cp /dev/sda /root/tmp/initrd.YlprUo/dev/sda <====== first copy (sda2,sdb2 == striped swap)
geninitrd: + cp /dev/sda2 /root/tmp/initrd.YlprUo/dev/sda2
geninitrd: + cp /dev/sda3 /root/tmp/initrd.YlprUo/dev/sda3
geninitrd: + cp /dev/sdb /root/tmp/initrd.YlprUo/dev/sdb
geninitrd: + cp /dev/sdb2 /root/tmp/initrd.YlprUo/dev/sdb2
geninitrd: + cp /dev/sdb3 /root/tmp/initrd.YlprUo/dev/sdb3
geninitrd: Adding rootfs finding based on kernel cmdline root= option support.
geninitrd: Setting up suspend...
geninitrd: + cp /dev/sda2 /root/tmp/initrd.YlprUo/dev/sda2 <===== second copy.
cp: cannot create special file `/root/tmp/initrd.YlprUo/dev/sda2': File exists
geninitrd: + cp /etc/suspend.conf /root/tmp/initrd.YlprUo/etc/suspend.conf
geninitrd: + cp /usr/lib64/suspend/resume /root/tmp/initrd.YlprUo/bin/resume
(...)

geninitrd-10000.31-0.1.noarch

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers