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
  •  


Samsung Galaxy Tab A 32GB -UNLOCKED- 10.4 Screen picture

Samsung Galaxy Tab A 32GB -UNLOCKED- 10.4 Screen

$69.99



Genuine OEM Samsung Galaxy Tab S6 Lite Book Cover -NEW EF-BP610PJEGUJ- #E4 picture

Genuine OEM Samsung Galaxy Tab S6 Lite Book Cover -NEW EF-BP610PJEGUJ- #E4

$10.00



Samsung 860 Pro SSD 512gb - 2.5 Inch SATA III Internal Solid State 512 GB picture

Samsung 860 Pro SSD 512gb - 2.5 Inch SATA III Internal Solid State 512 GB

$60.00



Samsung Galaxy Tab A9+ 11.0

Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Tablet Bundle SM-X210NZAYXAR 2023

$149.99



Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$38.00



Samsung Galaxy Tab A 8

Samsung Galaxy Tab A 8" SM-T387V 32GB Verizon Tablet (No SIM Tray) Grade B

$31.99



Samsung - T9 Portable SSD 4TB, Up to 2,000MB/s, USB 3.2 Gen2 - Black - NEW picture

Samsung - T9 Portable SSD 4TB, Up to 2,000MB/s, USB 3.2 Gen2 - Black - NEW

$309.99



Samsung Chromebook 4 11.6

Samsung Chromebook 4 11.6" Celeron 1.1GHz 4GB RAM 32GB SSD XE310XBA

$42.89



Samsung Chromebook XE350XBA-K05US 15.6

Samsung Chromebook XE350XBA-K05US 15.6" 1080p FHD Laptop Intel 4GB RAM 128GB SSD

$349.00



Samsung Galaxy Tab S9 Ultra Smart Book Cover EF-BX910PBEGUJ  Black Nice Preowend picture

Samsung Galaxy Tab S9 Ultra Smart Book Cover EF-BX910PBEGUJ Black Nice Preowend

$49.99