-
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.)
-
You can also use right mouse click on the device within the left side of PCManFM.
-
Senior Member
registered user
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.
-
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
-
Forum Rules
AMD EPYC 7763 64-Core 2.45GHz 256MB 280W CPU 100-000000312 - Dell Locked
$1100.00
AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor
$399.00
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$352.99
AMD Ryzen 9 5950X Desktop Processor + Gigabyte AMD B550 UD AC Gaming Motherboard
$379.99
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$349.99
Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...
$544.99
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$399.99
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$689.99
Intel Core i5-6500 3.2GHz Quad-Core (SR2L6) Processor
$24.99
AMD EPYC 7282 cpu processor 16 cores 32 threads 2.8GHZ up to 3.2GHZ 120w
$84.99