-
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
![Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture](/store/img/VfAAAOSwdAxmn3FW/s-l225//Fanxiang-SSD-4TB-2TB-1TB-PS5-SSD-M-2-NVME-SSD-7300.jpg)
Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive
$248.39
![Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture](/store/img/pB0AAOSwrbRkIWhk/s-l225//Fanxiang-4TB-2TB-1TB-SSD-550MB-s-2-5-SATA-III-Inte.jpg)
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$177.65
![Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture](/store/img/zy8AAOSwogJmn3aO/s-l225//Fanxiang-M-2-SATA-SSD-2TB-1TB-512GB-256GB-SSD-Inte.jpg)
Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot
$109.99
![4TB Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch For Laptop SSD picture](/store/img/ftAAAOSwRuxmjLMQ/s-l225//4TB-Ssd-870evo-Internal-Solid-State-Drive-Hard-Dis.jpg)
4TB Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch For Laptop SSD
$34.37
![Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5](/store/img/RzIAAOSwSZNlN-zB/s-l225//Patriot-P210-128GB-256GB-512GB-1TB-2TB-2-5-SATA-3-.jpg)
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
![Kingchuxing 512GB 1TB 2TB SSD 2.5](/store/img/jCMAAOSwTHFk0gdG/s-l225//Kingchuxing-512GB-1TB-2TB-SSD-2-5-SATA-III-Interna.jpg)
Kingchuxing 512GB 1TB 2TB SSD 2.5"SATA III Internal Solid State Drive 500MB/s
$14.24
![New 4tb 870 EVO Solid Hard Drive Disk SSD for Ps5 Internal State 2.5inch SATA~ picture](/store/img/Z0kAAOSw7eNmmkiY/s-l225//New-4tb-870-EVO-Solid-Hard-Drive-Disk-SSD-for-Ps5-.jpg)
New 4tb 870 EVO Solid Hard Drive Disk SSD for Ps5 Internal State 2.5inch SATA~
$43.99
![1TB 512GB 256GB M.2 NVMe SSD 2280 Single Notch with Windows 10 or 11 Installed picture](/store/img/GT4AAOSwJttmcyUF/s-l225//1TB-512GB-256GB-M-2-NVMe-SSD-2280-Single-Notch-wit.jpg)
1TB 512GB 256GB M.2 NVMe SSD 2280 Single Notch with Windows 10 or 11 Installed
$29.99
![Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot picture](/store/img/0dMAAOSw99Zl7sby/s-l225//Fanxiang-4TB-2TB-1TB-SSD-2-5-SATA-III-560MB-s-Inte.jpg)
Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot
$177.65
![NEW 1TB Hard Drive/SSD 2.5](/store/img/dQgAAOSwwBdmhKdl/s-l225//NEW-1TB-Hard-Drive-SSD-2-5-SATA-for-Laptop-with-Wi.jpg)
NEW 1TB Hard Drive/SSD 2.5" SATA for Laptop with Windows 10 or 11 Installed
$94.99