mounting and unmounting

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
slash

mounting and unmounting

Post by slash »

what is the difference when a hard drive is mounted and when it is unmounted?
AR

Re:mounting and unmounting

Post by AR »

erm...
When a hard drive is mounted, you can access it through the VFS, when it isn't you can't.

ie. /dev/hda1 is a device, unless you want to read it byte by byte it isn't very useful. But you can mount it, "mount -t reiserfs /dev/hda1 /mnt/hda1" then you can access the contents via /mnt/hda1/*. It's also useful to note that you should always umount removal media since that also flushes the buffer (since writes aren't neccessarily atomic)
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:mounting and unmounting

Post by Pype.Clicker »

dude, that was probably the last place to ask. this is not a LUG. tnx.
Post Reply