LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-12-2009, 05:39 PM   #1
zb10948
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
dm-crypt, location of the source


Hello everyone,

i've installed Debian's root tree on encrypted partition. The kernel asks password; "Enter passphrase to unlock /dev/...". I would like to know where, and in what source files, is this part, eg password prompt. This system uses 2.6.26-1 kernel, i've searched the source in crypto, fs, device-mapper parts and no luck. I've even grepped the whole tree, still can't find it.

Basically, i would like to implement another way of getting passphrase, not via keyboard prompt. Therefore, a simple answer : where the hell is this thing, and if it ain't in kernel source, how can i rebuild the kernel with my changes

Thank you in advance.
 
Old 03-12-2009, 06:57 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,783
Blog Entries: 14

Rep: Reputation: 279Reputation: 279Reputation: 279
Sounds like the LUKS prompt. You can use a keyfile instead of a keyboard prompt. Look for or try "man" cryptsetup. The command should be in your initrd file if nowhere else...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Source Location linuxjamil Linux - Newbie 2 05-15-2008 02:25 AM
Kernel Source Location pete1234 Linux - Kernel 8 08-27-2006 05:08 PM
Looking for source tree location Kaao Linux - Desktop 2 08-23-2006 10:31 AM
Kernel Source Location alltime Linux - General 2 10-18-2005 01:21 AM
Location of kernel source Echo Kilo Linux - General 2 12-19-2004 07:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration