LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 04: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, 05:57 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
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



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 01:25 AM
Kernel Source Location pete1234 Linux - Kernel 8 08-27-2006 04:08 PM
Looking for source tree location Kaao Linux - Desktop 2 08-23-2006 09:31 AM
Kernel Source Location alltime Linux - General 2 10-18-2005 12:21 AM
Location of kernel source Echo Kilo Linux - General 2 12-19-2004 06:15 PM

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

All times are GMT -5. The time now is 06:54 PM.

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
Open Source Consulting | Domain Registration