我注意到/proc和/dev在ubuntu上的挂载方式与其他linux发行版不同,如下所示:
Ubuntu:
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4079136k,nr_inodes=1019784,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
ALinux:
devtmpfs on /dev type devtmpfs (rw,relatime,size=1015576k,nr_inodes=253894,mode=755)
p
public function profilePictureAction()
{
// Check if the user has uploaded files
if ($this->request->hasFiles()) {
// Print the real file names and sizes
foreach ($this->request->getUploadedFiles() as $file) {
// Print file de