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
  •  


MSI MPG B550 GAMING PLUS Desktop Motherboard - AMD B550 Chipset - Socket AM4 - picture

MSI MPG B550 GAMING PLUS Desktop Motherboard - AMD B550 Chipset - Socket AM4 -

$90.09



Asus H110M-C MicroATX Motherboard Intel LGA1151 i3-6100 CPU I/O Shield+ Fan+Ram picture

Asus H110M-C MicroATX Motherboard Intel LGA1151 i3-6100 CPU I/O Shield+ Fan+Ram

$39.95



GIGABYTE B365M DS3H Intel LGA1151 DDR4 Micro ATX Motherboard USB 3.1 Gen 1 picture

GIGABYTE B365M DS3H Intel LGA1151 DDR4 Micro ATX Motherboard USB 3.1 Gen 1

$59.99



Gigabyte B560 DS3H AC Intel LGA 1200 DDR4 ATX Motherboard picture

Gigabyte B560 DS3H AC Intel LGA 1200 DDR4 ATX Motherboard

$69.95



ASUS PRIME B250M-C micro ATX mATX Motherboard Intel Socket LGA1151 DDR4 HDMI DP picture

ASUS PRIME B250M-C micro ATX mATX Motherboard Intel Socket LGA1151 DDR4 HDMI DP

$31.99



MSI B550-A PRO AMD AM4 DDR4 ProSeries Motherboard picture

MSI B550-A PRO AMD AM4 DDR4 ProSeries Motherboard

$75.95



X99 LGA 2011-v3 White Motherboard 4 x DDR4 RAM PCI-e 3.0 M.2 USB 2.0 SATA 2.0 picture

X99 LGA 2011-v3 White Motherboard 4 x DDR4 RAM PCI-e 3.0 M.2 USB 2.0 SATA 2.0

$52.97



GIGABYTE GA-AB350M-D3H micro ATX Motherboard AMD Socket AM4 DDR4 HDMI picture

GIGABYTE GA-AB350M-D3H micro ATX Motherboard AMD Socket AM4 DDR4 HDMI

$59.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



TYAN  Server Motherboard S5537 S5537G2NR picture

TYAN Server Motherboard S5537 S5537G2NR

$19.99