Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!oliveb!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: fstab-like file? Message-ID: <54482@sun.uucp> Date: 25 May 88 17:16:26 GMT References: <10197@agate.BERKELEY.EDU> <3848@cbmvax.UUCP> <10247@agate.BERKELEY.EDU> <3864@cbmvax.UUCP> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 51 In article <3864@cbmvax.UUCP> (Carolyn Scheppner CATS) writes: >In article <10247@agate.BERKELEY.EDU> (Mike Meyer) writes: >> >>I'm keeping the hard disk names (in Mountlist) as "device" names: dh0, >>dh1, etc. I use the "name" argument to format as the "name" of the >>device. Normally, I can't use that name until I do something on the >>device in question, after the mount. I'd like something to fix that, >>so that I can start using the name I fed format after the mount >>immmediately. > >How about logical assignments. That's what I use. I used to have my >hard drive as one normal fs partition. It was assigned the logical H:. >(assign H: dh0:) [Note: I may not understand what Mike wants either but I do know how the /etc/fstab file works under UNIX] Logical assignments won't work. Because what Mike is referring to in his posting is the 'fstab' file. One Sun's at least (and I believe most BSD derived UNIXes) there is this file that contains the mount options and _where to mount the filesystem_. This would be equivalent to having a 'default assignment' in the Mountlist file. Thus if your mountlist looked like : DH1: Device = harddisk.device Unit = 2 Flags = 1 Surfaces = 6 BlocksPerTrack = 26 Reserved = 2 Interleave = 0 LowCyl = 0 ; HighCyl = 611 Buffers = 20 BufMemType = 5 # You could add a line : Assign = Sources And the CLI user could use the command : 1> Mount sources And it would mount this device and make the Sources assignment to it if the volume label wasn't already 'sources:'. Basically, you want to refer to a volume by 'name' before it is mounted and AmigaDOS doesn't do this yet. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.