Hi FM,

> Is there any way to “fool” fonera to think that my NAS is a USB disk?
Did you look into my reply on the blog? I'll repeat it here:

the WebUI and all applications look at the “mountd” state (in
/var/state/mountd) to find out which disks are present. It’s probably
easiest to insert an USB stick into your Fonera and then look at that
file to see what values should be present. Note that the state gets
thrown away when the Fonera reboots, so you’ll have to edit that file
when mounting the share (the uci command can be used for this, e.g.,
“uci -P /var/state set mountd.samba_share.part1name=Disc-A1″. Note that
the “samba_share” part here is just an arbitrary section name, you can
use anything you want there).

IIRC, the /var/state/mountd file is treated as an overlay over
/etc/config/mountd file, so it might also be possible to put the stuff
you need in there so it looks like the disk is always mounted. Don’t
forget to set mountd.mountd.count in either case.

Gr.

Matthijs

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development

Reply via email to