Namapovani WIN slozky jako adresare?

Milan Kopacka Milan.Kopacka na seznam.cz
Pondělí Prosinec 9 14:43:42 CET 2002


On Mon, 09 Dec 2002 13:38:16 +0100, Cocek Pavel Ing. wrote:

> smbmount je jen ve starsich linuxech.
> Nove (mam RH7.3) se pouziva normalni mount
> 
> mount -t smbfs -o username=jmenouzivatele,password=heslo
> //ntpocitac/sdileni /adresarlinuxu

... ktery stejne pracuje tak, ze zavola smbmount se spravnymi
parametry, viz. manpage -

For most types all the mount program has to do is issue a simple
mount(2) system call, and no detailed knowledge of the filesystem
type is required. For a few types however (like nfs, smbfs,
ncpfs) ad hoc code is necessary. The nfs ad hoc code is built in,
but smbfs and ncpfs have a separate mount program. In order to
make it possi­ ble to treat all types in a uniform way, mount
will execute the program /sbin/mount.TYPE (if that exists) when
called with type TYPE. Since various versions of the smbmount
program have different calling conventions, /sbin/mount.smb may
have to be a shell script that sets up the desired call.

  Milan Kopacka



Další informace o konferenci Linux