Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jan 1999 21:18:42 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        John Sconiers <jrs@enteract.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: AMD host mounting 
Message-ID:  <199901050318.VAA33164@nospam.hiwaay.net>
In-Reply-To: Message from John Sconiers <jrs@enteract.com>  of "Mon, 04 Jan 1999 20:06:08 CST." <Pine.BSF.4.05.9901041958300.2947-100000@adam.enteract.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901050318.VAA33164>