Here is the way to reproduce the problem. The problem that I reported is not 
that mc can't save edited file. Problem is that it deletes OLD CONTENT TOO 
leaving user with some free space on disk and no content at all - neither new 
nor old.
==========
[EMAIL PROTECTED]:/tmp$ dd if=/dev/zero of=/tmp/test count=100000
[EMAIL PROTECTED]:/tmp$ sudo su
sarge:/tmp# mkfs.xfs test
sarge:/tmp# mkdir testmnt
sarge:/tmp# mount -o loop test testmnt 
sarge:/tmp# cd testmnt
sarge:/tmp/testmnt# echo "test string" >important_file
sarge:/tmp/testmnt# dd if=/dev/zero of=b
sarge:/tmp/testmnt# mcedit important_file
sarge:/tmp/testmnt# ls -l important_file
-rw-r--r--  1 root root 0 2007-01-15 09:35 important_file

-- 
Respectfully
Alexey Nezhdanov



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to