Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: Any way to NOT mount SCSI drive 0? Message-ID: <1991May10.144255.29441@eng.umd.edu> Date: 10 May 91 14:42:55 GMT References: <24138@unix.SRI.COM> Sender: news@eng.umd.edu (C-News) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 19 In article <24138@unix.SRI.COM> mxmora@sri-unix.sri.com (Matt Mora) writes: >Here is the scoop: > >Let's say I have a mac with a internal hard disk and external removeable media >drive. Now I set the exernal to be the startup device, can I do something >via software to make the internal drive NOT mount? Can an init be written to >unmount a scsi device or to prevent a device from mounting? Unmounting one is simple-- you can call Unmountvol. If you don't want the internal to be mountable, you really have to catch it before INIT time-- you have to make sure the driver is not loaded. What you can do is check to see if the driver for your internal drive is loaded, and if so, corrupt some of the signature bytes in the partition map (or perhaps Block 0) on the SCSI device itself (not going through the driver). Then restart the system. Note that this isn't really very secure. -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu .sig under construction, like the rest of this campus.