linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "hy2" <noskp@email.it>
To: linux-hotplug@vger.kernel.org
Subject: Re: usb pen usb.usermap problem
Date: Thu, 09 Dec 2004 14:09:31 +0000	[thread overview]
Message-ID: <20041209140931.GA26931@alea> (raw)
In-Reply-To: <20041209073912.GB7187@alea>



> Just uncomment:
>   # DEBUG=yes; export DEBUG
> 
done.

this is the report:
Dec  9 14:58:01 alea default.hotplug[5728]: arguments (scsi) env (OLDPWD=/ DEVPATH=/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/host5/5:0:0:0 PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION­d PWD=/etc/hotplugHOME=/ SHLVL=2 DEBUG=yes SEQNUM‡6 _=/bin/env)
Dec  9 14:58:01 alea default.hotplug[5744]: no runnable /etc/hotplug/scsi_generic.agent is installed
Dec  9 14:58:01 alea default.hotplug[5728]: invoke /etc/hotplug/scsi.agent ()
Dec  9 14:58:01 alea scsi.agent[5728]: disk at /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/host5/5:0:0:0
Dec  9 14:58:02 alea usb.agent[5723]: Setup usb-stylo for USB product ea0/6803/100
Dec  9 14:58:02 alea usb.agent[5723]: Module setup usb-stylo for USB product ea0/6803/100

# ls -l scsi.agent
-rwxr-xr-x  1 root root 1459 Nov 20 07:08 scsi.agent

it is runnable !

# ls -l usb-stylo
-rwxr-xr-x  1 root root 64 Dec  9 15:02 usb-stylo

# cat usb-stylo
#!/bin/sh

mount /var/aes			 
echo good
echo test > /tmp/test-good	# only this line works

the problem is in the mount command? 

/dev/hda6       /var/aes        jfs             exec,user,noauto,encryption®s-256,loop=/dev/loop7,keygen=/home/hy2/bin/aes_key_gen    0 0

/home/hy2/bin/aes_key_gen	
mounts the key and reads some bites used as passphrase for aes-256 cfs.
then it umounts the key.

if i run mount /var/aes all this works.



thank you very much. saiph


-- 
>here are more things in heaven and earth,
horatio, than are dreamt of in your philosophy.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2004-12-09 14:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-09  7:39 usb pen usb.usermap problem hy2
2004-12-09 13:10 ` hy2
2004-12-09 14:09 ` hy2 [this message]
2004-12-11 12:29 ` Kay Sievers
2004-12-11 14:26 ` Kay Sievers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041209140931.GA26931@alea \
    --to=noskp@email.it \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).