Re: SamyGO Extensions [v0.03.5 Beta]
Posted: Sat Sep 18, 2010 8:28 am
About my problem with HD channel, it's ok with the new version with bugfixes 

Code: Select all
# S_MOUNTS=$(showmount --no-headers -e $i | cut -d " " -f1)
S_MOUNTS=$(showmount --no-headers -e $i | sed 's/^\(.*\) *\*/\1/')
Code: Select all
flo@taco:~$ showmount --no-headers -e ticonderoga
/tftpboot/ubuntu_10.10-beta *
/tftpboot/ubuntu_10.04.1-64 *
/tftpboot/ubuntu_10.04.1 *
/media/data/music *
/media/data/exchange *
/media/data/diskless/player 192.168.8.3
Code: Select all
flo@taco:~$ showmount --no-headers -e ticonderoga | sed 's/^\(.*\) *\*/\1/'
/tftpboot/ubuntu_10.10-beta
/tftpboot/ubuntu_10.04.1-64
/tftpboot/ubuntu_10.04.1
/media/data/music
/media/data/exchange
/media/data/diskless/player 192.168.8.3
you can make exports with spaces in name, but i'm not shure you can access themflo-ogb wrote:There is a problem with the regex for extracting the NFS shares:
It fails to match shares that are restricted by hostname or address properly, causing it to mount the hostname as another share (or at least it creates the dir and fails to mount).Code: Select all
# S_MOUNTS=$(showmount --no-headers -e $i | cut -d " " -f1) S_MOUNTS=$(showmount --no-headers -e $i | sed 's/^\(.*\) *\*/\1/')
Example:
and running that though sed gives usCode: Select all
flo@taco:~$ showmount --no-headers -e ticonderoga /tftpboot/ubuntu_10.10-beta * /tftpboot/ubuntu_10.04.1-64 * /tftpboot/ubuntu_10.04.1 * /media/data/music * /media/data/exchange * /media/data/diskless/player 192.168.8.3
see last line, we need to match for the whitespace i guess or is it possible to export dirs with spaces in them?Code: Select all
flo@taco:~$ showmount --no-headers -e ticonderoga | sed 's/^\(.*\) *\*/\1/' /tftpboot/ubuntu_10.10-beta /tftpboot/ubuntu_10.04.1-64 /tftpboot/ubuntu_10.04.1 /media/data/music /media/data/exchange /media/data/diskless/player 192.168.8.3
Code: Select all
sed 's/^\(.*\) .*/\1/'
if you repeat the same procedure than what you get if you executeultramaximum wrote:this is the logThank you!=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.10.31 10:14:40 =~=~=~=~=~=~=~=~=~=~=~=
...
Code: Select all
smbclient -s /dtv/usb/sda1/SamyGO/etc/samba/smb.conf -U maruxos -L 192.168.1.2
https://bugs.launchpad.net/ubuntu/+sour ... bug/458637 comment #23 ff.ultramaximum wrote:...yes, .1.2 is shared folder serverCode: Select all
# smbclient -s /dtv/usb/sda1/SamyGO/etc/samba/smb.conf -U maruxos -L 192.168.1.2creating lame upcase table creating lame lowcase table Enter maruxos's password: session setup failed: SUCCESS - 0