Opened 19 months ago

#382 new defect

multiple files with same indoe are created

Reported by: komh Owned by:
Priority: normal Milestone: new
Component: libc Version: 0.6.6
Severity: normal Keywords:
Cc:

Description

Hi/2.

When heavily fork()ed, multiple files with same inode are created. Because sometimes forked() child processes have the same seed value.

Some programs checking inodes such as mv, cp, install of coreutils, fails because they treat files with same inodes as the same files.

This always occurs when running 'bootstrap' script in coreutils git repo. mv fails with complaining ./m4/.gitignore.bak and ./m4/.gitignore are the same file.

Attachments (1)

fs.diff (502 bytes) - added by komh 19 months ago.
patch for same inodes

Download all attachments as: .zip

Change History (1)

Changed 19 months ago by komh

patch for same inodes

Note: See TracTickets for help on using tickets.