LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-17-2005, 09:57 AM   #1
mysticsound
Member
 
Registered: Jan 2005
Location: Vancouver, Canada
Distribution: Suse 9.2, kernel 2.6.8-24
Posts: 32

Rep: Reputation: 15
When is it safe to remove USB devices?


System: Dell Inspiron 1100
Distro: Suse 9.2, kernel 2.6.8-24, KDE 3.3.0
Dual Booting with Win XP
And I'm totally new to this OS.

When is it safe to remove USB devices?
In Windows you have to click the icon in the bottom right and make sure the system is ready to let go. In Linux? Can you just pull 'em out and plug 'em in whenever you want?

Thanks for your patience and help,
James Carruthers
 
Old 03-17-2005, 10:26 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
SUSE 9.2 uses submount for USB devices (and other hotplugable devices). This means a device is mounted as soon as you access its mountpoint (e.g. click on the drive symbol). It is unmounted after access has ended (e.g. after you closed the window). If your pendrive has some kind of status LED, you should see if is still active. In general, pulling out the drive at any time should not harm your data if you did not perform write operation on the drive. Only if something was written to it, you may need to give it some time to write the buffers to the drive.
 
Old 03-17-2005, 10:47 AM   #3
mysticsound
Member
 
Registered: Jan 2005
Location: Vancouver, Canada
Distribution: Suse 9.2, kernel 2.6.8-24
Posts: 32

Original Poster
Rep: Reputation: 15
That's simple!

Thank you!

James
 
Old 03-17-2005, 10:50 AM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Don't know about your specific system, but in Fedora Core 3 (and using Gnome) I get a desktop icon as soon as I plug in my usb flash drive. Before I pull it out I simply right click on the icon and choose 'unmount' after a few seconds the icon disappears and I can safely disconnect the device.

I believe it is fairly easy to create desktop icons for devices in KDE and you should be able to get similar behaviour.
 
Old 05-13-2005, 11:22 AM   #5
bcal
Member
 
Registered: Nov 2004
Distribution: FC3/winXP dual-boot
Posts: 61

Rep: Reputation: 15
it won't stop flashing?

I was wondering exactly the same thing about "stopping" the pendrive. I mount mine manually in FC3 (no icon seems to appear), and when I unmount it using umount /mnt/pendrive the LED status indicator does not stop flashing, no matter how long I leave it for. I have also tried umount /dev/sda1 to no avail.

So is it safe to just yank it out after a while? Because the only other option seems to be shutting down...
 
Old 05-13-2005, 11:43 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
I think it is safe to unplug the drive, even if the LED is still flashing, as long as you unmounted the drive. You could try 'eject /dev/sda1'. This works well with my iPOD. But you need to re-plug it to get it recognised again.
 
Old 05-13-2005, 12:08 PM   #7
bcal
Member
 
Registered: Nov 2004
Distribution: FC3/winXP dual-boot
Posts: 61

Rep: Reputation: 15
that's the job...works nicely. Thanks!
 
Old 05-13-2005, 12:52 PM   #8
PerfectReign
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: openSUSE / Ubuntu
Posts: 294

Rep: Reputation: 33
If it makes any difference, I use various SD and MMC cards to shuttle information between home (SuSE) and work (XP). On neither system do I ever unmount or eject the drive. I just plug in, work on them, then plug out. This seems to have worked for me since I started using them. I've never had data loss or corruption. One card, 512MB SD card, I use to copy .mp3 files back and forth (to play in my Palm Pilot), the other a 128MB SD card, I use to shuttle either MySQL databases or Office documents.

I don't even get the message, "you should've closed the drive' on my XP system anymore.

HTH
 
Old 05-23-2005, 06:17 PM   #9
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I did a new install (long story) with my usb drive plugged in and now it is automatically mounted whenever I plug in and can just pull it out and plug back in without any problem. It doesn't appear to be in my fstab though so I'm lost as to the why, but it works wonders. Just to be on the safe side I've added a disk mounter to my panel to unmount before un-plugging.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it safe to remove a pcmcia card in linux? john_walsh54 Linux - Laptop and Netbook 7 06-01-2005 08:55 PM
Is it safe to remove this device? dlublink Linux - General 1 01-22-2005 11:22 PM
Safe to remove /proc/kcrash? ProtoformX Linux - Software 4 05-14-2004 01:49 AM
Is it safe to remove the startup scripts? Retrievil_Knievil Linux - Hardware 3 04-14-2004 05:12 PM
/var/logs = 11gigs!!! Safe to remove? breakerfall Linux - General 17 02-18-2004 05:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration