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

Re: /run vs /var/run (was: Please test new sysvinit)




"Marco d'Itri" <md@Linux.IT> wrote in message [🔎] 20051218162440.GD10665@wonderland.linux.it">news:[🔎] 20051218162440.GD10665@wonderland.linux.it...

Furthermore, /dev/shm is a mount point with a _very_ specific function.
It's a bad idea to start using it for something else.
Reality check: packages have been using it for a long time and the world
has not fallen yet.
Hmm...
Lets see:

1. POSIX (or at least SuS v3) does not gaurentee the existence of /dev/shm, or that if it does exist, that it can be be read as a block device, or that if it can, it has a file system on it.
2. Neither does FHS.
3. The Linux 2.6 device list states that as of now, if /dev/shm exists it should have a tmpfs filesystem. But makes no guarentees that it exists, or that it will remain a filesystem


So AIUI:
1. It exists only on Linux-based OS's
2. There is no gaurentee that it will continue to be there at all
3. There is no guareteee that it will remain a filesystem in the future even if it is there.
4. There is no gaurentee that it exists at all.

Sounds it sounds to me like it is a bad idea to use it.



Reply to: