From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6715447b0bdaccd0 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Raw devices Date: 2000/04/05 Message-ID: <8cftl0$rjf$2@mailint03.im.hou.compaq.com>#1/1 X-Deja-AN: 607160069 Distribution: world References: <1742d8f6.8b3458d8@usw-ex0109-070.remarq.com> X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 954956256 28271 16.82.16.67 (5 Apr 2000 17:37:36 GMT) Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Date: 5 Apr 2000 17:37:36 GMT Newsgroups: comp.unix.osf.osf1 In article <1742d8f6.8b3458d8@usw-ex0109-070.remarq.com>, chico writes: > >I have a question: How to create new raw devices? Direct access (raw) to disk partitions is provided by reading and writing the character special file for the desired device. If the special files exist, you don't need to do anything special to use the raw device. Just make sure it doesn't overlap a partition that somebody else is using. The disklabel command does provide an "fstype" that can be used to indicate that a partition is in use, but not by any of the usual consumers; "raw". If you've added a device and don't have the special device files, the answer depends on the version. For all the V4 and later versions, the special files will be created when the system boots, if the driver recognizes the device. If the driver doesn't than you have a configuration problem and you'll need to provide a whol lot more information about the device and subsystem. For V4 and earlier you can also use MAKEDEV to create the special files for many devices. The specific command depends on the type of device. For V5 you should probably use the appropriate management command; hwmgr, etc. >Tks for your replies.. >Francisco > > >* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful > -- Alan Rollow alan@nabeth.cxo.dec.com