jason@cbmami.UUCP (Jason Goldberg) (05/02/91)
I am trying to set up our system to execute "share /mnt/amiga" upon booting up. I understand that the command should go in /etc/dfs/dfstab but I can't seem to get the syntax right. I have tried: share /mnt/amiga share -F s5 /mnt/amiga share -F nfs /mnt/amiga non of these worked, when I log in as root and type "share" it doesn't list any directories. So I have to do it manually, what am I doing wrong? Also, this /mnt/amiga is a directory that we are using as an AmigaDos partition for our LAN. The problem is that the s5 filesystem has a 14 char limit which is too small for many AmigaDos files. I have been told that I could mount a ufs partition and use that, but that there are still some bugs in it. Is this true under 1.1? Do I need to create the partition, then create a directory and mount the partition to the directory, then use the directory as by shareable one for TCP/IP? I noticied that I should even be able to mount an AmigaDos partition to a directory on Amix, could I use this as our shared partition for TCP/IP with the AmigaDos machines? Would this bypass the 14 character limit of the standard file system? Thanks, -Jason- --------------------------------------------------------------------------- Jason Goldberg UUCP: ucsd!serene!cbmami!jason Del Mar, CA
robbar@aplcen.apl.jhu.edu (Baruch robert) (05/04/91)
In article <1913dd26.ARN0fb9@cbmami.UUCP> jason@cbmami.UUCP writes: >I am trying to set up our system to execute "share /mnt/amiga" upon booting >up. I understand that the command should go in /etc/dfs/dfstab but I can't >seem to get the syntax right. I have tried: > >share /mnt/amiga >share -F s5 /mnt/amiga >share -F nfs /mnt/amiga > The sytax for the /etc/dfs/dfstab file is as follows: Quoting "Unix System V Release 4: An Introduction" by Osborn/McGraw-Hill You can use the share command to make a resource on your system avail- able to users on other systems. To do this, you must have root priv- leges. You can use this command to share an RFS resource or to share an NFS resource. You indicate your choice of distributed file systems by using the -F option. You can restrict how clients may user your shared resources by using the -o option. Suppose you wish to share your file "report" in your director /usr/fred over RFS. You want to allow all clients read/write access. You want to describe this resource as "team project report." And you want to let others share this file using the resource name REPORT. To share your file in this way, use the command line: # share -F rfs -o rw -d "team project report" /usr/fred/project REPORT You can make such resources available automatically whenever your system starts running RFS or NFS. You do this by including a line in the /etc/dfs/dfstab. Hope this helps!