15

If I try to copy 400 GB of files onto a drive that only has 390 GB of free space, will I be warned at the beginning of the operation? Or will I find out at the very end, when the space has run out?

I'm primarily interested in Nautilus, but I'd also be interested in Thunar, PCMan FM and Dolphin.

Fiksdal
  • 2,081
  • 10
  • 34
  • 61

3 Answers3

13

This is my experience with Gnome 3.18, it would seem to vary based on desktop environment, i.e. Nautilus does on Gnome and Dolphin does on KDE but not the other way round, best bet is use the file manager that came with your desktop.

With Nautilus, it will warn you first, here is the exact message

enter image description here

For Dolphin, the answer was no, it tried to copy a file larger than the destination, to the destination, it did not even warn me, just stopped as if it had finished, even left the broken file in the folder.

Thunar did warn me first, here is the message

enter image description here

PCman FM did not warn me and the same as Dolphin, just left the broken file on the drive, no error messages.

Mark Kirby
  • 18,289
  • 19
  • 78
  • 113
  • Hmmm.. I just tried this with Nautilus on 16.04 and it only warned me at the end.. Weird.. – Fiksdal Jun 03 '16 at 12:10
  • @Fiksdal what distribution do you have? I have Gnome, looks like tux has Unity, is yours different? – Mark Kirby Jun 03 '16 at 12:12
  • @JonasCz Not for me, it just left a broken file on my drive. Seems to be inconsistent for different users. Do you have full KDE? I ran it in Gnome. – Mark Kirby Jun 03 '16 at 12:16
  • Ah... I actually have Lubuntu 16.04 with `xubuntu-desktop` and `ubuntu-desktop` installed, and during this operation I was in XFCE but using Nautilus, lol. This kind of thing might complicate things a bit! – Fiksdal Jun 03 '16 at 12:17
  • 2
    @Fiksdal I think so, you should use pcmanfm IMO to get the early warning, seems to be based on the different desktop environments liking different managers more, likely due to integration. – Mark Kirby Jun 03 '16 at 12:18
  • @MarkKirby Yeah, makes sense. – Fiksdal Jun 03 '16 at 12:26
  • 3
    Yes, Dolphin does warn me. I ran it in full KDE 5. – Jonas Czech Jun 03 '16 at 12:59
  • @JonasCz Strange, Dolphin doesn't copy *anything* on KDE 5 for me. –  Jun 03 '16 at 14:20
  • @BharadwajRaju, What do you mean by that ? – Jonas Czech Jun 03 '16 at 14:20
  • @JonasCz As in, it displays no message/warning and there seems to be no effect (not even partially copied). –  Jun 03 '16 at 14:22
9

I am using Ubuntu 16.04 LTS with unity 7.4.0 (default) . These are my results :

In Nautilus , It shows warning before copying : enter image description here

Same with Thunar,

enter image description here

But no warning in pcmanfm,

enter image description here

No warning in In dolphin, even in the end!! it just stopps when it realized that there is not enough space.

Severus Tux
  • 9,736
  • 9
  • 58
  • 97
3

The other answers reported no warning from Dolphin. They thought that it was because it wasn't running in full KDE.

Edit: @JonasCz gets a warning from Dolphin on KDE 5.

I just tested it out on a Kubuntu 15.10 Live USB (KDE 5).

I copied a 2 GB zero file (created by dd) to a 950 MB USB drive.

Strangely, Dolphin refused to copy the file at all. No error message. Nothing in the command line. Same when run as root.

I even tested with kioclient, KDE's backend for filesystem operations (kioclient copy /test_2gb /media/kubuntu/test_2gb). Immediately exited, no message.

Copying a small file (4 KB), which was within the space limit is fine.

The reason why Dolphin even tried to copy on other DEs is probably because it doesn't use kioclient, but something else.

Possibly related to this bug (still unfixed, reported in 2008): KDE Bugtracker issue #162211.