Results 1 to 4 of 4

Thread: Safely unmounting usb drives with knoppix

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

    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
  •  


AMD Ryzen 7 5000 5800X Octa-core (8 Core) 3.80 GHz Processor - Retail Pack picture

AMD Ryzen 7 5000 5800X Octa-core (8 Core) 3.80 GHz Processor - Retail Pack

$812.40



Apple Macbook Pro 16

Apple Macbook Pro 16" Laptop 1TB 8-Core i9 2.4GHz 16GB RAM Silver MVVM2LL/A 2019

$749.00



Intel Xeon Silver 5415+ Processor CPU 8-Core 2.90G~4.10G TDP-150W LGA4677 DDR5 picture

Intel Xeon Silver 5415+ Processor CPU 8-Core 2.90G~4.10G TDP-150W LGA4677 DDR5

$1730.00



Apple iMac 21.5

Apple iMac 21.5" Intel Core i7 3.1GHz 8GB RAM 1TB HDD ME087LL/A-BTO (LOT OF 5)

$999.97



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$364.99



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



HP EliteDesk 800 G3 SFF Intel Core i5-6500 @3.20GHz 8GB RAM Desktop PC picture

HP EliteDesk 800 G3 SFF Intel Core i5-6500 @3.20GHz 8GB RAM Desktop PC

$69.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$396.99



NVIDIA Quadro 8GB, Intel 8 Core, 128GB RAM, 1TB SSD Video Editing Gaming PC picture

NVIDIA Quadro 8GB, Intel 8 Core, 128GB RAM, 1TB SSD Video Editing Gaming PC

$759.99



HP ProDesk 600 G3 MT Intel Core i5-7500 3.4GHz 8GB Ram 256GB SSD NVMe Win 10 Pro picture

HP ProDesk 600 G3 MT Intel Core i5-7500 3.4GHz 8GB Ram 256GB SSD NVMe Win 10 Pro

$89.99