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?


Yes, all mounted drives are automatically unmounted during shutdown.

  • thanks for the answer, I would upvote but I don't have quite enough rep yet.
    – DQdlM
    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 '15 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 '15 at 21:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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