LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux ate my drive (for the 2nd time!) (https://www.linuxquestions.org/questions/linux-software-2/linux-ate-my-drive-for-the-2nd-time-123969/)

mikshaw 01-12-2004 03:16 PM

yeah...as long as it's not a directory that serves a specific purpose to the system you should be fine.

ac1980 01-12-2004 04:17 PM

In unix-like systems there are some fixed location where some things are supposed to be. The reason for that is making the filesystem consistent on every machine and thus ease the work for developers. This is called Filesyste Hierarchy Standard, you can find details here: http://www.pathname.com/fhs/
Even if you probably won't get hurt mounting a disk under, e.g., /data or /mp3, an hypotethical utility that deals with user-mounted fs might not behave correctly.
The best thing to do is mounting the actual fs under a subdir of /mnt, and symlink it to /data, if you find it handy.
Code:

ln -s /mnt/mp3 /mp3
or if the actual content is in folder mp3 on disk
Code:

ln -s /mnt/mountpointname/mp3 /mp3
Symlinks are treated as the file/dir they point to, except some cases the most important of which is:
*most* programs, when run in recursive mode will not follow symlinks
This way you effectively have your /mp3/Dylan directory without violating the FHS, since your actual data will be under /mnt/mp3


All times are GMT -5. The time now is 07:29 AM.