Raspberry Pi Asked by InteXX on October 5, 2021
I used File Manager to browse some files on my NAS:
//BACKUP/Files
When I did so, a shortcut (or symlink) was automatically placed on my desktop.
Now I cannot delete this item. When I attempt to do so, File Manager wants to delete the files on the NAS instead of the item on my desktop.
How can I remove this shortcut/link from the desktop?
EDIT
Here’s my ls
output:
pi@OFFSITE:~/Desktop $ ls -l
total 4
-rw-r--r-- 1 pi pi 202 Jul 19 18:46 ExternalUSB.desktop
EDIT
Here’s my mount
output:
pi@OFFSITE:~/Desktop $ mount
/dev/mmcblk0p7 on / type ext4 (rw,noatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=341236k,nr_inodes=85309,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mmcblk0p6 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sda1 on /mnt/elements type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=94664k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
EDIT
Here’s my lsblk
output:
pi@OFFSITE:~/Desktop $ lsblk --fs
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
└─sda1 ntfs D6986D4D986D2CE5 7.9T 14% /mnt/elements
mmcblk0
├─mmcblk0p1 vfat RECOVERY 9016-4EF8
├─mmcblk0p2
├─mmcblk0p5 ext4 SETTINGS 2fe2ad4a-81c1-430b-ad2a-a7fd4ed14971
├─mmcblk0p6 vfat boot 9AD7-B5BD 213M 15% /boot
└─mmcblk0p7 ext4 root e0c17230-abcf-45fc-abbe-fe49a78a61b1 18G 28% /
EDIT
Note that the mounted drive seen above (sda/sd1
), as well as the desktop shortcut pointing to it (ExternalUSB.desktop
), are unrelated to this issue. The object that was automatically added to the desktop when I connected to my NAS so far hasn’t shown up in any terminal command I’ve issued.
See my analysis of NOOBS. Suffice it to say none of the experienced users use it.
NTFS on Raspbian is read-only by default, although there is a R/W module that can be installed. The Linux implementation of NTFS (which is reverse engineered because it is proprietary) lacks journalling.
I must admit I haven't used NTFS for years (except to read portable drives) but those who do report slow access.
NOTE The partition is MOUNTED on /mnt/elements
as shown by:-
/dev/sda1 on /mnt/elements type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
Thus questions about NAS are unclear.
Incidentally findmnt
produces a more usable output.
Answered by Milliways on October 5, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP