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
  •  


Lenovo Laptop ThinkPad Light Gaming AMD Ryzen 7 PRO 8GB 256GB SSD Windows 11 picture

Lenovo Laptop ThinkPad Light Gaming AMD Ryzen 7 PRO 8GB 256GB SSD Windows 11

$282.14



Lenovo ThinkPad E15 Gen 3 - AMD Ryzen 7 5700U 16GB RAM 256GB SSD Windows 11 Pro picture

Lenovo ThinkPad E15 Gen 3 - AMD Ryzen 7 5700U 16GB RAM 256GB SSD Windows 11 Pro

$275.00



15.6

15.6" Lenovo ThinkPad Laptop PC: Intel i5 16GB RAM 512 SSD Windows 10 Webcam

$229.99



Lenovo ThinkBook 15 Gen 4 Notebook 15.6

Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD AMD R7 5825U 16GB RAM 512GB SSD

$559.99



Lenovo ThinkBook 15 Gen 4 Notebook 15.6

Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM

$599.99



Lenovo ThinkPad T480 14

Lenovo ThinkPad T480 14" i5-8350U 8GB RAM 256GB SSD No OS

$94.99



Lenovo - Legion Slim 5 16

Lenovo - Legion Slim 5 16" Gaming Laptop WUXGA - Ryzen 5 7640HS with 16GB Mem...

$949.99



Lenovo ThinkPad T14s Gen 2 14-inch (2020)  i7-1165G7 16 GB 512 GB SSD - A Grade picture

Lenovo ThinkPad T14s Gen 2 14-inch (2020) i7-1165G7 16 GB 512 GB SSD - A Grade

$269.99



Lenovo ThinkPad T495s Laptop AMD Ryzen 7 PRO 3700U 8GB RAM 256GB SSD Windows 11 picture

Lenovo ThinkPad T495s Laptop AMD Ryzen 7 PRO 3700U 8GB RAM 256GB SSD Windows 11

$249.99



Lenovo ThinkPad L560 15.6

Lenovo ThinkPad L560 15.6" Core i7 6600U 2.6GHz 16GB RAM 512GB SSD Win 10 Pro

$249.00