LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-12-2004, 04:16 PM   #16
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45

yeah...as long as it's not a directory that serves a specific purpose to the system you should be fine.
 
Old 01-12-2004, 05:17 PM   #17
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Added a 2nd Sata Drive installed Fedora Core 5, BIOS Doesn't See 2nd Drive. mtmcc1 Linux - General 3 12-03-2005 05:01 PM
linux installation on 2nd drive, partition advice needed... Billydakid Linux - Newbie 16 11-10-2005 03:14 AM
Fedora Core 2 ate my hard drive.... haunj Fedora 2 02-03-2005 02:01 PM
Install Linux ISO directly off 2nd hard drive? 12Swords Linux - Newbie 1 12-16-2004 04:54 PM
Multiple Linux distros on 2nd hard drive? frija Linux - Newbie 2 04-23-2004 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration