On Tue, 15 Oct 2002, Umesh Vaishampayan wrote:
On Monday, October 14, 2002, at 09:28 PM, Marek Kozubal wrote:
We are creating a custom file system to view and access the contents
of a locally-connected (Firewire) storage device from the Mac OS X
desktop. We would like to share this device and its contents over AFP
to other macs, but have been unsuccessful so far.
What is the mode of failure?
AppleFileServer just never shows it. We have an icon on the Finder desktop showing our file system and we can look at it from the Finder and from the command line. Right now we're just working with a file system that puts up "." and ".." with 555 permissions owned by root:wheel and a local read-only file system. We do support getattrlist but this doesnt seem to be a requirement for AFP since UFS doesnt support that VNOP call. AppleFileServer has log files in /Library/Log/AppleFileService but they seem to be rather a low level of info. Is there a way to up the debugging level to see it scanning disks to be shown for sharing? There's no man page for AppleFileServer that i can find unfortunately. Also on a side note, how does one notify the system that the disk is now available? For normal disks with a /dev/disk# entry DiskArbitration just does the same thing that disktool -A disk1s1s2 does. However this requires a /dev entry which our file system doesnt have at the moment. Or is this not a nessessity? Does this notification have anything to do with AppleFileServer picking up our filesystem.
Or is AppleFileServer "hard coded" for sharing only HFS+, UFS, and
cd9660 file systems?
I doubt it. I know at least 1 instance of AFP serving NFS files....
There are hardcoded strings in AppleFileServer that list /nfs_reshares so I'm wondering if this implies that it is in fact hard coded.
AFP server is a user land daemon. Volfs support should not a be
requirement because UFS and NFS do not support it and those are
sharable using AFP....
I would agree with this after the things I've tried today. However it doesnt seem to want to share a FAT12 filesystem off a CF card but will share a normal audio CD. Thanks --- Marek Kozubal marek@portents.com _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Marek Kozubal