[Bug 70535] Re: nautilus crashes when copying a 4G file on a vfat volume

2009-03-28 Thread Erik Cederstrand
No, no, no, don't close it, fix it! There's 19 duplicates and something
like 50 people watching this bug. I've finished my education, had two
kids and changed jobs three times since I opened this bug in 2005. Can
we please not just close it, but fix it instead by issuing an error
message? Trying to do something that will never work should be
considered a bug.

It's got to be less than five lines of code the right place:

if( targetdir.fstype == "FAT32" && file.size > 4GB ) {
   echo "Error: You are trying to copy a file larger than 4GB to a FAT32 
formatted filesystem. FAT32 doesn't support file sizes larger than 4GB.";
   return 1;
}

-- 
nautilus crashes when copying a 4G file on a vfat volume
https://bugs.launchpad.net/bugs/70535
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 70535] Re: nautilus crashes when copying a 4G file on a vfat volume

2009-03-28 Thread Erik Cederstrand
It's great that Nautilus doesn't crash anymore, but the error message
isn't very helpful. Nautilus probably just catches the return value from
cp and shows the error message. I'm not confident cp is the best place
to fix this, because then cp would need to know about other filesystem
limits like vnode count, disk space etc, which would make cp
unreasonably complex. Nautilus itself is probably a better place for
this.

-- 
nautilus crashes when copying a 4G file on a vfat volume
https://bugs.launchpad.net/bugs/70535
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs