You can also use right mouse click on the device within the left side of PCManFM.
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.
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
Lenovo ThinkPad L15 Gen 2 15.6” FHD Laptop Core i5 16GB RAM 512GB SSD Windows 10
$349.99
Lenovo 500w Gen 3 Laptop, 11.6" IPS Glass, N6000, 8GB, 128GB SSD, Win 11 Home
$199.00
~10th Gen~ 14" Lenovo i5 Quad Core Laptop: 16GB RAM 512GB SSD Windows 11 Pro
$314.99
Lenovo Flex 5i 14" Laptop Intel Core i3-1115G4 4GB Ram 128GB SSD W11H in S Mode
$169.99
Lenovo 100e Laptop PC Computer 11.6" Windows 10 Celeron 4GB RAM 64GB SSD
$74.99
Lenovo Legion Pro 5i 16" Gaming Laptop RTX 4070 8GB i9-13900HX 16GB RAM 1TB SSD
$1399.99
Lenovo Ideapad 1 15Amn7 15.6" Laptop Ryzen 3 7320U 8GB 256GB SSD W11H-64
$199.99
Lenovo ThinkPad L13 Yoga Gen 2 i5-1145G7 @ 2.60GHz 16GB/256GB Win 10 Pro
$255.00
Lenovo Notebook IdeaPad 3 Laptop, 15.6" FHD IPS, i5-1235U, 12GB, 512GB SSD
$374.21
Lenovo ThinkPad E15, i5, 8GB RAM, 256GB SSD, No OS, 20RD005HUS
$175.00