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
  •  


Lenovo Legion Tower 7i Gen 8 Desktop, i7-13700KF, NVIDIA® GeForce RTX 4080 16GB picture

Lenovo Legion Tower 7i Gen 8 Desktop, i7-13700KF, NVIDIA® GeForce RTX 4080 16GB

$3399.00



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



Lot Of 6 Dell Optiplex 3070 Micro 128GB SSD, Intel Core i3 9th Gen 3.10 GHz, 8GB picture

Lot Of 6 Dell Optiplex 3070 Micro 128GB SSD, Intel Core i3 9th Gen 3.10 GHz, 8GB

$550.00



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



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



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



SGIN 15.6

SGIN 15.6" Laptop 8GB RAM 256GB SSD Intel Celeron Quad-Core 2.90 GHz HD 1080P

$225.00



Windows 11 Home Mini PC Intel J4125 Quad Core 2.7GHz 8GB RAM DDR4 256GB SSD picture

Windows 11 Home Mini PC Intel J4125 Quad Core 2.7GHz 8GB RAM DDR4 256GB SSD

$89.59