Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I typically unmount my USB drive (using umount) from /dev/sdb1 before I shutdown my computer but if I shut it down using shutdown -P now and then restart it, the drive is no longer mounted.

Is this a safe way to unmount the drive?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Yes, all mounted drives are automatically unmounted during shutdown.

share|improve this answer
thanks for the answer, I would upvote but I don't have quite enough rep yet. –  KennyPeanuts May 7 '11 at 1:45
I'm guessing this holds true whether any of the following commands are issued: reboot, shutdown, halt, poweroff ? –  dtmland Feb 24 at 18:59
@dtmland, al disks are umounted before shutting down - after killing all user processes. Now, if the system starts again (as in the case of reboot) they can be mounted again on boot - or not, depending on configuration. –  Rmano Feb 24 at 21:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.