Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
hi,
as alreay written above, as soon as i reboot, all mounted folders are gone.
i've tried to do a workaround for the poor ftp provided and simply made a folder for each group
and simply mounted other folders in. works very quite good and i'm pleased.
but as soon as i reboot the device, everything is gone...well the actual folders are still there of course,
but the whole structure i set up by mounting is gone.
i don't know if my workaround is just crap or if i'm doing something wrong (although i don't know what you could actually do wrong with mounting)
regards,
Mikro
Offline
Mounting where? On the DNS, Windows, etc? What is getting rebooted. We need a little more detail as to what you are doing.
Offline
i've made several folders for ftp-users.
unfortunately you can only apply one folder for each user.
to avoid that issue i used the command "mount /existing_folder/ /destination folder/" to let all files of "existing_folder" be shown in "destination_folder".
this works great and now i can make multiple folders on my NAS accessible to ftp-users.
but as soon as is reboot the NAS (the entire NAS), every mount is gone.
i was thinking about generating a script, which runs at startup and issues the necessary commands.
but i'm still curious why this happens and if i am doing something wrong.
i hope i could state clearly what my problem is.
if not, please let me know!
regards,
Mikro
Last edited by Mikromann (2008-12-11 01:04:42)
Offline
This is normal. when you invoke a mount command, it is only good until a reboot. Each mount is created everytime the unit is booted using configuration files that are stored in the flash memory. If yo want them to be available each reboot of the NAS, then you will need to have a fun_plug script mount each point you want.
Offline
alright... i thought the system handled mount commands like that.
that's why i just wrote a script "mount.sh" which contains all commands.
but it just doesn't work, since it only executes the last command of a lot correctly.
i.e. :
mount /bla/x/ /x/
mount /bla/y/ /y/
mount /bla/z/ /z/
if i execute mount.sh i get the errormsgs that the first two commands are not pointing to a valid folder, but the last command is executed perfectly.
i've tried ln -s for symbolic links, just to check if it's a problem with the mount command. but i get an error there too.
i came to the conclusion that the problem is the following command, and if there are no following commands, then everything works fine (last command always works).
so is there a break/stop code or any indication i have to type in, that indicates the system, that there is another command to come?
i.e a , or a ; ?
of course i tried these and only got errors.
thanks for the help so far!
Offline
ah...i've found my mistake.
i used notepad++ to write the mount.sh
after looking through it with vi, i could see a lot of symbols, which i didn't type in but of course destroyed the valid links.
Offline