Results 1 to 4 of 4

Thread: Safely unmounting usb drives with knoppix

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

    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 Xeon Gold 6248 SRF90 2.5GHz 20-Core 28MB CPU Processor C5 picture

Intel Xeon Gold 6248 SRF90 2.5GHz 20-Core 28MB CPU Processor C5

$154.99



AMD Ryzen 5 7600 Processor (5.1 GHz, 6 Cores, Socket AM5) NEW picture

AMD Ryzen 5 7600 Processor (5.1 GHz, 6 Cores, Socket AM5) NEW

$159.99



Intel Core i7-12700K Unlocked Desktop Processor - 12 Cores And 20 Threads picture

Intel Core i7-12700K Unlocked Desktop Processor - 12 Cores And 20 Threads

$249.99



AMD RYZEN 5 PRO 4650GE DESKTOP PROCESSOR 3.3 GHZ 6 CORES SOCKET AM4 CPU picture

AMD RYZEN 5 PRO 4650GE DESKTOP PROCESSOR 3.3 GHZ 6 CORES SOCKET AM4 CPU

$60.00



AMD Ryzen 5 5500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 5500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$85.49



INTEL CORE I3-6100T 3.20GHz FCLGA1151 CPU Processor picture

INTEL CORE I3-6100T 3.20GHz FCLGA1151 CPU Processor

$7.00



Intel Core i5-14600K Unlocked Desktop Processor picture

Intel Core i5-14600K Unlocked Desktop Processor

$224.99



Intel Core i9-12900KF Unlocked Desktop Processor picture

Intel Core i9-12900KF Unlocked Desktop Processor

$319.99



Intel Xeon Platinum 8176 28-Core 2.1GHz Skylake-SP 165W CPU / Processor _ SR37A picture

Intel Xeon Platinum 8176 28-Core 2.1GHz Skylake-SP 165W CPU / Processor _ SR37A

$189.99



Open Box Intel Core i5-13600KF Processor (5.1 GHz, 14 Cores, LGA 1700) SRMBE picture

Open Box Intel Core i5-13600KF Processor (5.1 GHz, 14 Cores, LGA 1700) SRMBE

$189.94