Results 1 to 4 of 4

Thread: Safely unmounting usb drives with knoppix

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

    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
  •  


1TB SanDisk X400 TLC SATA 3 6Gb/s 2.5

1TB SanDisk X400 TLC SATA 3 6Gb/s 2.5" 7mm SED Internal SSD SERVER SYSTEM PULL

$59.99



SK Hynix , 256GB/512GB/1TB PCIe NVMe M.2 2230 30mm SSD Internal SSD lot picture

SK Hynix , 256GB/512GB/1TB PCIe NVMe M.2 2230 30mm SSD Internal SSD lot

$51.99



WD Elements 1TB Certified Refurbished Portable Hard Drive Black picture

WD Elements 1TB Certified Refurbished Portable Hard Drive Black

$24.99



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive Laptop with Windows 10 Pro Installed Legacy 64

$27.95



MDD 1TB 5400RPM 9.5mm 2.5

MDD 1TB 5400RPM 9.5mm 2.5" SATA 3.0Gb/s Gaming PS3/PS4 Internal Hard Drive

$37.99



Crucial 2TB 1TB 480GB 240GB SSD SATA III 2.5 Internal Solid State Drive 7mm Lot picture

Crucial 2TB 1TB 480GB 240GB SSD SATA III 2.5 Internal Solid State Drive 7mm Lot

$59.95



1TB/2TB SATA 3 SSD Hard Drive 2.5

1TB/2TB SATA 3 SSD Hard Drive 2.5" Internal External Solid State Drive PC Laptop

$36.99



Samsung - 970 EVO Plus 1TB PCIe Gen 3 x4 NVMe Internal Solid State Drive with... picture

Samsung - 970 EVO Plus 1TB PCIe Gen 3 x4 NVMe Internal Solid State Drive with...

$114.99



Netac 120GB 240GB 500GB SSD 2.5

Netac 120GB 240GB 500GB SSD 2.5" SATA III Internal Solid State Drive 500MB/s lot

$90.93



1TB 7mm 2.5'' SSD SATA 3.0 PC Internal Solid State Drive High Speed Hard Drives picture

1TB 7mm 2.5'' SSD SATA 3.0 PC Internal Solid State Drive High Speed Hard Drives

$25.09