Hi Jens, this is easy going. Put this line in your /etc/fstab (size must not given, but can help to limit /tmp's size):
tmpfs /tmp tmpfs nosuid,mode=1777,size=6G 0 0 Then move the old /tmp away: # mv /tmp /tmp.org Mount the new tmp: # mkdir /tmp mount /tmp Then move all files out of /tmp.org to /tmp # mv /tmp.org/* /tmp.org/.??* /tmp Finished. Some websites suggest to add a mount option "nodev", but this is bad for SRSS audio devices, as I've made the experience ;-) Regards, Juergen On 08/05/11 09:48 Jens Langner wrote: > Interesting to read that you moved /tmp to RAM on ubuntu. Slightly > off-topic, but can you give a brief description how you did that so that > I can try if that really speeds things up? > > best regards, > jens > > Juergen Lennefer schrieb: >> Hi OttoM, >> >> this hints was the point. Maybe I was not accurate enough with testing >> the mount options. Now it works, the sound is back: >> >> juergen@svr:~$ utaudio >> /tmp/SUNWut/dev/utaudio/utdsp-1 >> juergen@svr:~$ /bin/ls -l /tmp/SUNWut/dev/utaudio/utdsp* >> crw------- 1 juergen lennefer 14, 3 Aug 4 19:00 >> /tmp/SUNWut/dev/utaudio/utdsp-0 >> prw------- 1 juergen lennefer 0 Aug 4 19:00 >> /tmp/SUNWut/dev/utaudio/utdsp-0stat >> crw------- 1 juergen lennefer 14, 3 Aug 5 08:47 >> /tmp/SUNWut/dev/utaudio/utdsp-1 >> prw------- 1 juergen lennefer 0 Aug 5 08:47 >> /tmp/SUNWut/dev/utaudio/utdsp-1stat >> crw------- 1 vera lennefer 14, 3 Aug 5 08:48 >> /tmp/SUNWut/dev/utaudio/utdsp-2 >> prw------- 1 vera lennefer 0 Aug 5 08:48 >> /tmp/SUNWut/dev/utaudio/utdsp-2stat >> >> The new devices from this morning are ok. >> >> Many thanks. >> >> Cheers, >> Juergen >> >> >> On 08/04/11 18:22 ottomeister wrote: >>> On Wed, Aug 3, 2011 at 11:54 AM, >>> JuergenL<[email protected]> wrote: >>>> The session works ok, but no sound. The file mentioned is there and has >>>> the correct rights and owner: >>>> >>>> # ls -l /tmp/SUNWut/dev/utaudio/utdsp-0 >>>> crw------- 1 vera lennefer 14, 3 Aug 3 20:51 >>>> /tmp/SUNWut/dev/utaudio/utdsp-0 >>> Notice that this is a character device special node, as indicated by the >>> 'c' in the first column. >>> >>>> /tmp is typically mounted with options >>>> "nodev,nosuid,mode=1777,size=6G". >>>> I tested without "nodev" and also without "nosuid", no success. >>> You'll absolutely have to get rid of the 'nodev'. Are you certain >>> that your >>> test without 'nodev' was correct? Did 'mount' show that the 'nodev' >>> option had disappeared after you forced a remount to put that change >>> into effect? >>> >>> Did you try creating and using a new device after the filesystem had >>> mounted without 'nodev'? (Just in case the original one has >>> somehow been "tainted". I've no idea whether that happens, but >>> making a new device is an easy experiment, just run 'utaudio' and >>> collect the new device name from its output.) >>> >>> OttoM. >>> __ >>> Disclaimer: I am employed by Oracle. The statements and opinions >>> expressed here are my own and do not necessarily represent those >>> of Oracle Corporation. >>> _______________________________________________ >>> SunRay-Users mailing list >>> [email protected] >>> http://www.filibeto.org/mailman/listinfo/sunray-users >> > -- ++ Juergen Lennefer -- 51515 Kuerten -- Germany ++ ++ ICQ 179431254 ++ + public PGP key: http://www.lennefer.de/JL + + Key fingerprint = CC6F 7455 C220 5A6C FAE4 E343 0C43 B218 8542 C142 + _______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
