From owner-freebsd-questions Mon Jan 4 19:19:24 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA18527 for freebsd-questions-outgoing; Mon, 4 Jan 1999 19:19:24 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA18522 for ; Mon, 4 Jan 1999 19:19:23 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt3-72.HiWAAY.net [208.147.146.72]) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id VAA27079; Mon, 4 Jan 1999 21:18:55 -0600 (CST) Received: from nospam.hiwaay.net (localhost [127.0.0.1]) by nospam.hiwaay.net (8.9.1/8.9.1) with ESMTP id VAA33164; Mon, 4 Jan 1999 21:18:42 -0600 (CST) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <199901050318.VAA33164@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: John Sconiers cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: AMD host mounting In-reply-to: Message from John Sconiers of "Mon, 04 Jan 1999 20:06:08 CST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 04 Jan 1999 21:18:42 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Sconiers writes: > In Solaris there is a root filesystem called /net. This > filesystem (I believe) is taken control of by AMD and when you > give it the command: > > /net/hostname.... > > It attempts to mount all shared filesystems from that hosts or you could > just type: > > /net/hostname/cdrom/cdrom0 > > to mount the /cdrom/cdrom0 fs from that hostname. Would this be something > that would liked to be seen on freebsd. It seems that recently I've been > trying to implement a few features found in other (Solaris' etc) Unix > operating systems. Is this something worht working on. Enable amd in /etc/rc.conf then reboot or start amd manually. Then % ls /host/nospam/filesystem will automount all the exported filesystems from the host named nospam and provide a listing of the specified filesystem. While you access it thru /host, its actually mounted under /net by amd. Think you have to use it under /host to keep amd happy that its in use else it umounts after a time. I have symbolic links to /host/hostname/filesystem/dir/... sprinkled thruout my FreeBSD systems at work so a reference to the appropriate directory does the automount. /home/ncvs is such a symbolic link allowing me to get to one archive from several hosts. Once Upon A Time with FreeBSD, if one had a host mounted via NFS and that host died, FreeBSD refused to forget about the mounted filesystems and wouldn't recover even when the remote system reappeared. Amd "cured" that problem for me, so I don't know it the problem still exists or not. Haven't thought about it for years. There have been instructions on these lists on how to do a "program" mount with amd to get the cdrom mounted similarly. Once mounted am not sure how a plain user could force a umount in order to change CD's. SGI Irix offers amd as one option, but by usually uses a different automount daemon that's different enough from FreeBSD to keep you on your toes as the default config mounts using references to /hosts/ rather than /host/. For the CDROM, SGI uses a process called "mediad" which monitors the cd tray and tape drives. Updates desktop icons appropriately too. Knows what filesystem is on the media too (Mac HFS, DOS FAT16, iso9660, efs, xfs) and mounts appropriately. On hybrid disks the Mac fs is chosen over DOS. Anyhow, the user can easily eject a cd, zip, or tape from desktop or command line. On SGI while a CD fs is mounted the disk tray is locked. Haven't checked lately to see if FreeBSD does this. OTOH I like the Mac solution: the OS (or cd driver) knows the eject button has been pressed, so it umounts and completes the eject. Windows (even NT) clumbsily appears to find out the CD is missing the next time its referenced. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message