bug-hurd
[Top][All Lists]
Advanced

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

A translator for `/dev/shm'


From: Thomas Schwinge
Subject: A translator for `/dev/shm'
Date: Tue, 3 Apr 2007 01:52:09 +0200
User-agent: Mutt/1.5.11

Hello!

It was reported that the `tmpfs' translator doesn't really work and is
thus not usable for being installed on `/dev/shm', so I propose the
following for the mean time:

#v+
$ sudo settrans -cpgf /dev/shm /bin/sh -c 'settrans -cagf 
/var/cache/dev_shm.backend /hurd/storeio -T copy:zero 2M && mkfs.ext2 -F -b 
4096 -o hurd /var/cache/dev_shm.backend && /hurd/ext2fs 
/var/cache/dev_shm.backend & while sleep 1 && ! test -d /dev/shm/.; do echo 
Waiting for /dev/shm to get ready... >&2; done && fsysopts /dev/shm 
--no-inherit-dir-group && chmod 1777 /dev/shm'
#v-

... or something like that.


Note that this is not a April Fool's joke, but actually works.


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]