LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   removing a memory stick (https://www.linuxquestions.org/questions/linux-general-1/removing-a-memory-stick-542031/)

linux_2007_ 03-30-2007 06:16 PM

removing a memory stick
 
Is there any command (or option somewhere) in linux (SuSE) equivalent to "Safely Remove Hardware" in XP, so that I can remove my memory stick safely?

Thanks

.

Quakeboy02 03-30-2007 06:23 PM

Linux pretty much figures out which hardware you have each time you boot. If you want to remove memory, then just shut the machine off and remove it.

Micro420 03-30-2007 06:42 PM

Remember to ground yourself before removing/inserting components inside a computer!

linux_2007_ 03-30-2007 07:22 PM

Quote:

Originally Posted by Quakeboy02
Linux pretty much figures out which hardware you have each time you boot.

True, but Linux is also able to figure out when you insert a component; obviously not every comeponent but depends on the setup, it could do for flash memories. I use it this way and it works well.

Quote:

Originally Posted by Quakeboy02
If you want to remove memory, then just shut the machine off and remove it.

This must be the last way on the list, definitely not the only one. Assume you want to do this 10 times a day! There is a command like "dismount" or something like that, but I don't remember it.

.

linux_2007_ 03-30-2007 07:26 PM

Quote:

Originally Posted by Micro420
Remember to ground yourself before removing/inserting components inside a computer!

.........???

.

Quakeboy02 03-30-2007 07:30 PM

Just be sure to touch the chassis first, and don't move your feet around while installing or removing cards in your computer. If you've ever gotten zapped when touching something after walking across the floor, then understand that that zap can destroy computer chips.

creativename 03-30-2007 08:45 PM

You mean like removing a USB Flashdrive? Easy. Find the disk (in Konquerer or on the desktop or whatever) right click on the icon. Find an option called "Safely remove" or "Unmount". The icon may or may not disappear like it does in Windows, but either way it's safe to remove.

Quakeboy02 03-30-2007 09:04 PM

"This must be the last way on the list, definitely not the only one. Assume you want to do this 10 times a day! There is a command like "dismount" or something like that, but I don't remember it."

So, it's a USB drive, and not memory, then. See creativename's post.

linux_2007_ 03-31-2007 02:03 AM

Quote:

Originally Posted by Quakeboy02
"This must be the last way on the list, definitely not the only one. Assume you want to do this 10 times a day! There is a command like "dismount" or something like that, but I don't remember it."

So, it's a USB drive, and not memory, then. See creativename's post.


Thanks a lot. Sure it is a USB drive. Is there any (pocket) memory stick or flash memory which is not USB type?

Cheers
.

slzckboy 03-31-2007 02:55 AM

Your post implied that you were talking about RAM ..

least that is how I and evidently everyone else interpreted it!?

jschiwal 03-31-2007 02:59 AM

There is a command called "eject" which will do the same thing. If your distro doesn't configure udev to change the ownership of the device (owner or group owner) to give the user access, then you need to use sudo.

SlowCoder 03-31-2007 09:05 PM

Quote:

Originally Posted by linux_2007_
Is there any command (or option somewhere) in linux (SuSE) equivalent to "Safely Remove Hardware" in XP, so that I can remove my memory stick safely?

Haha! I'm not exactly sure how they got that you wanted to remove RAM memory while the computer was running. I understood what you meant right off. Funny! :D

I recommend that you man the mount and umount commands ("man umount").I use Fedora Core, which creates a /mnt directory, which is supposed to be used for mounting extra hardware.

My method of attack to mount the drive:
- Create a /mnt/usbflash directory
- At the CLI, type 'mount /dev/sda /mnt/usbflash'
Note: /dev/sda is the device my system uses for the flash drive. It may be different on yours.
- Access your USB data from the /mnt/usbflash directory.

To unmount: 'umount /mnt/usbflash'
Easy as pie!


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