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
  •  


IBM X3550 M4 SERVER Dual E5-2680 2.7GHZ 288GB Ram 06TXNE7 - Tested & Working picture

IBM X3550 M4 SERVER Dual E5-2680 2.7GHZ 288GB Ram 06TXNE7 - Tested & Working

$199.99



IBM 8203-E4A pSeries 520 6-Bay Server System Power6 2 Core 4.2GHz 4GB No HD picture

IBM 8203-E4A pSeries 520 6-Bay Server System Power6 2 Core 4.2GHz 4GB No HD

$240.00



LOT OF 3: IBM System x3650 M3 Servers~Intel Xeon 5140 @ 2.33 GHz~4GB~5x 72GB SAS picture

LOT OF 3: IBM System x3650 M3 Servers~Intel Xeon 5140 @ 2.33 GHz~4GB~5x 72GB SAS

$399.99



IBM S822LC 8335-GCA Power 8 2U Server 2xPower8 8core/64t 128GB RAM Tested picture

IBM S822LC 8335-GCA Power 8 2U Server 2xPower8 8core/64t 128GB RAM Tested

$695.00



IBM System x3100 M5 Intel Xeon E3-1271 v3 3.6GHz 8GB RAM NO HDD NO OS Good picture

IBM System x3100 M5 Intel Xeon E3-1271 v3 3.6GHz 8GB RAM NO HDD NO OS Good

$129.99



IBM System x3650 M3 7945AC1 Server INTEL XEON E5620 2.4GHz 4GB picture

IBM System x3650 M3 7945AC1 Server INTEL XEON E5620 2.4GHz 4GB

$56.05



IBM System X3100 M5 (PN: 5457-AC1) Server picture

IBM System X3100 M5 (PN: 5457-AC1) Server

$199.99



IBM X3530 M4 1U SERVER XEON E5-2620 2.10GHz 128GB No Drives picture

IBM X3530 M4 1U SERVER XEON E5-2620 2.10GHz 128GB No Drives

$125.00



IBM 8871 Rack Server 2x Intel Xeon E5-2650 V2 64GB RAM No HDD Dual PSU RAID picture

IBM 8871 Rack Server 2x Intel Xeon E5-2650 V2 64GB RAM No HDD Dual PSU RAID

$254.99



IBM System X3650 M4 Server 2x Xeon  32 GB RAM NO HDD NO OS picture

IBM System X3650 M4 Server 2x Xeon 32 GB RAM NO HDD NO OS

$215.00