Quote:
Originally Posted by chrism01
|
I agree with Chris.
There is an accepted 'hierarchy', and methodology to the Linux file-system (this is why it's so much more logical, and makes much more sense when you understand it, than Windows' rather haphazard way of doing things.)
The /tmp directory works the same on every Linux distro out there; even on 'Puppy', which I use - and which is considered 'peculiar' by the standards of the large, mainstream distros! - in that it is a 'temporary' directory, not intended for long-term storage of files.
Theoretically, there are certain directories which make more sense for storing this kind of thing. In practice, any directory can be used; you could even create your own, custom-named directory under '/', so long as you edit the paths to suit, and point to the directory in question. As things stand, for this kind of thing, /opt would be a good choice. (More or less means 'optional', for items which don't really fit comfortably into the standard categories).
Quote:
As far as /tmp keeping certain files and others not, when the machine boots up it makes certain files in /tmp, which are the same as every other boot up. So, it might look like the same files are there, but they're different files with the same name in that they were deleted on shutdown and remade on boot up.
|
This is especially true with Puppy, which runs totally in RAM, and which copies the file-system into a temporary RAMdisk for the duration of each session from a 'read-only' compressed package.
('Payment' is neither wanted nor required. All on this forum are here to learn/share/'help out', and in general to accumulate our common pool of knowledge.....because we enjoy doing so!)
Mike.