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
  •  


Acasis 40Gbps Thunderbolt 4/3 M.2 NVMe 4 Bay RAID SSD Enclosure picture

Acasis 40Gbps Thunderbolt 4/3 M.2 NVMe 4 Bay RAID SSD Enclosure

$239.20



LSI MegaRAID SAS 9280-16I4E Ext 6GB/s SATA+SAS RAID Controller LSI00210 picture

LSI MegaRAID SAS 9280-16I4E Ext 6GB/s SATA+SAS RAID Controller LSI00210

$47.96



Dell R640 8x 2.5

Dell R640 8x 2.5" SFF iDRAC 2x 25GbE SFP28- Wholesale Custom Build Your Server

$743.99



Dell PowerEdge RAID Controller PERC H730 PCIE 12Gb/s SAS PN:44GNF” With bracket✅ picture

Dell PowerEdge RAID Controller PERC H730 PCIE 12Gb/s SAS PN:44GNF” With bracket✅

$39.99



Dell PowerEdge H710P 6Gb/s PCI Express 2.0 x8 RAID Controller picture

Dell PowerEdge H710P 6Gb/s PCI Express 2.0 x8 RAID Controller

$15.00



ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT picture

ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT

$131.99



LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA Raid Controller SAS9305-16i High Profile picture

LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA Raid Controller SAS9305-16i High Profile

$79.99



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$79.00



DELL 0W56W0 PERC H700 RAID Controller w/Cable Y690K & Batt. 0NU209 picture

DELL 0W56W0 PERC H700 RAID Controller w/Cable Y690K & Batt. 0NU209

$42.74



Adaptec - ASR-7805 6Gbs SAS- PCI EXPRESS 3.0 X8 -1GB Cache RAID Controller Card picture

Adaptec - ASR-7805 6Gbs SAS- PCI EXPRESS 3.0 X8 -1GB Cache RAID Controller Card

$24.99