Mounting a box account as a file system on gentoo - as root:
- unmask net-fs/davfs2-1.4.7 in portage
 - emerge -av davfs2
 - gpasswd -a ${your_user} davfs2
 - mkdir -p /dav/${your_user}
 - chown ${your_user}:${your_user} /dav/${your_user}
 - echo 'https://www.box.com/dav /dav/${your_user} davfs rw,user,noauto 0 0' >> /etc/fstab
 
Then as ${your_user}:
- mkdir -p ~/.davfs2
 - echo "https://www.box.com/dav ${box_username} ${box_password}" >> ~/.davfs2/secrets
 - chmod 0600 ~/.davfs2/secrets
 - echo "use_locks 0" >> ~/.davfs2/davfs2.conf
 - mount /dev/${your_user}
 
The output from from df is wrong, but whatever... from the davfs2 README:
- If the server does not support RFC 4331 (most servers don't), davfs2 cannot
calculate the free disk space on the server. ... So davfs can't help but lie. I tried to
make the numbers look funny, so you will notice they are faked.
- If the server does not support RFC 4331 (most servers don't), davfs2 cannot
calculate the free disk space on the server. ... So davfs can't help but lie. I tried to
make the numbers look funny, so you will notice they are faked.