Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 03:50 PM
Ralph Scharping
 
Posts: n/a
Default Xenix Filesystem

Hi.

I am trying to mount an old Xenix hard drive somewhere else. So far I have
not had any success even though different OSes have found and correctly
identified the partition.

Can anybody tell me how to access a Xenix Filesystem from Linux, Windows,
Netware or something else?

Thank you,
Ralph
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 03:50 PM
Bill Campbell
 
Posts: n/a
Default Re: Xenix Filesystem

On Sun, Jul 25, 2004, Ralph Scharping wrote:
>Hi.
>
>I am trying to mount an old Xenix hard drive somewhere else. So far I have
>not had any success even though different OSes have found and correctly
>identified the partition.
>
>Can anybody tell me how to access a Xenix Filesystem from Linux, Windows,
>Netware or something else?


The only way I know to access Xenix file systems is under
OpenServer. It's been years since I did it though, and I don't
have manuals handy. If I remember correctly you have to run
something kile ``mkdev xenix'' before running ``mkdev hd'' to
enable Xenix file system support on OpenServer.

Bill
--
INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

The pinnacle of open systems is: when moving from vendor to vendor, the
design flaws stay the same.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 03:50 PM
Neil Morrison
 
Posts: n/a
Default Re: Xenix Filesystem


"Bill Campbell" <bill@celestial.com> wrote in message
news:mailman.3.1090778231.14852.sco-misc@lists.celestial.com...
> On Sun, Jul 25, 2004, Ralph Scharping wrote:
> >Hi.
> >
> >I am trying to mount an old Xenix hard drive somewhere else. So far I

have
> >not had any success even though different OSes have found and correctly
> >identified the partition.
> >
> >Can anybody tell me how to access a Xenix Filesystem from Linux, Windows,
> >Netware or something else?

>
> The only way I know to access Xenix file systems is under
> OpenServer. It's been years since I did it though, and I don't
> have manuals handy. If I remember correctly you have to run
> something kile ``mkdev xenix'' before running ``mkdev hd'' to
> enable Xenix file system support on OpenServer.
>
> Bill



mkdev hd
add a hard disk to the system by creating the necessary device
files
(see hd(HW)), and configuring the disk using dparam(ADM), badtrk
(ADM) and fdisk(ADM). divvy(ADM) or dkconfig(ADM) can be used to
create standard filesystem divisions or filesystems on virtual
disks. If a SCSI hard disk is being added, the appropriate host
adapter and peripheral driver are also linked into the kernel.

The -u option prints information about adding a disk; the -h
option
prints information about adding disks of a different type to the
root hard disk.

The -n (non-interactive) option is used when installing the root
hard disk.

Without options or arguments, mkdev hd runs interactively.

The command line syntax for disks with IDE(ST506), ESDI, IDA, and
OMTI interfaces is:

mkdev hd drivenum ctrlnum

drivenum
the number of the disk on the disk controller; 0 for the
first, 1 for the second.

ctrlnum
the number of the disk controller being installed. If the
controller is of the same type as the root controller (
ctrlnum 0), it is numbered 1 for the second, 2 for the
third, and so on. If it is a different type to the root
controller, the numbering starts at 0 for the first new
controller of this type, and the number must be prefixed
with one of the following codes:

ESDI- One ESDI controller with two disks is supported on
MC architecture machines.

IDA- Six Compaq IDA/Intelligent Array Expansion
controllers are supported on EISA bus machines.

OMTI- One OMTI controller with two disks is supported on
AT architecture machines.

IDE- Two IDE controllers with two disks each are
supported on AT architecture machines. MC
architecture machines may have one IDE controller
with two disks.

For example, the command mkdev hd 1 IDE-0 configures a second disk
on the first IDE controller.

The syntax for SCSI disk installation has the form:

mkdev hd ID number lun ha [ bus ]

Here the arguments have the following meanings:

ID the target ID of the disk controller on the SCSI bus (0-6
for SCSI 1, 0-15 for 16-bit wide SCSI 2; note that the
host
adapter is usually assigned ID 7).

number the number of the SCSI host adapter using the hatype
driver
(for example, 0 and 1 for the first and second adapters
using the eiad driver; 0 for the first additional adapter
using a different driver). If the root disk is not SCSI,
the number must be prefixed by SCSI-; for example, SCSI-1.

lun the logical unit number (LUN) of the disk on the
controller
(always 0 for disks with embedded controllers)

ha the type of host adapter (supported types are listed in
/etc/default/scsihas)

bus the number of the host adapter bus to which the disk is
connected; 0 for the primary bus, 1 for the secondary, and
so on. The default value is 0.

For example, the following command configures the second disk on
the
first Adaptec 154x SCSI adapter where the root disk is non-SCSI:


mkdev hd 1 SCSI-0 0 ad

mkdev hd must be invoked twice to install a SCSI disk. The first
time, the kernel is reconfigured to support the new disk. The
system must then be rebooted and mkdev hd run a second time to
initialize the disk. Use the same arguments to mkdev hd both
times.

mkdev [-l] xenix
add or remove support for XENIX(R) filesystems from the kernel.
With
the -l option, mkdev does not attempt to relink the kernel.




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/2004


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-15-2008, 03:50 PM
Bill Vermillion
 
Posts: n/a
Default Re: Xenix Filesystem

In article <mailman.3.1090778231.14852.sco-misc@lists.celestial.com>,
Bill Campbell <bill@celestial.com> wrote:
>On Sun, Jul 25, 2004, Ralph Scharping wrote:


>>I am trying to mount an old Xenix hard drive somewhere else. So
>>far I have not had any success even though different OSes have
>>found and correctly identified the partition.


>>Can anybody tell me how to access a Xenix Filesystem from Linux,
>>Windows, Netware or something else?


>The only way I know to access Xenix file systems is under
>OpenServer. It's been years since I did it though, and I don't
>have manuals handy. If I remember correctly you have to run
>something kile ``mkdev xenix'' before running ``mkdev hd'' to
>enable Xenix file system support on OpenServer.


Of course all the SCO systems prior to OpenServer also would mount
Xenix filesystem.

And at least some Unix V.3 systems would also handle Xenix.
I ran Esix that was a V.3 system and it handled Xenix and could
even build Xenix file systems. I did some testing on those in
the early 1990s and found that Xenix file systems on the same drive
ran from 5 to 10 times slower than the FFS derived file systems.

It's similar to an S51 file system. AT&T tried to improve things
with an S52 filesystem, but the rest of their OS was SO SLOW on
their hardware, it wan't as good as S51 on other machines.

From what I can find the OP won't be able mount Xenix on any
current OS except SCO. However Linux system from abuot 1997
document that Xenix is file system that can be mounted. So
maybe he can find some RH Linux before 7 and try that.

Bill
--
Bill Vermillion - bv @ wjv . com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-15-2008, 03:50 PM
Brian K. White
 
Posts: n/a
Default Re: Xenix Filesystem

Bill Vermillion wrote:
> In article <mailman.3.1090778231.14852.sco-misc@lists.celestial.com>,
> Bill Campbell <bill@celestial.com> wrote:
>> On Sun, Jul 25, 2004, Ralph Scharping wrote:

>
>>> I am trying to mount an old Xenix hard drive somewhere else. So
>>> far I have not had any success even though different OSes have
>>> found and correctly identified the partition.

>
>>> Can anybody tell me how to access a Xenix Filesystem from Linux,
>>> Windows, Netware or something else?

>
>> The only way I know to access Xenix file systems is under
>> OpenServer. It's been years since I did it though, and I don't
>> have manuals handy. If I remember correctly you have to run
>> something kile ``mkdev xenix'' before running ``mkdev hd'' to
>> enable Xenix file system support on OpenServer.

>
> Of course all the SCO systems prior to OpenServer also would mount
> Xenix filesystem.
>
> And at least some Unix V.3 systems would also handle Xenix.
> I ran Esix that was a V.3 system and it handled Xenix and could
> even build Xenix file systems. I did some testing on those in
> the early 1990s and found that Xenix file systems on the same drive
> ran from 5 to 10 times slower than the FFS derived file systems.
>
> It's similar to an S51 file system. AT&T tried to improve things
> with an S52 filesystem, but the rest of their OS was SO SLOW on
> their hardware, it wan't as good as S51 on other machines.
>
> From what I can find the OP won't be able mount Xenix on any
> current OS except SCO. However Linux system from abuot 1997
> document that Xenix is file system that can be mounted. So
> maybe he can find some RH Linux before 7 and try that.
>
> Bill


I've mounted xenix fs's under linux as recently as 2002 and I see no reason
why it shouldn't still work today
however, I created those filesystems under real xenix differently than
normal expressly so that they would be mountable by linux.

Linux doesn't understand divvy, so to mount a xenix fs under linux, you just
need to have created the filsystem under xenix by writing to a whole fdisk
partition or whole-disk device, _not_ the normal way where divvy divides up
a fdisk partition into divvy partitions and then writes filesystems to
those. This means using for example /dev/hd11 as the mkfs target in xenix
for the 1st fdisk partition on the 2nd drive. IE: if migrating an old xenix
box and there is no room to make cpio/tar files, then add a 2nd drive, make
at least one fdisk partition that is only 512 Megs since a xenix filesystem
cannot exceed 512 megs anyways.

Then, in linux, you also have to know that linux and xenix count the fdisk
oartitions backwards from each other. Fdisk partition 1 (counting from 1) in
xenix, is fdisk partition 4 in linux.
xenix: /dev/hd11
linux: /dev/hdb4

Then again, if you are going to go to the trouble of adding a disk and
moving it to a linux box, you could just cpio the whole system, including
all mounted filesystems, (which might exceed 512 megs) directly to the
whole-disk device or a larger-than-512meg fdisk partition and skip creating
a filesystem.

So it's not useful for random xenix filesystems that are already existing
and were created the normal way.
It's mostly good for mounting floppies since they are simple, whole-disk
filesystems.

--
Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-15-2008, 03:50 PM
Joe Dunning
 
Posts: n/a
Default Re: Xenix Filesystem

On 2004-07-25, Ralph Scharping <scharping@mettmann.com> wrote:
> Hi.
>
> I am trying to mount an old Xenix hard drive somewhere else. So far I have
> not had any success even though different OSes have found and correctly
> identified the partition.
>
> Can anybody tell me how to access a Xenix Filesystem from Linux, Windows,
> Netware or something else?


Linux should be able to read a Xenix FS (it's there as Sys V
filesystem in 2.4 series), however, support for Xenix may either be in a
module you have to load, or not available in the Linux binary you are
running.

Try running (as root):
insmod sysv.o

If that does not work, you may have to re-build your own kernel.

Caveats:
1. I have no direct experience of mounting Xenix filesystems.
2: although the Xinix file system is supported, it is not clear if the
relevant partition type is supported. Again, you may have to load more
modules/re-build your kernel to get support for the correct partition
type.

>
> Thank you,
> Ralph

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-15-2008, 03:50 PM
Ralph Scharping
 
Posts: n/a
Default Re: Xenix Filesystem

Whoa - so much to do!

Thank you all so very much for your help. I'll get to work right away.
I did not realize that the Xenix FS ist named Sys V in Linux. That will be
my first try, becaue I know that all the manuals say it should be possible -
they just don't mention how to go about.
If that doesn't work - I still have a license for Open Server 5.0.5 in the
closet. That will be my second try.

Thanks a bunch!
Ralph
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-15-2008, 03:50 PM
Joe Dunning
 
Posts: n/a
Default Re: Xenix Filesystem

On 2004-07-26, Ralph Scharping <scharping@mettmann.com> wrote:
> Whoa - so much to do!
>
> Thank you all so very much for your help. I'll get to work right away.
> I did not realize that the Xenix FS ist named Sys V in Linux. That will be
> my first try, becaue I know that all the manuals say it should be possible -
> they just don't mention how to go about.


You might want to read the documentation on the Sys V FS support in
Linux:

This is the implementation of the SystemV/Coherent filesystem for Linux.
It implements all of
- Xenix FS,
- SystemV/386 FS,
- Coherent FS.

This is version beta 4.

To install:
* Answer the 'System V and Coherent filesystem support' question with
'y'
when configuring the kernel.
* To mount a disk or a partition, use
mount [-r] -t sysv device mountpoint
The file system type names
-t sysv
-t xenix
-t coherent
may be used interchangeably, but the last two will eventually
disappear.

Bugs in the present implementation:
- Coherent FS:
- The "free list interleave" n:m is currently ignored.
- Only file systems with no filesystem name and no pack name are
recognized.
(See Coherent "man mkfs" for a description of these features.)
- SystemV Release 2 FS:
The superblock is only searched in the blocks 9, 15, 18, which
corresponds to the beginning of track 1 on floppy disks. No support
for this FS on hard disk yet.


Please report any bugs and suggestions to
Bruno Haible <haible@ma2s2.mathematik.uni-karlsruhe.de>
Pascal Haible <haible@izfm.uni-stuttgart.de>
Krzysztof G. Baranowski <kgb@manjak.knm.org.pl>

Bruno Haible
<haible@ma2s2.mathematik.uni-karlsruhe.de>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-15-2008, 03:50 PM
Ralph Scharping
 
Posts: n/a
Default Re: Xenix Filesystem

Thanks for the documentation.

I managed to compile the kernel so that it supports Xenix FS. Unfortunately
it still does not work. The message is the standard saying something like
"either you selected an invalid device or the filesystem you are trying to
mount is garbled". It said something about a supposedly damaged
superblock.
Right now I am installing open Server 5.05 for the second time - the first
time I installed to a SCSI-Disk and was unable to add support for IDE after,
it ssems IDE Support cannot be added to an up-and-running SCSI Sytem even
though it works vice versa.

Hope, I will be there soon. Hopefully not only to discover that the
filesystem is damaged an cannot be read no matter what....

Keep fingers crossed!
Ralph
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-15-2008, 03:50 PM
Ralph Scharping
 
Posts: n/a
Default Re: Xenix Filesystem

Stupid question:

how do I mount a new filesystem in SCO Open Server 5.0.5?

I went through the procedure of mkdev xenix and mkdev 0 IDE-1, answered all
those questions. Now that is finisched and I don't know how to mount.
Mounting the drive the way I do in Unix does not work.
The root filesystems of the host system are not mounted from "regular"
devices, either. They have devices by the name of "root" or "boot" or stuff
like that, which I gather can only be a link or a pointer or something of
the sort. I was not able to tell, wether my new device is hidden behind a
hd01 or rhd01 or what.

The Disk I am trying to mount contains a Xenix filesystem and is secondary
slave IDE drive. So far I was not able to fdisk the drive because I don't
now the associated device.

Thanks!
Ralph
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:54 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581