accessing 2nd partition of dos hard drive

Roger A. Cornelius rac at jc3b21.UUCP
Wed Sep 14 08:49:27 AEST 1988


In article <859 at viscous>, rosso at sco.COM (Ross Oliver) writes:
< In article <461 at jc3b21.UUCP> rac at jc3b21.UUCP (Roger A. Cornelius) writes:
< >Does anyone know if it's possible to address the second dos
< >partition of the hard drive using the dos utilities? i.e. dosls, dosdir,
< >dosrm, doscat, etc.
< 
< The device files /dev/hd01, /dev/hd02, /dev/hd03, and /dev/hd04 can
< be used to access the four absolute partitions on your first hard
< disk.  There are also /dev/hd11, /dev/hd12, etc. for the second hard
< disk as well.  See the hd(HW) manual entry for a description of all
< the device files available to access the disks.

I just tried this after reading your response, and I can read the files
on the first dos partition with "dosdir /dev/hd01", but "dosdir /dev/hd02"
returns "dosdir: FAT not recognizable on /dev/hd02".  All the other devices
(/dev/hd0[034a]) return "dosdir: bad media byte on /dev/hd0[034a]".  I used
SpeedStor to do the partitioning.  Could that be the problem?  Needless to
say, I can access both partitions fine when running under dos.  Only one
hard drive is installed in my system.

Thanks again,
Roger Cornelius
-- 
                +---------- Roger Cornelius -----------+
                |            (813)347-4399             |
                | ...gatech!codas!usfvax2!jc3b21!rac   |
                +-   ...gatech!usfvax2!jc3b21!rac     -+



More information about the Comp.unix.xenix mailing list