Hacker News new | ask | show | jobs
by pconf 4783 days ago
The docroot path? That would indicate the Ubuntu devs who chose this location had little or no sysadmin experience. Files and dirs under /usr should not be mutable, that's what /var is for.

At least they didn't locate it on the root directory. Mount points should never be on root. See the sources for stat() for the main reason why not.

1 comments

I don't understand. I have /boot, /home and sometimes /srv in a different partition. I don't know of any other way to accomplish that without using putting mount points on root, unless you mean additional, non-FHS mount points...
>I have /boot, /home and sometimes /srv in a different >partition. I don't know of any other way to accomplish >that

/boot is typically located on the same disk as root, so that should be ok. /srv and /home, however, would be problematic root mounts. You can use automount to fix /home but /srv should be mounted under /usr or /var.

Mounting NFS or busy disks on the root dir is not a good idea on any server where filesystem i/o performance is an issue.