CSOSR7- Using in-built SAMBA server - LUA webUI verus Orig webUI
To clarify, my posts #1804 and #1825 apply to the LUA webui and not the
original tomcat/java version.
The original WebUI - Version 1-134 - does provide for exposing an
attached local drive via the inbuilt SAMBA server. First mount local
disk under /storage and then "create storage layout" on mount point
/storage.
Code:
--------------------
[root@squeeze-v flac]# mount | grep sdb
/dev/sdb1 on /storage type ext4 (rw,relatime,data=ordered)
[root@squeeze-v flac]# ls -l storage
ls: cannot access storage: No such file or directory
[root@squeeze-v flac]# ls -l /storage
total 28
drwxrwxrwx 2 nobody nobody 16384 Apr 1 13:33 lost+found
drwxrwxrwx 2 nobody nobody 4096 Apr 2 09:42 movies
drwxrwxrwx 6 nobody nobody 4096 Apr 2 09:42 music
drwxrwxrwx 2 nobody nobody 4096 Apr 2 09:42 pictures
[root@squeeze-v flac]# tree /storage
/storage
|-- lost+found
|-- movies
|-- music
| |-- flac
| | `-- [Wassenaer]\ Concerti\ Armonici\ 1-6\ [Argo\ 410\ 205-2]\
Academy\ of\ St.\ Martin-in-the-Fields,\ Neville\ Marriner
| | |-- CDImage.cue
| | |-- CDImage.flac
| | |-- Folder.jpg
| | `-- Scans
| | |-- Booklet\ 01.jpg
| | |-- Booklet\ 02.jpg
| | |-- Booklet\ 03.jpg
| | |-- Booklet\ 04.jpg
| | |-- Cover\ Back.jpg
| | `-- Cover\ Front.jpg
| |-- m4a
| |-- mp3
| `-- playlist
`-- pictures
10 directories, 9 files
--------------------
Local disk umounts without error and /storage reverts to internal
layout:
Code:
--------------------
[root@squeeze-v /]# mount | grep sdb
[root@squeeze-v /]# tree /storage
/storage
|-- backup
|-- media
| |-- audio
| `-- playlists
|-- movies
|-- music
| |-- flac
| |-- mp3
| `-- playlist
`-- pictures
10 directories, 0 files
--------------------
-But this does not happen when using LUA webUI. -
There is also the question of attaching a local drive to the Wandboard
that already contains data and exposing its contents on the user's
network.
Using the original WEBUI mounting a local disk that contains data on
/storage does make the data available under smb://<ip wandbaord>/files,
but while smbclient shows additional directories, these don't exist.
-Again this does not happen when using the LUA webUI.-
------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=99395
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix