LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hda hdb hdc (http://www.linuxquestions.org/questions/linux-newbie-8/hda-hdb-hdc-415502/)

aydindemirci 02-14-2006 09:31 PM

hda hdb hdc
 
When I disconnect my flash disc, if it is on hda, when I plug it again it changes and new location becomes hdb. Should I make something before disconnect it? For example as umonth? thanks

btmiller 02-14-2006 11:54 PM

You mean umount. Yes, you should always umount a drive before removing the media (pulling a drive without umounting it may corrupt the filesystem on it). Probably the system though that hda was still connected and so gave your device hdb instead.

DanTaylor 02-15-2006 12:30 AM

You will most likely now have to go back and un-mount all of the other mounted
filesystems - you are lucky you didn't corrupt your info.

cs-cam 02-15-2006 02:19 AM

You can use the sync mount option which will greatly reduce the chance of scrapping data if you just rip the device out. Does kinda put transfer times through the roof...

aydindemirci 02-15-2006 07:21 AM

thanks
 
Thanks but when I write umouth, it says an error. And I disconnect it by pulling

Nylex 02-15-2006 07:22 AM

You might wanna say what that error is...

cs-cam 02-16-2006 02:01 AM

It's okay dude, just keep ripping them out. When it doesn't work one day, let me know. It'll be like having a magical rainbow overhead with fluffy bunnies bouncing through the soft meadow grass...

timmeke 02-16-2006 02:55 AM

Quote:

Originally Posted by aydindemirci
Thanks but when I write umouth, it says an error. And I disconnect it by pulling

The command is called
Code:

umount
note "umouth".

"umount" is short for unmount and is the logical counterpart to the "mount" command that you use (probably automatically) when you plug the flash drive in it's slot.


All times are GMT -5. The time now is 01:11 AM.