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
  •  


NEW For lenovo ideapad Flex 5 15iil05 5-15ITL05 5-15ALC05 LCD Back Cover Hinge picture

NEW For lenovo ideapad Flex 5 15iil05 5-15ITL05 5-15ALC05 LCD Back Cover Hinge

$65.79



NEW For Lenovo Yoga 730-15IWL 730-15IKB Upper Case Palmrest Backlit Keyboard US picture

NEW For Lenovo Yoga 730-15IWL 730-15IKB Upper Case Palmrest Backlit Keyboard US

$78.59



New Back Cover/Palmrest Keyboard/ Hinge For Lenovo Yoga 7-14ITL5 82BH 7-14 picture

New Back Cover/Palmrest Keyboard/ Hinge For Lenovo Yoga 7-14ITL5 82BH 7-14

$142.59



Lenovo Legion 5 15.6

Lenovo Legion 5 15.6" Gaming Laptop AMD R7 7735HS RTX 4060 16GB RAM 512GB SSD

$999.99



Lenovo ThinkPad E540 Intel i7-4702MQ 2.2GHz 16GB RAM 500GB SSD W10P w/Charger picture

Lenovo ThinkPad E540 Intel i7-4702MQ 2.2GHz 16GB RAM 500GB SSD W10P w/Charger

$82.00



Notebook Lenovo Slim Pro 9 Laptop, 16

Notebook Lenovo Slim Pro 9 Laptop, 16" Glass, i9-13905H, GB, 1TB SSD

$1051.99



Lenovo ThinkPad Yoga 11e 11.6

Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10

$59.00



Lenovo ThinkPad X1 Nano 13

Lenovo ThinkPad X1 Nano 13" Touchscreen 2K i7-1180G7 16GB/256GB Win 10 Pro

$599.69



Lenovo 500w Gen 3 Laptop, 11.6

Lenovo 500w Gen 3 Laptop, 11.6" IPS Glass, N6000, 8GB, 128GB SSD, Win 11 Home

$209.99



Lenovo 2-in-1 Touchscreen Laptop/Tablet PC 11.6

Lenovo 2-in-1 Touchscreen Laptop/Tablet PC 11.6" Windows 10 4GB RAM 250GB SSD

$104.99