Ticket #77 (new defect) — at Version 6
savannah: fish copies files to tmp before transfer -> fails with low disk space
Reported by: | tropikhajma | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-vfs | Version: | |
Keywords: | Cc: | pahan@…, bunk@…, god12@… | |
Blocked By: | Blocking: | #68 | |
Branch state: | no branch | Votes for changeset: |
Description (last modified by ossi) (diff)
Original: http://savannah.gnu.org/bugs/?21692
Submitted by: | hajma <tropikhajma> | Submitted on: | Sat 01 Dec 2007 02:34:28 PM UTC |
Category: | VFS | Severity: | 3 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Release: | 4.6.1 | Operating System: | GNU/Linux |
Original submission:
To reproduce: 1. have a machine with a 4G file on it and just 1G free space 2. mc 3. Left -> Shell connection, enter remote machine name and connect 4. In the right pane, locate the big file and hit F5 to copy it to the remote machine result: while mc pretends it is transferring the file to the remote machine, it is actually copying it to ~/tmp/mc-$USER. If I had enough space it would start transfer AFTER the file is completely copied (after it CLAIMS to user 100% was transferred). But since I do not have this much space, I am SOL and it fails. mc --version GNU Midnight Commander 4.6.1 Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, undelfs With builtin Editor Using system-installed S-Lang library with terminfo database With subshell support as default With support for background operations With mouse support on xterm and Linux console With internationalization support With multiple codepages support Mandriva Linux 2008.0 here the patches applied by distribution are available here: http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/updates/2008.0/mc/current/SOURCES/
Change History
comment:3 in reply to: ↑ description Changed 14 years ago by covex
Replying to slavazanko:
Original: http://savannah.gnu.org/bugs/?21692
Submitted by: hajma <tropikhajma> Submitted on: Sat 01 Dec 2007 02:34:28 PM UTC Category: VFS Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Release: 4.6.1 Operating System: GNU/Linux
This bug makes long term annoyance to me.
First it prohibits to copy files bigger than /tmp free space which makes it useless on systems with small footprint or readonly FS. Second it slows down smaller files copiing at least two times, as it first copies to tmp, then transfers. During the copy, there is of course no transfer.
I am not sure why it was implemented this way.
The patch included in http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/updates/2008.0/mc/current/SOURCES/mc-fish-upload.patch?revision=95698&view=markup
does not seem to me as overkill to implement.