LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2018, 05:33 AM   #1
bowler5
LQ Newbie
 
Registered: May 2018
Posts: 6

Rep: Reputation: Disabled
Downloads to Thumb Drives


Hello All, I hope this is a simple question.
I am running Ubuntu 16.04 LTS.
Can anyone tell me please how Ubuntu actually deals with downloads that are saved directly to a USB thumb drive ?
Does Ubuntu first create a temporary file on the hard drive and then 'shift' the download to the USB thumb drive before deleting the temporary file ?
Or does the download simply 'miss out' the hard drive entirely and is written directly to the USB thumb drive ?
Thanks,
Mike
 
Old 05-18-2018, 05:43 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 1,767

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by bowler5 View Post
Hello All, I hope this is a simple question.
I am running Ubuntu 16.04 LTS.
Can anyone tell me please how Ubuntu actually deals with downloads that are saved directly to a USB thumb drive ?
Does Ubuntu first create a temporary file on the hard drive and then 'shift' the download to the USB thumb drive before deleting the temporary file ?
Or does the download simply 'miss out' the hard drive entirely and is written directly to the USB thumb drive ?
Thanks,
Mike
While I think it probably depends on what program you're using - in Firefox, which-ever folder you select/tell Firefox to download to, would be the folder it will create <file name>.whatever.part and then when it's finished download it, the file ending in .part should be deleted, and you should see what you've actually told it to download in that same folder you downloaded to (without the .part on the end of the same download - so you should see two files when it's still downloading it - one ending in .part).

Maybe give some more details about your question.
 
1 members found this post helpful.
Old 05-18-2018, 08:00 AM   #3
bowler5
LQ Newbie
 
Registered: May 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Downloads to Thumb Drive

Thanks for quick reply.
I suspect I wasnt very clear in my question.
I understand that I can just 'point' the download to wherever I want it - and in my case I point it to the thumb drive. No problems there.
What I am asking is whether in downloading to the thumbdrive does Ubuntu temporarily create a file on my hard drive as part of that process ?
Thanks again,
MikeO
 
Old 05-18-2018, 08:12 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 5,939
Blog Entries: 2

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
Quote:
Originally Posted by bowler5 View Post
Thanks for quick reply.
I suspect I wasnt very clear in my question.
I understand that I can just 'point' the download to wherever I want it - and in my case I point it to the thumb drive. No problems there.
What I am asking is whether in downloading to the thumbdrive does Ubuntu temporarily create a file on my hard drive as part of that process ?
Thanks again,
MikeO
I think jsb is correct - it will depend on the application you're doing the downloading with. You need to be more specific about the operation you're carrying out. Are we talking downloading files from the internet through Firefox here?
 
1 members found this post helpful.
Old 05-18-2018, 09:43 AM   #5
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 1,767

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by bowler5 View Post
Thanks for quick reply.
I suspect I wasnt very clear in my question.
I understand that I can just 'point' the download to wherever I want it - and in my case I point it to the thumb drive. No problems there.
What I am asking is whether in downloading to the thumbdrive does Ubuntu temporarily create a file on my hard drive as part of that process ?
Thanks again,
MikeO
But and as said above, it's *not* Ubuntu itself that is downloading the files - Ubuntu is the Linux distribution you are using to run whatever program it is we are talking about here (ie. Firefox, Google Chrome, etc). You can also think of a Linux distribution as a version of Linux, if that makes it easier to remember.

Once again, Firefox *does* create a temporary file - that as I said before ends in .part - which is deleted after your download is complete. We can't really say much more without more detail.
 
Old 05-18-2018, 11:59 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,602
Blog Entries: 1

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Running apps will use $HOME/ as the cache and stuff. And /tmp/. Your package management system put's downloaded debs in /var/cache/apt/archives/ so where ever that resides is where the data will be. If that's on the thumbdrive, then it's writing to the thumb drive.

I run my OS from thumbdrives, the other drives never get touched (once I stop all the things I'm not using). I do use a fresh/new thumbdrive every six-months, or when things go south with the current stick. I probably have a dozen 32GB sandisk sticks at the moment, and have had just ONE of them fail to date. They do get noticeably slower if you go > 50% usage. At which point you use another or mount one under $HOME/ to keep things spiffy and spacious. Beyond that a storage device is a storage device is a storage device. The read/write speed is what differs most between them. The modern usb3 sticks are fast enough for a primary OS in my opinion. But I tend to run smaller things that don't take a lot of load time in the first place. Some of my slower drives require tricks to make them palette-able. Like a size-able ramdisk and $HOME/.mozilla type things on the ramdisk. Which hasn't been an issue for anything new and bigger than my thumbnail, for me anyway.
 
Old 05-19-2018, 06:42 PM   #7
bowler5
LQ Newbie
 
Registered: May 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks everyone - am beginning to get my mind around it.
MikeO
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I mount my cd/dvd and my thumb drives tbrownarcher Linux - Newbie 4 06-28-2013 04:39 PM
Unable To Use Thumb Drives carlosinfl Debian 2 12-15-2008 03:01 PM
Formatting Flash drives / thumb drives lawrence_lee_lee Linux - Software 3 06-12-2008 02:28 AM
problem writing to thumb drives impeteperry Ubuntu 4 11-07-2005 12:57 AM
Thumb Drives and External HDDs e11 Linux - Newbie 11 11-18-2004 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration