You are not logged in.

#1 2013-04-07 03:15:14

tuxero
Member
Registered: 2013-03-14
Posts: 13

Securely Detaching and Powering Off USB Hard Disk

I would like to detach my usb hard disk securely. With udisks 1 I could right click on the drive in nautilus and had the option to detach it. Then it spinned down and powerd off, so I could detach it. Now with udisks 2 the option is gone.

I can power it off in gnome-disks but then it turns on instantly. This also happens, if I type udisk --detach /dev/sdc. It powers down and immediately powers up.
Any ideas, how this can be solved? The only way seems to be to power off the Notebook each time I want to detach the hard drive.


Thanks

Last edited by tuxero (2013-04-07 03:16:30)

Offline

#2 2013-04-07 08:27:04

dflt
Member
Registered: 2012-02-19
Posts: 7

Re: Securely Detaching and Powering Off USB Hard Disk

Did you try ejecting the device? eq. eject /dev/sdc

Last edited by dflt (2013-04-07 08:27:23)

Offline

#3 2013-04-08 14:10:48

tuxero
Member
Registered: 2013-03-14
Posts: 13

Re: Securely Detaching and Powering Off USB Hard Disk

I tried it but eject only unmounts it.  It does not power off the drive. The problem is that even when it is powered off it turns on again.

What works now is to unmount it and then execute powerdown.

Offline

#4 2013-04-08 14:17:16

jjacky
Member
Registered: 2011-11-09
Posts: 321
Website

Re: Securely Detaching and Powering Off USB Hard Disk

Being a while since I looked into this, but here's what I had found: http://jjacky.com/2011-11-21-pmount-and … sb-device/
There might be info/links of use to you there.

Offline

#5 2013-04-08 16:55:56

tuxero
Member
Registered: 2013-03-14
Posts: 13

Re: Securely Detaching and Powering Off USB Hard Disk

I installed pumount from the aur and it does not work right of the box because the disc is not mounted in /media. However I would like to have back my option in Nautilus to detach the disc and to be integrated in the UI. Or at least when I click suspend in the Gnome Disk Manager not to be repowered instantly.

Offline

Board footer

Powered by FluxBB