Re: Proposal: cryptsetup 'tmp' with different filesystems

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

 



On 16/12/2007 Hans-Peter Oeri wrote:
> I didn't find a specific cryptsetup mailing-list. Please excuse, if I
> bother you with this email...

Hey Hans-Peter,

seems like your question is debian- and/or ubunut-specific.
pkg-cryptsetup-devel@xxxxxxxxxxxxxxxxxxxxxxx would be the correct
contact in case that you use debian.

> Currently, cryptsetup is 'hardwired' to ext2 as the filesystem for tmp
> directories. Creation of big ext2 filesystems (eg. as temp isofs
> storage) takes a lot of time - however, I still would like to start my
> htpc as fast as possible.
> 
> Other filesystems are created MUCH faster. I therefore suggest to
> 'enhance' the 'tmp' option to include an optional filesystem name:

sounds reasonable. I'll apply your patch against the svn trunk as soon
as my home internet connection works again.

> 144a145,149
> >                       if [ -z "$VALUE" ]; then
> >                        TMPFS="ext2"
> >                       else
> >                        TMPFS="$VALUE"
> >                       fi
> 387,388c392,393
> <       mke2fs "/dev/mapper/$dst" > /dev/null 2>&1 || return 1
> <       mount -t ext2 "/dev/mapper/$dst" /tmp || return 1
> ---
> >       mkfs -t $TMPFS -q "/dev/mapper/$dst" > /dev/null 2>&1 || return 1
> >       mount -t $TMPFS "/dev/mapper/$dst" /tmp || return 1

greetings,
 jonas

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux