LinuxQuestions.org

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

aydindemirci 02-14-2006 08: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 10: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-14-2006 11:30 PM

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 01: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 06:21 AM

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

Nylex 02-15-2006 06:22 AM

You might wanna say what that error is...

cs-cam 02-16-2006 01: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 01: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 03:43 AM.