LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-19-2009, 11:41 PM   #1
ashok kumar reddy
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
Regarding squashfs file system and encryption


Hello

Iam have problem with the encryption of squashfs based file system.
The problem is as below

In Linux-2.4: ext2 file system

we have used ext2 file system with e2compression technique, for encryption of file i used below procedure.
dd if=/dev/zero of=./test1 bs=1k count=1000
losetup -e "cipher" -p "passwd" /dev/loop0 ./test1
here cipher may be serpent,twofish,blowfish
mkfs.ext2 /dev/loop0
mkdir /test2
mount -t ext2 /dev/loop0 /test2
i copied some contents into test2
and created image.

While comming to linux-2.6 with squahsfs filesytem


dd if=/dev/zero of=./test1 bs=1k count=1000
losetup -e "cipher" -p "passwd" /dev/loop0 ./test1

But i have problem how to associate /dev/loop0 to squashfs filesystem

if you see mksquahfs ( Squahfs HOW TO) we have souce & destination where source is regular file or dir and destnation is image file or block device like /dev/hda

I have no idea how to asocaite /dev/loop0 ( like mkfs.ext2 /dev/loop0 & mount).

If any one have idea please share with me.

Ashok
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File System Encryption Options carlosinfl Linux - Security 1 09-10-2008 10:12 AM
How to modify squashfs file ? kkpal Linux - Newbie 0 01-16-2008 12:39 AM
System encryption with dm-crypt and luks? Zmyrgel Slackware 9 09-02-2006 10:40 AM
file system encryption on servers Synesthesia Linux - Security 2 06-05-2006 04:03 PM
File System Encryption raja1979 Linux - Security 2 12-23-2005 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:53 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
Open Source Consulting | Domain Registration