LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-31-2010, 06:08 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,202

Rep: Reputation: Disabled
Question Auto-umounting in Debian


In Debian if I halt the PC correct way, all the external mounted devices (Flash-memory, external HDDs, cameras, etc...) umount automatically so I don't need to umount them manually to unplug after halt? Right?
 
Old 05-31-2010, 06:32 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
If the computer isn't running (halted), how would you unmount the device? Of course, when the computer is down, the devices are safe to be disconnected.
 
Old 05-31-2010, 11:42 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,012

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
so I don't need to umount them manually to unplug after halt? Right?
Right.

Part of the shutdown process is to unmount all mounted filesystems.

If you disabled your "splash screen", you'd see the kernel messages going past as your machine is shutting down [ You'd also get to see the startup messages, these can be informative and useful ]. Somewhere near the end of the shutdown process comes "Unmounting remaining filesystems", very shortly after that, it halts.

Once the machine has powered off, it is safe to remove any external drives.
If you want to remove a mounted drive without powering down your machine, you must unmount it manually (ckicky-ckicky in the GUI, or the umount command in a terminal).

Last edited by tredegar; 05-31-2010 at 12:18 PM. Reason: Typo: Oops. u!=i in "shutdown"
 
Old 05-31-2010, 12:12 PM   #4
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,202

Original Poster
Rep: Reputation: Disabled
Thanks!
 
Old 05-31-2010, 02:40 PM   #5
jongkind
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Rep: Reputation: 0
But what about the scenario when the system is going into the suspend mode?
 
Old 05-31-2010, 03:59 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,012

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
But what about the scenario when the system is going into the suspend mode?
Good question, but:

1] If you have a new question, please start a new thread, with an appropriate title.

2] When you start your new thread please tell us what "the system" is, exactly: You might know, but we cannot read your mind, and you have not told us. Perhaps you are running windows-xx?.

3] If you do not tell us your hardware, or "system" you are running it is very difficult for us to help you further.
 
  


Reply

Tags
debian, halt, mount, power, umount


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
umounting NFS jonfa Linux - Networking 9 12-14-2007 03:01 PM
Auto-mounting/umounting of an external cd/dvd-rom in Ubuntu command line mode zupidupi Ubuntu 1 10-28-2007 11:49 PM
umounting a broken CD G!m! Fedora 7 07-04-2005 12:43 AM
umounting smbfs ping_wing Linux - General 6 04-25-2005 12:35 PM
umounting NFS Syncrm Linux - General 4 10-11-2002 07:55 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration