10

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?

8

Yes, all mounted drives are automatically unmounted during shutdown.

3
  • 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

This site is temporarily in read only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .