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
  •  


HP Microserver N40L AMD Turion 1.5Ghz No HDD NHP 658553-421 4gb Ram picture

HP Microserver N40L AMD Turion 1.5Ghz No HDD NHP 658553-421 4gb Ram

$99.99



Dell R740 OEMR XL Trend Micro Server | 2x Xeon Gold 6132 CPU 64GB Ram, H730P picture

Dell R740 OEMR XL Trend Micro Server | 2x Xeon Gold 6132 CPU 64GB Ram, H730P

$489.00



HPE ProLiant Micro Server Gen10 - 873830-S01  – AMD Opteron 3216/8GB DDR4 picture

HPE ProLiant Micro Server Gen10 - 873830-S01 – AMD Opteron 3216/8GB DDR4

$599.99



Dell R740 OEMR XL Trend Micro Server | 2x Xeon Gold 6148 CPU 64GB Ram, H730P picture

Dell R740 OEMR XL Trend Micro Server | 2x Xeon Gold 6148 CPU 64GB Ram, H730P

$599.00



Hewlett Packard Enterprise HPE ProLiant MicroServer Gen10 Plus Ultra Micro Tower picture

Hewlett Packard Enterprise HPE ProLiant MicroServer Gen10 Plus Ultra Micro Tower

$339.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB 2X4GB RAM 5018A-FTN4 REV2 PF Sense picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB 2X4GB RAM 5018A-FTN4 REV2 PF Sense

$149.99



2U 12 Bay Supermicro 6028U-TR4T+ w/ X10DRU-i+ Wholesale Custom Build Your Server picture

2U 12 Bay Supermicro 6028U-TR4T+ w/ X10DRU-i+ Wholesale Custom Build Your Server

$2212.99



Supermicro 2U 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server picture

Supermicro 2U 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server

$814.99



Dell R740 OEMR XL Trend Micro Server | 2x Xeon Gold 6132 CPU 128GB Ram, H730P picture

Dell R740 OEMR XL Trend Micro Server | 2x Xeon Gold 6132 CPU 128GB Ram, H730P

$599.00



Supermicro 1U Server PFSENSE X11SSW-4TF Xeon 3.5Ghz V6 32G RAM 4x 10GBE M.2 NVME picture

Supermicro 1U Server PFSENSE X11SSW-4TF Xeon 3.5Ghz V6 32G RAM 4x 10GBE M.2 NVME

$229.00