Results 1 to 4 of 4

Thread: Safely unmounting usb drives with knoppix

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

    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
  •  


Gigabyte B560 DS3H AC Intel LGA 1200 DDR4 ATX Motherboard picture

Gigabyte B560 DS3H AC Intel LGA 1200 DDR4 ATX Motherboard

$69.95



GIGABYTE B550 UD AC ATX Motherboard AMD Socket AM4 DDR4 HDMI WIFI USB 3.2 SATA picture

GIGABYTE B550 UD AC ATX Motherboard AMD Socket AM4 DDR4 HDMI WIFI USB 3.2 SATA

$74.99



(Factory Refurbished) GIGABYTE B660 DS3H AC DDR4 INTEL LGA 1700 ATX MOTHERBOARD picture

(Factory Refurbished) GIGABYTE B660 DS3H AC DDR4 INTEL LGA 1700 ATX MOTHERBOARD

$79.99



GIGABYTE GA-AB350M-D3H Motherboard Socket AM4 DDR4 +AMD Athlon 200GE@3.2GHz picture

GIGABYTE GA-AB350M-D3H Motherboard Socket AM4 DDR4 +AMD Athlon 200GE@3.2GHz

$69.99



MSI MPG Z390 Gaming Plus LGA1151 M.2 USB 3.1 Gen 2 DDR4 HDMI DVI CFX ATX Z390... picture

MSI MPG Z390 Gaming Plus LGA1151 M.2 USB 3.1 Gen 2 DDR4 HDMI DVI CFX ATX Z390...

$69.99



(Factory Refurbished) MSI MPG B550 GAMING PLUS AM4  M.2 SATA AMD ATX Motherboard picture

(Factory Refurbished) MSI MPG B550 GAMING PLUS AM4 M.2 SATA AMD ATX Motherboard

$99.99



GIGABYTE GA-H110-D3A LGA 1151 Intel Motherboard with CPU picture

GIGABYTE GA-H110-D3A LGA 1151 Intel Motherboard with CPU

$19.99



ASRock B650M-C Micro ATX MB AMD Socket AM5 DDR5 HDMI Missing WIFI Module picture

ASRock B650M-C Micro ATX MB AMD Socket AM5 DDR5 HDMI Missing WIFI Module

$65.99



Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM picture

Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM

$79.00



MSI H110I PRO LGA1151 DDR4 Motherboard W/ i5-6600 CPU & I/O picture

MSI H110I PRO LGA1151 DDR4 Motherboard W/ i5-6600 CPU & I/O

$69.99