Results 1 to 4 of 4

Thread: Safely unmounting usb drives with knoppix

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

    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 ThinkPad T470 14

Lenovo ThinkPad T470 14" FHD Core i7-7600U 2.80GHz Webcam Backlit HDMI USB-C

$265.00



Lenovo IdeaPad 1 Laptop, 15.6

Lenovo IdeaPad 1 Laptop, 15.6" FHD 60Hz, Athlon Gold 7220U, 4GB, 128GB

$169.99



Lenovo Laptop Computer E550 15.6

Lenovo Laptop Computer E550 15.6" Intel Core i7 8GB Ram 1TB HDD Windows 10 WiFi

$210.42



Lenovo ThinkPad E15, i5, 8GB RAM, 256GB SSD, No OS picture

Lenovo ThinkPad E15, i5, 8GB RAM, 256GB SSD, No OS

$210.00



Lenovo Ideapad Gaming 3 15.6

Lenovo Ideapad Gaming 3 15.6" FHD Laptop R5-7535HS RTX 2050 8GB RAM 512GB SSD

$489.99



Lenovo Legion 5 15.6

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

$869.99



15.6

15.6" Lenovo ThinkPad Laptop PC: Intel i5 16GB RAM 1TB SSD Windows 10 Pro

$269.99



Lenovo ThinkPad X1 Nano Gen 1 13

Lenovo ThinkPad X1 Nano Gen 1 13" Notebook 2K i7-1180G7 16GB RAM 512GB SSD

$649.99



Lenovo Yoga 5th Gen 2-in-1 Touchscreen Laptop Pentium 8GB 128GB SSD Windows 11 picture

Lenovo Yoga 5th Gen 2-in-1 Touchscreen Laptop Pentium 8GB 128GB SSD Windows 11

$119.99



Lenovo IdeaPad Slim 3 Laptop, 15.6

Lenovo IdeaPad Slim 3 Laptop, 15.6" FHD IPS LED , Ryzen 5 7530U, 8GB, 512GB

$474.99