hi all.
I’ m used to edit /etc/fstab for to add or remove local mounts.
with command mount now i get this
/dev/mmcblk0p3 on / type ext4 (rw,noatime,nouser_xattr,errors=remount-ro,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=218604k,nr_inodes=54651,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=44576k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda2 on /mnt/USB type ext4 (rw,relatime,data=ordered)
/dev/sda1 on /mnt/USB type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda2 on /mnt/USB type ext4 (rw,nodev,noexec,noatime,nodiratime,data=ordered)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=89140k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,nosuid,nodev,noexec,relatime,fmask=0111,dmask=0000,allow_utime=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
/dev/sda2 on /mnt/nfs type ext4 (rw,noatime,data=ordered)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
You see that /dev/sda2 is mounted several times.
So every time I reboot I get different mounts depends who takes first … it’s a mess.
My fstab is
#/dev/mmcblk0p3 / ext4 noatime,discard,data=writeback,journal_async_commit,nouser_xattr,barrier=0,errors=remount-ro 0 1
/dev/mmcblk0p3 / ext4 noatime,nouser_xattr,errors=remount-ro 0 1
/dev/mmcblk0p1 /boot vfat utf8,user,rw,umask=111,dmask=000 0 0
#Ramdisk /run/shm tmpfs defaults,size=256M,noexec,nodev,nosuid 0 0
UUID="fad4908e-447b-4ae7-a4b4-aeffb272d1ba" /mnt/nfs ext4 defaults,noatime 0 0
UUID="BC1680D316809056" /mnt/USB ntfs defaults,noatime 0 0
So ,left the fstab,the other mount points who belongs? How can I disable they?
Grazie.
Sergio