Книга: Linux Network Administrator Guide, Second Edition

A Simple ncpmount Example

A Simple ncpmount Example

A simple example of ncpmount usage looks like this:

# ncpmount -S ALES_F1 -U rick -P d00-b-gud /mnt/brewery

This command mounts all volumes of the ALES_F1 fileserver under the /mnt/brewery directory, using the NetWare login rick with the password d00-b-gud.

The ncpmount command is normally setuid to root and may therefore be used by any Linux user. By default, that user owns the connection and only he or the root user will be able to unmount it.

NetWare embodies the notion of a volume, which is analogous to a filesystem in Linux. A NetWare volume is the logical representation of a NetWare filesystem, which might be a single disk partition be spread across many partitions. By default, the Linux NCPFS support treats volumes as subdirectories of a larger logical filesystem represented by the whole fileserver. The ncpmount command causes each of the NetWare volumes of the mounted fileserver to appear as a subdirectory under the mount point. This is convenient if you want access to the whole server, but for complex technical reasons you will be unable to re-export these directories using NFS, should you wish to do so. We'll discuss a more complex alternative that works around this problem in a moment.

Оглавление книги


Генерация: 1.112. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз