Eu estou tentando fazer a tarefa muito simples de mover file.gz
de /home/username/Downloads/file.gz
para /mnt/gentoo/proc/
Quando emito mv /home/username/Downloads/file.gz /mnt/gentoo/proc/
, ele retorna com mv: cannot create regular file ‘/mnt/gentoo/proc/file.gz’: No such file or directory
ls /mnt/gentoo/proc
fornece a lista enorme de arquivos que estão realmente nesse diretório. ls /home/username/Downloads/
dá apenas file.gz
touch /mnt/gentoo/proc/file.gz
não funcionou e me deu touch: cannot touch ‘/mnt/gentoo/proc/file.gz’: No such file or directory
Eu posso realmente mover file.gz para outros diretórios, mas não para o que eu quero.
A saída de mount
é:
/cow on / type overlay (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdd on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=mint)
/dev/mapper/vg2-root on /mnt/gentoo type ext4 (rw)
/dev/mapper/vg1-home on /mnt/gentoo/home type ext4 (rw)
none on /mnt/gentoo/proc type proc (rw)
/sys on /mnt/gentoo/sys type none (rw,bind)
/dev on /mnt/gentoo/dev type none (rw,bind)
Saída de df -h
Filesystem Size Used Avail Use% Mounted on
/cow 3.9G 113M 3.8G 3% /
/dev 3.9G 12K 3.9G 1% /mnt/gentoo/dev
tmpfs 794M 1.8M 792M 1% /run
/dev/sdd 1.5G 1.5G 0 100% /cdrom
/dev/loop0 1.5G 1.5G 0 100% /rofs
none 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs 3.9G 660K 3.9G 1% /tmp
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 1.5M 3.9G 1% /run/shm
none 100M 32K 100M 1% /run/user
/dev/mapper/vg2-root 110G 4.7G 100G 5% /mnt/gentoo
/dev/mapper/vg1-home 917G 72M 870G 1% /mnt/gentoo/home