Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: stephen noble on February 03, 2002, 02:42:21 AM

Title: SMEserver module to share server cd and floppy
Post by: stephen noble on February 03, 2002, 02:42:21 AM
new rpm for testing
the only issue i can find is an email
*/etc/cron.daily/tmpwatch:
*error: lstat() of directory /var/cache/man/X11R6/cat? failed: No such file or directory
did autofs add this ?
fix is edit /etc/cron.daily/tmpwatch


The cd and floppy are subdirectories in an ibay.

Autofs allows access without mounting.



Install


will be available at dungog.net/sme when my !@#$% isp goes
back to work on monday

for now http://groups.yahoo.com/group/dungog_net/files/rpms/
dungog-autofs and autofs

[root@sme5 files]# rpm -Uvh dungog-autofs-0.1-1.noarch.rpm autofs-3.1.7-14.i386.rpm
Preparing...                ########################################### [100%]
   1:dungog-autofs          ########################################### [ 50%]

create an ibay or use an existing one to hold the drives
then type the following, where server eq the ibay name
/sbin/e-smith/signal-event conf-autofs server

see dungog.net/sme for more information

   2:autofs                 ########################################### [100%]

[root@sme5 files]# /sbin/e-smith/signal-event conf-autofs server

[root@sme5 files]# ls -la /home/e-smith/files/ibays/server/files/
total 8
drwxrws---    2 root     shared       4096 Feb  3 01:09 .
drwxr-xr-x    5 root     root         4096 Aug 16  1999 ..
lrwxrwxrwx    1 root     shared         10 Feb  3 01:09 cdrom -> /mnt/cdrom
lrwxrwxrwx    1 root     shared         11 Feb  3 01:09 floppy -> /mnt/floppy

this assumes the following is correct for your cd and floppy
 cdrom    ->  /dev/cdrom
 floppy   ->  /dev/fd0



Usage

If you have disks in the servers drives they will be visible in the  coresponding ibay subdirectory when you access them. If no disks are in the drives the floppy and cdrom directories do not exist. Note, The automounting needs 10 seconds to refresh if you insert another disk.



regards
stephen noble

Title: Re: SMEserver module to share server cd and floppy
Post by: guestHH on February 03, 2002, 02:55:46 AM
Hi,

This is I believe a known bug:

*error: lstat() of directory /var/cache/man/X11R6/cat? failed: No such file or directory

Take a look at the bugs section at http://www.e-smith.org

That's all, regards,

guestHH