Results 1 to 4 of 4

Thread: Safely unmounting usb drives with knoppix

  1. #1
    Member registered user
    Join Date
    Apr 2007
    Posts
    94

    Safely unmounting usb drives with knoppix

    Hi all,

    It would always bother me to just unplug my flash drives under linux/knoppix without cleanly unmounting them. Under windows you have the "Safely remove devices" on the taskbar. So I did a bit of searching and if you use the command line:

    udisks --detach /dev/sdg

    where /dev/sdg is the location of the flash drive, it will be detached and powered down (assuming you haven't still got it mounted.)

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    You can also use right mouse click on the device within the left side of PCManFM.

  3. #3
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Because I don't fully trust any file managers for such tasks, I normally use the command line, with mount/umount, and sync. That's of course old-fashioned and awkward, but it works safely. In particular, running sync can give some unexpected results when you just thought everything was written to disk already. It wasn't.

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    If you try to unmount an USB device within PCManFM as I described you'll get this message, if there are any jobs not finished.
    Remount.png

Posting Permissions

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


** Intel i3 10100F CPU Processor - USED  ** picture

** Intel i3 10100F CPU Processor - USED **

$47.99



Intel Core i7-3770 Processor (3.40GHz, 4 Cores, Socket H2 LGA-1155) - SR0PK picture

Intel Core i7-3770 Processor (3.40GHz, 4 Cores, Socket H2 LGA-1155) - SR0PK

$22.22



AMD Ryzen 5 4500 6-Core, 12-Thread Unlocked Desktop Processor [AMD Ryzen 5 4500] picture

AMD Ryzen 5 4500 6-Core, 12-Thread Unlocked Desktop Processor [AMD Ryzen 5 4500]

$54.95



INTEL CORE I3-4130 2-CORE 3.40GHZ CPU PROCESSOR SR1NP picture

INTEL CORE I3-4130 2-CORE 3.40GHZ CPU PROCESSOR SR1NP

$2.65



Intel Xeon E5-2680 v4 SR2N7 2.40GHz 35MB 14-Core LGA2011-3 CPU Processor picture

Intel Xeon E5-2680 v4 SR2N7 2.40GHz 35MB 14-Core LGA2011-3 CPU Processor

$14.99



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$444.99



AMD Ryzen 9 7900X3D - 12-Core 4.4GHz AM5 120W CPU Desktop Processor picture

AMD Ryzen 9 7900X3D - 12-Core 4.4GHz AM5 120W CPU Desktop Processor

$329.00



AMD Ryzen 9 7950X3D Gaming Processor - 16 Core And 32 Threads - 5.70 GHz Max Boo picture

AMD Ryzen 9 7950X3D Gaming Processor - 16 Core And 32 Threads - 5.70 GHz Max Boo

$499.00



INTEL CORE I7-10700 PROCESSOR | 2.90GHZ | SRH6Y picture

INTEL CORE I7-10700 PROCESSOR | 2.90GHZ | SRH6Y

$184.99



INTEL CORE I7-9700K PROCESSOR | 3.60GHZ | SRG15 picture

INTEL CORE I7-9700K PROCESSOR | 3.60GHZ | SRG15

$159.99