You are not logged in.

#1 2010-02-17 01:48:43

Mr Pink57
Member
From: a van down by the river
Registered: 2009-05-30
Posts: 91

Move uzbl cache

So I just started using uzbl on dwm and love it works great and everything.

Well I would like to move any of uzbl's cache to a /tmpfs I have setup, however I do not see were I can do this in the config file.  Any suggestions?

pink

Last edited by Mr Pink57 (2010-02-19 02:47:52)


Even a broken clock is right twice a day.

Diplomacy without force is like music without instruments.

Offline

#2 2010-02-17 02:40:31

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Move uzbl cache

Do you already have this tmpfs cache set up? If not, you can just mount the current directory that uzbl uses on tmpfs in fstab. That might be the easiest option.


neutral

Offline

#3 2010-02-17 02:43:29

Mr Pink57
Member
From: a van down by the river
Registered: 2009-05-30
Posts: 91

Re: Move uzbl cache

I have the /tmpfs setup but I have not moved anything from uzbl as I do not know what the current dir is that uzbl uses.  I have also put the /tmfs in my fstab.

pink


Even a broken clock is right twice a day.

Diplomacy without force is like music without instruments.

Offline

#4 2010-02-17 03:44:13

Mr Pink57
Member
From: a van down by the river
Registered: 2009-05-30
Posts: 91

Re: Move uzbl cache

Update!

I got it to work and it was so silly I changed my fstab to ~/.cache/uzbl /dev/shm none bind 0 0 and that does the trick big_smile

I guess I was not understanding you sand_man but thank you.

pink


Even a broken clock is right twice a day.

Diplomacy without force is like music without instruments.

Offline

#5 2010-02-19 02:51:05

Mr Pink57
Member
From: a van down by the river
Registered: 2009-05-30
Posts: 91

Re: Move uzbl cache

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             9.3G  3.4G  5.9G  37% /
udev                   10M  188K  9.9M   2% /dev
[b]none                  247M     0  247M   0% /dev/shm
tmpfs                 118G  2.1G  116G   2% /tmp[/b]
/dev/sda1              92M  9.3M   78M  11% /boot
/dev/sda4             118G  2.1G  116G   2% /home
# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
[b]tmpfs               /tmp         tmpfs     defaults            0      0[/b]

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/sda1 /boot ext2 defaults 0 1
/dev/sda2 swap swap defaults 0 0
/dev/sda3 / jfs defaults 0 1
/dev/sda4 /home jfs defaults 0 1
[b]/home/travis/.cache/uzbl /tmp none bind 0 0[/b]

The bolded areas are what I am most concerned about, when I go into my /tmp folder the avail space is basically my HDD which I would think is wrong since it should be roughly ram size or smaller?  I just want t make sure this right before I pull my hair out.

pink


Even a broken clock is right twice a day.

Diplomacy without force is like music without instruments.

Offline

Board footer

Powered by FluxBB