Hi,
thanks for your fast answers!

> -----Ursprüngliche Nachricht-----
> Von: Jan Engelhardt [mailto:[email protected]]
> Gesendet: Donnerstag, 01. März 2012 08:46
> An: Harald Heigl
> Cc: [email protected]
> Betreff: Re: [fhs-discuss] Question regarding "correct" filestructure
> 
> 
> On Thursday 2012-03-01 00:44, Harald Heigl wrote:
> >
> >Or should I mount discs1, disc2 directly to /srv and then do my remounts
> >from there? I've also thought about /mnt, but FHS says I shouldn't put
> >subfolders there, correct?
> 
> You can put Directories into /mnt, but you need to be aware that whatever
> you put there may not survive a reboot.
> 

I never heard of that before, I used /mnt sometimes, as far as I remember
even automount uses subdirs here. Is it possible that you mix this with /tmp
dir (for example Ubuntu clears the /tmp dir on every reboot, fedora
doesn't)?

> >The specification  about /srv seems quite unclear to me. It more or less
> >states "The methodology used to name subdirectories of /srv is
unspecified
> >as there is currently no consensus on how this should be done.", this was
> >the information back in 2003 with version 2.3 and now 9 years later no
real
> >change in draft 3.0, is there really no "consensus"?
> 
> Given all the bikeshedding going on, one wonders if there is any consensus
> left.
> But basically, /srv is just like /home ("do whatever you like").
> /var/www just was not considered the right place, since /var is
> for machine-specific local data, which webpages and such generally are
not.
> 
> >So what would be best practice in your opinion, how do you handle that?
> 
> Turns out that on a naslike device, I mounted all extra disks into
> /mnt/<shortname> directories (because that's short), and later only bind
> mounted them into /srv/ftp/<descriptive name, but still a directory not a
> /folder :-p>.

Ok I think I'll do something similar using /mnt and /srv. I just was a bit
unclear about the /mnt and the /media dir, while /mnt  "should be used for
temporarily mounting", /media should be used for "removable media", but in
my case it would be neither, the discs will be mounted there all the time
...


Another question:
I have some own scripts and config-files which only will be used on one
machine, but also other scripts which will be used on multiple machines
(mainly ubuntu and fedora). I've thought about putting them all in
/usr/local and syncing /usr/local between all machines (or I could mount the
same /usr/local to all computers). That will work ok for everything that
should be on multiple machines, but what do I do with my real local scripts?
Put them into /root or in a subdir like /usr/local/local which I don't sync?
Or something totally different? How would you do that?

Thanks again,
Harald

_______________________________________________
fhs-discuss mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/fhs-discuss

Reply via email to