What's new

Mount jffs as a share?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

john9527

Part of the Furniture
Just learning Linux and maybe save me some stumbling around.....

Is it possible to mount jffs as a share so I could access it from the windows environment to play with the configs and scripts instead of having to bring up ssh?

Thanks.
 
Answering my own question......it's easy....

create a file /jffs/configs/smb.conf.add with the following contents....

[jffs]
comment = RT-AC68R jffs share (or whatever you want)
path = /jffs
available = yes
read only = no
browsable = yes
public = yes
writable = yes


Reboot or force a restart to smbd....you can now call up windows explorer for the router share and access jffs.....

One other reason to do this....Now I can easily integrate my changes into my backup schedule.
 
[jffs]
comment = RT-AC68R jffs share (or whatever you want)
path = /jffs
available = yes
read only = no
browsable = yes
public = yes
writable = yes

Personally, I think is a little to insecure. I would suggest something like;

[jffs]
comment = Router's jffs directory
path = /jffs
dos filetimes = yes
fake directory create times = yes
valid users = <userone>,<usertwo>,<routeradmin>
invalid users =
read list = <userone>,<usertwo>,<routeradmin>
write list = <userone>,<usertwo>,<routeradmin>

Userone and usertwo are defined in your GUI samba user list.

Cheers
 
@jrmwvu04, wow, like going back to the future (where it all began, for john9527)! :)
 
This thread is so old that I was once in front of someone who I am hopelessly, nearly immeasurably behind now.

The age of the thread is irrelevant. Some of the best information that I have found have been on older threads. That is why we are all hoarders at heart :)
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top