Proposal: cryptsetup 'tmp' with different filesystems

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

 



Hi!

I didn't find a specific cryptsetup mailing-list. Please excuse, if I
bother you with this email...

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:

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

Greets
HPO


[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