[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: automatic mounting of an encrypted harddrive



On Sun, Oct 25, 2009 at 00:47:38 +0200, Tobias Schula wrote:
> Am Samstag 24 Oktober 2009 22:16:00 schrieb Florian Kulzer:
> > On Sat, Oct 24, 2009 at 21:01:03 +0200, Tobias Schula wrote:
> > > Am Donnerstag 22 Oktober 2009 20:25:15 schrieb Ritesh Raj Sarraf:
> > > > On Thursday 22 Oct 2009 23:22:03 Tobias Schula wrote:
> > > > > At this point kde asks me if I want to mount the drive
> > > > >
> > > > >
> > > > > Oct 22 19:47:34 siduxbox hald: mounted /dev/sdc1 on behalf of uid
> > > > > 1000
> > > >
> > > > So is hald running under Debian ?

[...]

> > > Yes, hald is running.
> > 
> > I would be interested in the output of this command (after the encrypted
> > USB stick has been plugged in for at least 30 seconds):
> > 
> > lshal -u $(hal-find-by-property --key volume.fsusage --string crypto)
> > 
> 
> No luck with that:
> 
> root@siduxbox:~# lshal -u $(hal-find-by-property --key volume.fsusage --string 
> crypto)
> lshal: option requires an argument -- 'u'

That probably means that HAL does not set the crypto-related properties
for the device, which would explain why KDE does not know how to handle
it.

Let's try this instead:

lshal -u $(hal-find-by-property --key block.device --string '/dev/sda1')

(replace '/dev/sda1' with the correct device node for your USB stick)

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: