Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!sdrc!cinnet!eric From: eric@cinnet.com (Eric Bardes) Newsgroups: comp.databases Subject: Re: Informix queries: raw partitions, price support Message-ID: <1991Apr26.222142.20975@cinnet.com> Date: 26 Apr 91 22:21:42 GMT References: <461@octelb.octel.UUCP> Organization: Cincinnati Network, Cinti. OH Lines: 31 From article <461@octelb.octel.UUCP>, by jfd@octel.UUCP (John F. Detke): > How do other sysadmins handle raw partition access? My company sets up raw devices under the directory $INFORMIXDIR/dev. We generally name the devices using the space name. That is: cwr-wr--- 1 informix informix 12 0x00030a 04:00:13 rootdbs.1 cwr-wr--- 1 informix informix 12 0x00040a 04:00:13 rootdbs.2 cwr-wr--- 1 informix informix 12 0x000407 04:00:13 dbs1.1 cwr-wr--- 1 informix informix 12 0x000307 04:00:13 dbs1.1 This keeps Informix out of our /dev directory. Also if I loose a disk for whatever reason. It is easy to install a new drive into the old filename. > Informix wants to chmod and chgrp informix /dev/rsd0d > in order to use raw partitions. Why the heck do they have set-uid root > programs then? Some processes, such at sqlturbo run setuid to informix. The real uid remains at joe_user. Sqlturbo needs to be able to read and write these raw partitions. Hope I was able to help. ----------------------------------------------------------------------------- Eric E. Bardes 7651 Cornell Rd Cincinnati, OH 45242-3015 uucp: cinnet!eric -----------------------------------------------------------------------------