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 i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$546.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...

$381.99



Intel Core i7-14700K Processor (5.5 GHz, 20 Cores, LGA 1700) BX8071514700K, OEM picture

Intel Core i7-14700K Processor (5.5 GHz, 20 Cores, LGA 1700) BX8071514700K, OEM

$339.99



Intel i5-3470 3.2Ghz Quad-Core SR0T8 Socket LGA-1155 CPU  picture

Intel i5-3470 3.2Ghz Quad-Core SR0T8 Socket LGA-1155 CPU

$9.00



Intel Core i7-4790 SR1QF 3.60GHz Quad Core LGA1150 8MB Processor CPU Tested picture

Intel Core i7-4790 SR1QF 3.60GHz Quad Core LGA1150 8MB Processor CPU Tested

$33.95



Intel Core i5-12400F - 6-Core 2.5GHz 12th Gen Alder Lake LGA 1700 65W CPU picture

Intel Core i5-12400F - 6-Core 2.5GHz 12th Gen Alder Lake LGA 1700 65W CPU

$118.84



AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray picture

AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray

$169.98



AMD Ryzen 9 5900X Processor 4th Gen UNLOCKED (AM4 12 Cores 24 Threads 4.8GHz) picture

AMD Ryzen 9 5900X Processor 4th Gen UNLOCKED (AM4 12 Cores 24 Threads 4.8GHz)

$229.00



Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc... picture

Intel Core i7-13700KF - 13th Gen Raptor Lake 16-Core (8P+8E) Desktop CPU Proc...

$289.99