Re: How do you fsck a loop-aes filesystem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 03, 2002 at 10:44:10PM -0400, Ben Slusky wrote:
> On Wed, 03 Jul 2002 13:29:41 -0700, dave-mlist@bfnet.com wrote:
> > I created a filesystem following Example 3 of the loop-aes README.  My
> > /etc/fstab file has a line that looks something like this:
> > 
> > /dev/sda1 /mnt/crypt ext3 defaults,noauto,loop=/dev/loop0,encryption=AES128,pseed=<someseed> 0 0
> > 
> > So, if I wanted to run fsck on this or just bring the filesystem
> > up to date with the journal, how would I do it?
> 
> I don't believe there's any easy way to do this.. here are some
> (progressively more) difficult ones:
> 
> -Hack your init scripts to set up the loop device before fsck -A is run,
>  then change the line in fstab to:
>  /dev/loop0 /mnt/crypt ext3 defaults 1 2

This is what I do in my cryptoswap init script since obviously a crypto
swap must be set up early :-)
-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux