mounting and unmounting
mounting and unmounting
what is the difference when a hard drive is mounted and when it is unmounted?
Re:mounting and unmounting
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)
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)
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:mounting and unmounting
dude, that was probably the last place to ask. this is not a LUG. tnx.