cp dies with SIGXFSZ, a signal from BSD that is generated when the
device's file-size limit is exceeded, and whose default behavior is to
dump core(!).

There may be issues on some filesystems where it can be difficult to
determine the true file-size limit, and even after such a check, there
is a race condition. Whether or not such a check is performed, however,
it should be a simple matter to install a handler for SIGXFSZ.

Note that mv (others? prolly dd...) also has this issue (see
duplicates).

-- 
cp dumps core when copying >4GB files to a VFAT filesystem
https://bugs.launchpad.net/bugs/75574
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to