You are not logged in.

#1 2004-06-06 02:52:10

Registered: 2004-03-06
Posts: 31

fstab question

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.


#2 2004-06-06 05:23:48

From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: fstab question

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.


#3 2004-06-06 07:18:07

From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,260

Re: fstab question

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  #


#4 2004-06-06 16:20:21

Registered: 2004-02-23
Posts: 92

Re: fstab question

/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  sad


Board footer

Powered by FluxBB