Results 1 to 4 of 4

Thread: Safely unmounting usb drives with knoppix

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

    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
  •  


HUH721010AL4200/42C0 HGST Ultrastar He10 10TB 7200RPM SAS 12Gbps 256MB 2018 picture

HUH721010AL4200/42C0 HGST Ultrastar He10 10TB 7200RPM SAS 12Gbps 256MB 2018

$99.95



3TB 3.5 seagate ST3000nm0043 SAS 7200RPM 128MB 6GB/s HDD hard drive for servers  picture

3TB 3.5 seagate ST3000nm0043 SAS 7200RPM 128MB 6GB/s HDD hard drive for servers

$23.99



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive Laptop with Windows 10 Pro Installed Legacy 64

$27.95



Seagate Desktop HDD ST500DM002 500GB 16MB Cache 7200RPM SATA 3.5

Seagate Desktop HDD ST500DM002 500GB 16MB Cache 7200RPM SATA 3.5" Hard Drive

$21.95



Western Digital RE WD4000FYYZ 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5

Western Digital RE WD4000FYYZ 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive

$59.99



WL 4TB 64MB Cache 7200RPM (Enterprise Grade) SATA 6Gb/s 3.5

WL 4TB 64MB Cache 7200RPM (Enterprise Grade) SATA 6Gb/s 3.5" Internal Hard Drive

$49.99



Hard Drive, SATA , 2.5

Hard Drive, SATA , 2.5", 500GB HDD, Slim Form 7mm Seagate/Western Digital/HGST

$11.99



Seagate Constellation ES ST4000NM0033 4TB 7200RPM 128MB 6.0Gb/s 3.5

Seagate Constellation ES ST4000NM0033 4TB 7200RPM 128MB 6.0Gb/s 3.5" Hard Drive

$59.99



500GB Hitachi Western Digita Seagate Toshiba 2.5

500GB Hitachi Western Digita Seagate Toshiba 2.5" HDD Laptop Hard Drive PC MAC

$11.86



Dell Hard Drive 1TB 7.2K SAS 2.5 inch 6Gbps Hot Swap HDD - 9W5WV ST91000640SS picture

Dell Hard Drive 1TB 7.2K SAS 2.5 inch 6Gbps Hot Swap HDD - 9W5WV ST91000640SS

$23.95