Author
Message
adriansuri DD-WRT Novice Joined: 01 Oct 2017 Posts: 39
Posted: Wed Mar 14, 2018 12:54 Post subject: mount
Hi I'm trying to create a mount point to keep my
ftp stuff simply, can anyone tell me why this doesn't work?
can anyone tell me why this doesn't work
mount -t ext4 --bind /dev/sdb1/ftp /mnt/ftp /ftp
I get no errors but nothing happens
regards
Adrian
Back to top
Sponsor
ian5142 DD-WRT Guru Joined: 23 Oct 2013 Posts: 2319 Location: Canada
Posted: Thu Mar 15, 2018 0:23 Post subject: Mount
This is an example of what I have used to mount a harddrive in the past:
Code:
mount -o bind /tmp/mnt/sda2/etc /etc
_________________Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Back to top
adriansuri DD-WRT Novice Joined: 01 Oct 2017 Posts: 39
Posted: Thu Mar 15, 2018 0:37 Post subject: thanks but ...
Hi I tried that output was
mount -o bind /tmp/mnt/sdb1/ftp /mnt/ftp /ftp
cd /mnt
/tmp/mnt# ls
sda2 sda3 sdb1 sdc1
no error messages but as you can see ftp still doesn't show
regards
Adrian
Back to top
ian5142 DD-WRT Guru Joined: 23 Oct 2013 Posts: 2319 Location: Canada
Posted: Thu Mar 15, 2018 0:47 Post subject: Mount
You can see current mounts by running just the mount command with no arguments.
I would use the format I just provided.
If you want the same point mounted to several locations, in your case /mnt/ftp and /ftp, run the command twice, only changing the last argument.
Code:
mount -o bind /tmp/mnt/sdb1/ftp /mnt/ftp
mount -o bind /tmp/mnt/sdb1/ftp /ftp
_________________Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Back to top
ian5142 DD-WRT Guru Joined: 23 Oct 2013 Posts: 2319 Location: Canada
Posted: Thu Mar 15, 2018 0:51 Post subject: Errors
Mount will not show an error or success message, you can only tell if it mounted correctly by issuing a mount command:
It will list all current mounts.
Then issue:
_________________Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings
Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.
Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS
Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Back to top
adriansuri DD-WRT Novice Joined: 01 Oct 2017 Posts: 39
Posted: Thu Mar 15, 2018 10:24 Post subject: mount
Yes I do also generally use the mount command, but you can I think also check in your /tmp/mnt directory (or use df) to see if it's there..
I sort of got it working in MC but MC as a sim link
but mc can't write to root therefore the link doesn't show
in the web going under nas
Regards
Adrian
Back to top