Find the answer to your Linux question:
Results 1 to 9 of 9
i have a pen drive which has a glow light when i its plugged in.. in windows wen ejected the light goes off.. but in linux, when i eject or ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Location
    india
    Posts
    36

    eject my pen drive


    i have a pen drive which has a glow light when i its plugged in.. in windows wen ejected the light goes off.. but in linux, when i eject or unmount the pen doent gets ejected properly... is there a way out?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi !!

    How you unmount pen-drive ?? did you use 'umount' command.



    .... casper ....
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux User Kojak's Avatar
    Join Date
    Apr 2006
    Posts
    421
    Which desktop environment do you use? KDE? Gnome? other? And which distro version are you using?
    Windows free since 2002 | computing since 1984

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Aug 2006
    Location
    india
    Posts
    36

    eject prn drive

    i used umount command... to no use and then even the eject command.... when i used the ejct command , the name in the /dev/ goes off but its not fully unplugged

  6. #5
    Just Joined!
    Join Date
    Aug 2006
    Location
    india
    Posts
    36
    i am using mandriva 2006 version and i user kde.... but i hope i have the same problem in both kde and gnome....

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi !

    there are a few processes which run in background and retains pen drive status. e.g. Konqueror always retain a copy of last window in memory for fast access.
    before umount, close all windows... and make sure that no proccess using it.



    .... casper ....
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Linux User Kojak's Avatar
    Join Date
    Apr 2006
    Posts
    421
    Try:
    fuser -km /<usbstick>

    and if that fails, try:
    umount -f -l /mnt/<usbstick-place>

    Use the last one at your own risk. It can cause data-loss.
    Windows free since 2002 | computing since 1984

  9. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by Kajok
    Try:
    fuser -km /<usbstick>
    thanx Kojak !
    i didn't know about fuser...

    EDIT : ooooooooops .....
    hi kojak ! i think i wrote "thanx kajok" in some other thread too. going to correct that also.


    .... casper ....
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #9
    Linux User Kojak's Avatar
    Join Date
    Apr 2006
    Posts
    421
    Errmm.... it's Kojak, not Kajok.
    Windows free since 2002 | computing since 1984

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •