Next Previous Contents

4. The various drivers

4.1 remaudio

The remaudio driver is mandatory. The other is optional. It packs the dispatcher code used so the other driver may register.

This driver virtualise access to the file /dev/fd0 and the various sound device files (/dev/audio, /dev/dsp, /dev/mixer) and the cdrom (sound CD only)

When virtualfs is enabled, you can use unmodified sound utilities (including those dealing with the cd) and the sound card on your workstation will be used instead of the one on the server. Remaudio was built to support X terminals.

4.2 persmount

Persmount stands for "personal auto-mounter". It virtualises access to the floppy and the cdrom under the directory n/a: and n/cdrom. It does this without any configuration. It works either on a workstation or an X terminal, accessing either the local or the remote device based on the X DISPLAY environment variable.

.persmount configuration file

Persmount also simplify access to personal network volume (Windows shares, Samba shares, Novell volumes) normally access using smbmount or ncpmount. The format of this file is simple: One line per volume you want to access. Comments (using the pound character) are supported. Each lines goes like this:

The actual mount is not done in the n directory. This is done in the .n directory (created on the fly). Here is an example (folded in two lines for this document)

        server  /usr/X11R6/bin/xterm -geometry 65x4 -title password -e \
                /usr/bin/smbmount //server/tmp -c "mount .n/server"
        

As you can see, the mount command is a little complex. The xterm is used to collect the password. It creates a small window and runs the smbmount command inside it. The mount is perform in the $HOME/.n/server. But you access the file in $HOME/n/server.

This dual directories setup is there to allows you to set your current working directory in $HOME/n/server, but still be able to umount (if needed) and remount the network volume.

Here is another example to access a Novell server:

        server  /usr/X11R6/bin/xterm -geometry 65x4 -title \
                password -e /usr/bin/ncpmount -S server .n/server
        

Note that a wrapper utilities is expected for virtualfs, which will hide all that stuff. Note also that the smbmount syntax is based on the Samba 2.0 package. The syntax did changed since Samba 1.9.

4.3 litefs

.litefs configuration file

4.4 aclfs

At this point, aclfs is not useable yet. The aclfsd server is not completed, but a proof of concept was done. So here is a small introduction to aclfs.


Next Previous Contents