In article
wwvmw0um9m6.fsf@l1AntVDjLrnP7Td3DQJ8ynzIq3lJMueXf 87AxnpFoA.invalid,
Richard Kettlewell wrote:
Jim Lesurf writes:
Richard Kettlewell wrote:
Jim Lesurf writes:
I've see all these suggested on webpages. Some look like synonyms
with different settings, but others don't.
So what's the recipy?
That depends what you want. Only you can decide that. 'man mount'
describes the meaning of the options. On one system I have:
tmpfs /tmp tmpfs defaults,size=8G,nr_inodes=256k,nosuid 0 0
Sorry, I'd assumed that from the context of the previous discussions
it would have been reasonably clear what I'd like. I said in an
earlier posting:
I've found that I can do something like
sudo mkdir -p /mnt/tmp
followed by
sudo -t tmpfs -o size=20m tmpfs /mnt/tmp
to create a temporary 20meg 'ram disc' mounted at /mnt/tmp
and that does what I want. But the second command needs repeating
after each bootup.
So my aim is to have this setup automatically via fstab, but I'd
prefer a name /mnt/ramdisc and a size of, say, 128m. I'd like that
name because it reminds me of what I can easily use for my RO programs
where the data is stored in ram.
So do that. What's stopping you?
Because its still not clear to me what specific values I should put on the
fstab line. I found examples which looked different in ways that weren't
clear to me. Hence asking here for help on the issue.
Having used
sudo mkdir -p /mnt/ramdisc
what should I add to fstab to get the same as from my giving the command
sudo -t tmpfs -o size=128m tmpfs /mnt/ramdisc
after every bootup? And essentially gived a way to save/read/etc my
temporary files (usually) in ram for the duration of a session/
Jim
--
--
Please use the address on the audiomisc page if you wish to email me.
Electronics
http://www.st-and.ac.uk/~www_pa/Scot...o/electron.htm
Armstrong Audio
http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc
http://www.audiomisc.co.uk/index.html