I got the following enries in my fstab, but I am not clear about their meaning:
none /dev/pts devpts defaults 0 0 none /dev/shm tmpfs defaults 0 0 tmpfs /tmp tmpfs defaults 0 0 usbdevfs /proc/bus/usb usbdevfs defaults 0 0
The first two entries: pts and shm, what are their functions?
and Why there is 'none' at the beginning of each line? What does that none signify?
Then I got two tmpfs, why do I have two tmpfs mounted in two dirs? If tmpfs is mounted in /tmp, does it mean that after every reboot, the files in /tmp will be lost?
and this usbdevfs, I can't tell what it does out there.
When false is taken for true, true becomes false;
If non-being turns into being, being becomes non-being.
Pages full of fantastic talk
Penned with bitter tears;
All men call the author mad,
None his message hears.
the first one is needed to use pseudo terminals (like konsole, xterm, etc). Don't know the explanation.
And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.
the usb part is of course for usb if youhave no usb you can disable it
tmpfs is for your tmp it uses the half of your ram for storing temporary files if you want a static tmp disable this line with #
/dev/shm is POSIX compatible shared memory. It is rarely used by apps but is probably best left enabled just in case. The tmpfs filesystem uses both RAM and swap space to store whatever is written to it (contents is lost on unmount) - Using it on /tmp is ok, except when you don't have all that much swap/RAM and some app wants to write a lot of data to /tmp. In this case you may run into problems. Personally, I disabled the /tmp tmpfs mount because mc ran out of memory while unpacking the kernel source