Your message dated Wed, 01 Mar 2006 13:13:06 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#354875: /bin/cp directory full vs. disk full messages
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: coreutils
Version: 5.93-5
Severity: normal
File: /bin/cp

Trying to copy a less than 1MB file to a half full 16MB flash card, I get:

# cp xutils_6.9.0.dfsg.1-4_i386.deb /mnt/usb/pqi
cp: cannot create regular file
`/mnt/usb/pqi/xutils_6.9.0.dfsg.1-4_i386.deb': No space left on device
# df /mnt/usb/pqi
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1                15968      9072      6896  57% /mnt/usb/pqi
# sync
# cp xutils_6.9.0.dfsg.1-4_i386.deb /mnt/usb/pqi
cp: cannot create regular file
`/mnt/usb/pqi/xutils_6.9.0.dfsg.1-4_i386.deb': No space left on device 
# mkdir /mnt/usb/pqi/dir
# cp xutils_6.9.0.dfsg.1-4_i386.deb /mnt/usb/pqi/dir
#

Well if the problem is that the flash card's root FAT file table was
full, then there should be a better message!

Separate "directory full" from "disk full" when giving messages to the
user, else he might never guess the solution.

Maybe historically for UNIX this would never happen, so the messages
were never improved.


--- End Message ---
--- Begin Message ---
On Wed, Mar 01, 2006 at 01:44:24PM +0800, Dan Jacobson wrote:
Well if the problem is that the flash card's root FAT file table was
full, then there should be a better message!

This is beyond the scope of the cp command, the message comes from the kernel. I suspect that there's no interest in adding a specific error code for a particular fault condition for fat filesystems to the kernel, but you could ask there if you wish.

--
Michael Stone

--- End Message ---

Reply via email to