LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-24-2005, 06:13 PM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
trying to use losetup, ioctl tells me argument is invalid


I have /dev/hda5 mounted on /home and want to encrypt it. I thought I could do that by using losetup but no luck. here is the result:

Code:
losetup -e aes-256 /dev/loop0 /dev/hda5
Password:
ioctl: LOOP_SET_STATUS: Invalid argument
I have compiled aes, md5, des, blowfish and some other cryptos into the kernel (no module).
 
Old 03-26-2005, 09:40 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Try using aes256 instead of aes-256?
 
Old 03-26-2005, 09:48 AM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 50
Quote:
Originally posted by michaelk
Try using aes256 instead of aes-256?
Thanks, I will try that. By the way, what other cryptos can I use and what are they called?

Another questions: do I need to format the partition or do something with it. I am currently using it without it being encrypted and I have a couple of gb on it. Is it as easy as just moving the data and remount it using an encryption and then move the data back?
 
Old 03-26-2005, 10:11 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
I'm the wrong person to ask. A quick search found this site.

http://www.infoanarchy.org/wiki/inde...isk_Encryption
 
  


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
Accept(): Invalid Argument bonhomme Programming 6 07-14-2012 10:12 PM
What is the replacement for sizeof() in the third argument for IOCTL commands yogeshwar_s Linux - Software 0 12-30-2004 07:48 AM
ioctl FBIOPAN_DISPLAY: Invalid Argument Andry Linux - Hardware 2 12-27-2004 10:55 PM
ioctl FBIOPUT_VSCREENINFO: Invalid argument. vaworx Linux - General 4 12-20-2004 03:00 AM
[ Invalid Argument on 'iptables' ] benleung Linux - Security 1 09-23-2003 12:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:24 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