![]() | 1 | initial version |
Boa noite amigo, what are you trying to do? The command tmpfs
does not exists. tmpfs describes a filesystem/storage facility that resides in memory, and will be cleared with a reboot.
In my opinion, the "command" that you are writing there should be part of /etc/fstab. That way you can relocate a file/directory from disk to RAM (and swap). I use this scenario to place /tmp to RAM.
my fstab line looks like this:
none /tmp/ tmpfs size=8% 0 0
![]() | 2 | No.2 Revision |
Boa noite amigo, what are you trying to do? The command tmpfs
does not exists. tmpfs describes a filesystem/storage facility that resides in memory, and will be cleared with a reboot.
In my opinion, the "command" that you are writing there should be part of /etc/fstab. That way you can relocate a file/directory from disk to RAM (and swap). I use this scenario to place /tmp to RAM.RAM, and you could to the same with /opt/jdk.
my fstab line looks like this:
none /tmp/ tmpfs size=8% 0 0
![]() | 3 | No.3 Revision |
Boa noite amigo, what are you trying to do? The command tmpfs
does not exists. tmpfs describes a filesystem/storage facility that resides in memory, and will be cleared with a reboot.
In my opinion, the "command" that you are writing there should be part of /etc/fstab. That way you can relocate a file/directory from disk to RAM (and swap). I use this scenario to place /tmp to RAM, and you could to the same with /opt/jdk.
my fstab line looks like this:
none /tmp/ tmpfs size=8% 0 0
You can use your tweak to relocate /opt/jdk to RAM in order to improve performance. Just place the following to /etc/fstab and reboot
tmpfs /opt/jdk tmpfs defaults,mode=1777 0 0
![]() | 4 | No.4 Revision |
Boa noite amigo, what are you trying to do? The command tmpfs
does not exists. tmpfs describes a filesystem/storage facility that resides in memory, and will be cleared with a reboot.
In my opinion, the "command" that you are writing there should be part of /etc/fstab. That way you can relocate a file/directory from disk to RAM (and swap). I use this scenario to place /tmp to RAM, and you could to the same with /opt/jdk.
my fstab line looks like this:
none /tmp/ tmpfs size=8% 0 0
You can use your tweak to relocate /opt/jdk to RAM in order to improve performance. Just place the following to /etc/fstab and rebootreboot...
tmpfs /opt/jdk tmpfs defaults,mode=1777 0 0
... but be aware, anything in /opt/jdk will be cleared on each reboot.