LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-02-2014, 10:53 AM   #1
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 97

Rep: Reputation: Disabled
not un-mounting a drive prior to shutdown/reboot


If I mount a drive via command prompt, is there a problem if I don't un-mount it prior to shutdown or reboot? Will Linux handle this for me or am I asking for trouble?
 
Old 09-02-2014, 10:57 AM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,265
Blog Entries: 11

Rep: Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291Reputation: 2291
I never umount mine and I've never had a problem.
Linux does this for you.
 
Old 09-02-2014, 11:07 AM   #3
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,132

Rep: Reputation: 233Reputation: 233Reputation: 233
Unmounting a device checks tha nothing is using the device.
It also ensures that all data has been written to the device.
Typically disk writes are completed in a few seconds.

Writes to slow USB sticks can take minutes, as can writes to DVD drives.

Writes to remote computers or NAS devices can take hours.

So you should unmount everything that you mounted, but you will nearly always escape any bad consequences of not doing so.
 
Old 09-02-2014, 12:03 PM   #4
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 97

Original Poster
Rep: Reputation: Disabled
Jeremy... you leave me with a sense of paranoia. Perhaps it depends on what I'm doing and how critical it is but just to be safe, practice safe unmounting.
 
  


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
Reboot harms hard drive after self compiled kernel... no unmount at shutdown? Pfirti Debian 4 10-26-2012 12:52 AM
[SOLVED] My Centos is getting shutdown without any prior notification ashujain13 Linux - Server 2 07-25-2012 04:43 PM
Save Desktop Session Prior to Shutdown astrok Linux - Desktop 1 06-22-2011 10:11 PM
evolution resends prior day email upon reboot rholme Linux - General 6 11-07-2009 06:39 AM
Hard drive mounting settings lost on reboot dhulme Linux - Hardware 3 10-11-2006 01:19 PM


All times are GMT -5. The time now is 10:28 PM.

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