maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs) (https://talk.maemo.org/showthread.php?t=38536)

Cue 2010-02-20 18:49

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by davidh101 (Post 538657)
Surely it doesn't matter where I created the file if the result is teling me it isn't found......even when it is showing up in the directory????

because then you do not have to worry about how you save, EOL characters or how you transfer the file, which can cause a problem.
http://www.unix.com/unix-desktop-dum...d-notepad.html

edit: the command before was to check that cifsmount.sh isn't in your script. showing nothing and going back to command prompt means it isn't in your script.

Nathan 2010-02-21 11:09

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Hey, instead of using the script, and doing it manually via command line:
http://talk.maemo.org/showthread.php?t=44188

Wizard Mounter has been release about a week or so ago.

Nathan.
P.S. I still use the command line in some cases; but WM is much, much faster!

SubCore 2010-02-24 14:28

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by GameboyRMH (Post 538575)
Sounds like some of you are using older versions of the script. The printf %q issue has been solved. Here is the final, working version again:

Code:

#! /bin/sh

there must not be a space between ! and /

this is probably the reason why it doesn't work for davidh101

GameboyRMH 2010-02-24 14:44

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by SubCore (Post 544369)
there must not be a space between ! and /

this is probably the reason why it doesn't work for davidh101

Whoops, sorry, I don't have any N900 to test on (still in shipping). I corrected the script in my previous post.

Cue 2010-02-24 16:30

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
it should work with any amount of whitespace.
http://en.wikipedia.org/wiki/Shebang_%28Unix%29

Cue 2010-02-24 16:34

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by Nathan (Post 539522)
Hey, instead of using the script, and doing it manually via command line:
http://talk.maemo.org/showthread.php?t=44188

Wizard Mounter has been release about a week or so ago.

Nathan.
P.S. I still use the command line in some cases; but WM is much, much faster!

Nathan when you say faster do you mean just mounting or somehow faster browsing directories?

slewis1972 2010-02-24 17:52

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
When I mount a drive with:
mount -tcifs //xx.xx.xx.xx/media /media/NAS -ouser=xxxx,pass=xxxxx,ip=xxxxxxxxxxxx

and then a rsync, it works but i get chown errors not being able to access files. Do i need to mount the drive with specific dmask setting?

Scott

jukey 2010-02-24 23:14

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by slewis1972 (Post 544670)
When I mount a drive with:
mount -tcifs //xx.xx.xx.xx/media /media/NAS -ouser=xxxx,pass=xxxxx,ip=xxxxxxxxxxxx

and then a rsync, it works but i get chown errors not being able to access files. Do i need to mount the drive with specific dmask setting?

Scott

I solved these problems using the uid and gid option. The 'user' uid and gid is 29999. gid and uid are included between pass=xxxx, and ip=xxxxxxxxxxxxxx.

Update. The correct line for your example is:
Code:

mount -tcifs //xx.xx.xx.xx/media /media/NAS -ouser=xxxx,pass=xxxxx,uid=29999,gid=29999,ip=xxxxxxxxxxxx
HTH, jukey

wickedgtr1 2010-03-02 07:55

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Has no one noticed you can't calibrate the screen ???

This is totally a deal breaker --- and I know its specifically the CIFS module now.

I have installed the joydev+mouse for PS3 sixaxis support, and it doesnt break anything.



Please test for your self:

Launcher -> Settings -> Screen calibration -> click first bulls-eye -- crashes to 'desktop'

Let me know if I am doing something stupid

Nathan 2010-03-06 07:38

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by wickedgtr1 (Post 552108)
Has no one noticed you can't calibrate the screen ???

This is totally a deal breaker --- and I know its specifically the CIFS module now.

I have installed the joydev+mouse for PS3 sixaxis support, and it doesnt break anything.



Please test for your self:

Launcher -> Settings -> Screen calibration -> click first bulls-eye -- crashes to 'desktop'

Let me know if I am doing something stupid

Doesn't crash for me; I hit three of the targets before I hit the backspace to quit. ;-)

I have cifs, ntfs kernel modules -- plus dozens of apps installed from, Extras, Extras-Testing and even Extras-Devel. ;-)

Nathan.


All times are GMT. The time now is 11:43.

vBulletin® Version 3.8.8