LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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: 100

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 Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
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
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
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: 100

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



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

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

All times are GMT -5. The time now is 11:42 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
Open Source Consulting | Domain Registration