Rockchip · AI & Linux Hub

Storage & networking

SMB or NFS for a shared source tree on a FriendlyELEC NAS?

Sharing photos, delivering firmware and compiling source code directly in network directories have different requirements for permissions and file semantics.

Choose SMB or NFS for NanoPi or ArmSoM NAS, first specify who creates the file, who executes the program, whether it relies on symbolic links and capitalization.

Test with a small directory that comes with the project

Prepare ordinary files, executable scripts, symbolic links, longer paths and Chinese and English names, and perform the expected creation, reading and renaming actions on both Windows and Linux sides. Record owner, permissions, timestamp and file name representation. Two computers can see the directory, which only proves that the shared entrance is reachable.

Change one variable at a time

Fixed client, storage and network, first compare the protocols, and then compare the mounting parameters. Source code builds are affected by metadata round-trips, while firmware distribution places more emphasis on continuous reads. By timing the full build and the bale copy separately, the latter cannot predict the former.

Set rules for write conflicts

If the same directory is opened through two protocols at the same time, check permission mapping, file locking and backup consistency. For scenarios that focus on firmware release, the build can be completed locally and only the products are placed in the shared directory to reduce maintenance costs caused by cross-platform file semantics.

Board documentation and references

ArmSoM Sige7

Products and development resources

Check the hardware revision, carrier, image and interfaces in the product documentation. An article association is not evidence that a configuration has been tested.

Explore this topic → · Learning paths →