LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-08-2004, 09:45 PM   #1
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
USB plug & unplug


Hey, guys , can you tell me the best & safest way to use USB Flash Drives ?
I use slack 10.
my USB fdrive has a small light , OFF when it's ready to use, ON when it's not ready / already stopped ( in Windows)
In Linux, I can use it, I can mount , and umount it.
But after I umount, the light is still OFF, meaning it's not safe to pull it out.
I poweroff the system, and it's ON.
What if I don't want to poweroff it, but I want to unplug my fdrive?
any suggestion? or maybe it's safe already if I have umount ? can i pull it out after that? it is safe? thx....
 
Old 12-09-2004, 12:37 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Once you unmount or eject the drive, it is safe to remove. To remount it, you may HAVE to unplug and replug it, which activates hotplug and makes it ready again. Unmounting 'flushes' the drive, finishing any data transfers before unmounting.
 
Old 12-09-2004, 01:30 AM   #3
sundancekid
Member
 
Registered: Oct 2004
Distribution: Debian Etch
Posts: 37

Rep: Reputation: 15
Hi,
You can also use the "sync" command to actually force the flushing of data to disk, unmounting the drive does the same thing also.
cya
 
Old 12-09-2004, 02:35 AM   #4
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
In linux when you unmount a usb device you do not actually switch it off. Power is still being diverted to it, makes it ready to be mounted again when u need it.
 
Old 12-09-2004, 03:08 AM   #5
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by KMcD
In linux when you unmount a usb device you do not actually switch it off. Power is still being diverted to it, makes it ready to be mounted again when u need it.
yeah, that's what I meant. Is it safe to unplug on a condition like that?

In windows, I Stopped the device, and the light indicator turns ON. ( my device's light turns ON when it's "OFF")
in Linux, I umount the device , but the light still OFF.
I wonder whether it's safe or not to unplug .
??
 
Old 12-09-2004, 03:11 AM   #6
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
once it's unmounted it's safe to unplug it.
 
Old 12-09-2004, 08:07 AM   #7
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Original Poster
Rep: Reputation: 30
gee, thx for the clarification
I'm happy to hear that.
 
  


Reply



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
Help needed: PCMCIA plug->freeze->unplug->nothing happened davidgalv Linux - Wireless Networking 3 09-03-2005 03:13 AM
Help needed: PCMCIA plug->freeze->unplug->nothing happened davidgalv Linux - Hardware 0 08-16-2005 12:43 PM
USB mouse works only if i unplug then re-plug it allelopath Linux - Hardware 3 11-20-2004 12:48 PM
usb wlan works but only after i unplug and plug triagladad Linux - Wireless Networking 0 09-21-2004 06:45 AM
Mandrake 9.2 hangs when I plug/unplug powercord on Dell Latitude rodevriendje Linux - Laptop and Netbook 20 08-30-2004 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07: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
Open Source Consulting | Domain Registration