Q:CIFS mount Optionen

Das Original Benutzerinterface Neutrino-SD incl. zapit, sectionsd, yWeb etc...
petgun
Tuxboxer
Tuxboxer
Beiträge: 5001
Registriert: Montag 11. November 2002, 15:26

Q:CIFS mount Optionen

Beitrag von petgun »

Hi,
welche mount Optionen gibt es fuer den CIFS DBox-Client?
'udp', 'nolock' wird als 'CIFS: Unknown mount option' gemeldet und rsize/wsize werden bei mir unabhaengig von den Einstellungen immer auf 4100 begrenzt.
cu,
peter
Nachtvogel
Tuxboxer
Tuxboxer
Beiträge: 4391
Registriert: Freitag 21. Mai 2004, 17:16

Beitrag von Nachtvogel »

Hallo!

Bei mir ist ro(rw), soft, udp
nolock, rslze=8192, wslze=8192 eingestellt

Gruß Nachtvogel
Bild
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

README aus cdk/linux-2.4.27/fs/cifs:

Code: Alles auswählen

A partial list of the supported mount options follows:
  user          The user name to use when trying to establish
                the CIFS session.
  password      The user password.  If the mount helper is
                installed, the user will be prompted for password
                if it is not supplied.
  ip            The ip address of the target server
  unc           The target server Universal Network Name (export) to 
                mount.        
  domain        Set the SMB/CIFS workgroup name prepended to the
                username during CIFS session establishment
  uid           If CIFS Unix extensions are not supported by the server
                this overrides the default uid for inodes. For mounts to
                servers which do support the CIFS Unix extensions, such
                as a properly configured Samba server, the server provides
                the uid, gid and mode.  For servers which do not support
                the Unix extensions, the default uid (and gid) returned on
                lookup of existing files is the uid (gid) of the person
                who executed the mount (root, except when mount.cifs
                is configured setuid for user mounts) unless the "uid=" 
                (gid) mount option is specified.  For the uid (gid) of newly
                created files and directories, ie files created since 
                the last mount of the server share, the expected uid 
                (gid) is cached as as long as the inode remains in 
                memory on the client.   Also note that permission
                checks (authorization checks) on accesses to a file occur
                at the server, but there are cases in which an administrator
                may want to restrict at the client as well.  For those
                servers which do not report a uid/gid owner
                (such as Windows), permissions can also be checked at the
                client, and a crude form of client side permission checking 
                can be enabled by specifying file_mode and dir_mode on 
                the client
  gid           If CIFS Unix extensions are not supported by the server
                this overrides the default gid for inodes.
  file_mode     If CIFS Unix extensions are not supported by the server
                this overrides the default mode for file inodes.
  dir_mode      If CIFS Unix extensions are not supported by the server 
                this overrides the default mode for directory inodes.
  port          attempt to contact the server on this tcp port, before
                trying the usual ports (port 445, then 139).
  iocharset     Codepage used to convert local path names to and from
                Unicode. Unicode is used by default for network path
                names if the server supports it.  If iocharset is
                not specified then the nls_default specified
                during the local client kernel build will be used.
                If server does not support Unicode, this parameter is
                unused.
  rsize         default read size
  wsize         default write size
  rw            mount the network share read-write (note that the
                server may still consider the share read-only)
  ro            mount network share read-only
  version       used to distinguish different versions of the
                mount helper utility (not typically needed)
  sep           if first mount option (after the -o), overrides
                the comma as the separator between the mount
                parms. e.g.
                        -o user=myname,password=mypassword,domain=mydom
                could be passed instead with period as the separator by
                        -o sep=.user=myname.password=mypassword.domain=mydom
                this might be useful when comma is contained within username
                or password or domain. This option is less important
                when the cifs mount helper cifs.mount (version 1.1 or later)
                is used.
  nosuid        Do not allow remote executables with the suid bit 
                program to be executed.  This is only meaningful for mounts
                to servers such as Samba which support the CIFS Unix Extensions.
                If you do not trust the servers in your network (your mount
                targets) it is recommended that you specify this option for
                greater security.
  suid          Allow remote files on this mountpoint with suid enabled to 
                be executed (default for mounts when executed as root,
                nosuid is default for user mounts).
  credentials   Although ignored by the cifs kernel component, it is used by 
                the mount helper, mount.cifs. When mount.cifs is installed it
                opens and reads the credential file specified in order  
                to obtain the userid and password arguments which are passed to
                the cifs vfs.
  guest         Although ignored by the kernel component, the mount.cifs
                mount helper will not prompt the user for a password
                if guest is specified on the mount options.  If no
                password is specified a null password will be used.
rsize und wsize werden meines Wissens nach mit der Gegenstelle ausgehandelt und können von den Vorgaben abweichen.
petgun
Tuxboxer
Tuxboxer
Beiträge: 5001
Registriert: Montag 11. November 2002, 15:26

Beitrag von petgun »

hi,
Nachtvogel hat geschrieben: Bei mir ist ro(rw), soft, udp
nolock, rslze=8192, wslze=8192 eingestellt
jau, imo haben aber nur 'ro/rw' und 'soft' eine Wirkung. 'udp','nolock' ist unbekannt und die Groesse fuer rsize,wsize wird auf 4100 begrenzt..deshalb hier ja die Frage nach _gueltigen_ evtl. weiteren CIFS mount Optionen.

cu,
peter

PS:@DieMade
Danke fuer die Doku! 'suid' wird akzeptiert aber bei 'guest' kommt 'unknown option'...
t2000x
Interessierter
Interessierter
Beiträge: 78
Registriert: Dienstag 7. Mai 2002, 10:03

Beitrag von t2000x »

hatte auch schon für den Movieplayer mit den mount size parametern experimentiert... bei mir zeigt der mount aber auch maximal die 4100 an... meine Gegenstelle wäre der WinXP-Share, kann ich da was einstellen?