1 |
On Mon, May 29, 2017 at 10:05:02PM +0300, Mart Raudsepp wrote |
2 |
> Ühel kenal päeval, E, 29.05.2017 kell 14:47, kirjutas Walter Dnes: |
3 |
> > I was using a chroot, and I bind-mounted the chroot's /dev and |
4 |
> > /proc |
5 |
> > and /sys on top of the host machine's directories. Bad idea... I now |
6 |
> > have a 10 megabyte /dev/shm on the host. Is it possible to resize |
7 |
> > /dev/shm to approx 1 gigabyte without rebooting? |
8 |
> |
9 |
> mount -oremount,size=1G /dev/shm |
10 |
> |
11 |
> Provided it's a tmpfs like it is for me. |
12 |
|
13 |
Thanks; that pointed me in the right direction. The command gave me a |
14 |
response "mount: /dev/shm not mounted or bad option". After some trial |
15 |
and error, I found I had to... |
16 |
|
17 |
mount -o remount,size=1G /dev |
18 |
|
19 |
-- |
20 |
Walter Dnes <waltdnes@××××××××.org> |
21 |
I don't run "desktop environments"; I run useful applications |