E*V 发帖数: 17544 | 1 #!/bin/bash
# Change this to match your correct profile
PROFILE="sdasflw8i.default"
cd "${HOME}/.mozilla/firefox"
if test -z "$(mount | grep -F "${HOME}/.mozilla/firefox/${PROFILE}" )"
then
mount "${HOME}/.mozilla/firefox/${PROFILE}"
fi
if test -f "${PROFILE}/.unpacked"
then
tar --exclude '.unpacked' -cpf packed.tmp.tar "$PROFILE"
mv packed.tar packed.tar.old
mv packed.tmp.tar packed.tar
else
tar xpf packed.tar &&\
touch "${PROFILE}/.unpacked"
fi |
E*V 发帖数: 17544 | 2 you need to modify /etc/fstab
【在 E*V 的大作中提到】![](/moin_static193/solenoid/img/up.png) : #!/bin/bash : # Change this to match your correct profile : PROFILE="sdasflw8i.default" : cd "${HOME}/.mozilla/firefox" : if test -z "$(mount | grep -F "${HOME}/.mozilla/firefox/${PROFILE}" )" : then : mount "${HOME}/.mozilla/firefox/${PROFILE}" : fi : if test -f "${PROFILE}/.unpacked" : then
|
E*V 发帖数: 17544 | 3 like this
firefox /home/yourid/.mozilla/firefox/sdflasdfasf.default tmpfs size=128M,
noauto,user,exec,uid=10000,gid=1000 0 0
【在 E*V 的大作中提到】![](/moin_static193/solenoid/img/up.png) : you need to modify /etc/fstab
|
a*****i 发帖数: 4391 | |
E*V 发帖数: 17544 | 5 用内存啊,不用硬盘缓存。
速度快
【在 a*****i 的大作中提到】![](/moin_static193/solenoid/img/up.png) : What does this do???
|