I am having some issue after adding users i am able to access my ftp fine, but while i am trying to mount a shared folder following error:
command i am using is
sudo mount --bind /newhd/shareddocs /home/foc
Error is:
mount: special device /newhd/shareddocs does not exist
and the result of mount command is
$ sudo mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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)
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)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sdb1 on /media/NEWHD type ext4 (rw)
gvfs-fuse-daemon on /home/itpchr/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=itpchr)
Here are the contents of /etc/fstab
:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=534bc4e4-868c-4c7c-a026-66338953bd46 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=8b4fed1f-8b32-4b90-9c50-0d4b21b0ebfb none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sdb1 /media/NEWHD ext4
Please tell me the exact command to mount a shared folder on NEWHD to foc user directory.