Let's say I have a USB device mounted. When issuing a system restart using the command line utility "reboot", will the system automatically umount my USB device?
Also, typically, if any shell is up with its current directory open to the mount point then the device cannot be "umount"ed. In the reboot scenario, what happens in this case? The same thing?
If you can, please provide an answer with references to back up your claims.