Re: od als swap device??

From: Marc van Woerkom <van.woerkom(at)netcologne.de>
Date: Sun, 12 Dec 1999 22:39:14 +0100 (CET)

> > /dev/od0b 327552 0 327552 0% Interleaved
> > /dev/da1b 204672 0 204672 0% Interleaved
>
> Sicher der Sourcecode von swapinfo... Schau doch mal, ob mit den
> major-Numbers der /dev's alles Ok ist.

Erstmal finden. Ist nicht in src/usr.sbin, obwohl das tool dort installiert
wird.

find fand auch nichts. Mein freund strings meint:

    <WVS
    @(#) Copyright (c) 1980, 1991, 1993, 1994
            The Regents of the University of California. All rights reserved.
    $FreeBSD: src/usr.sbin/pstat/pstat.c,v 1.44 1999/08/28 01:19:14 peter Exp $
    _si_Nports

Tatsächlich:

    fileflag = swapflag = ttyflag = vnodeflag = 0;

    /* We will behave like good old swapinfo if thus invoked */
    opts = strrchr(argv[0],'/');

Ich versuch's mal.

> Wenn Dir fdisk sowas hier sagt:
>
> j(at)uriah 136% /sbin/fdisk
> ...
> The data for partition 4 is:
> sysid 165,(FreeBSD/NetBSD/386BSD)
> start 0, size 50000 (24 Meg), flag 80 (active)
> beg: cyl 0/ sector 1/ head 0;
> ^^^^^^^^^^^^^^^^^^^^^^^

Ist das ein 'dedicated' drive? (Also FreeBSD only?)

Also muss ich die Slices wieder reinfrickeln. Gut.

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 12 Dec 1999 - 22:40:22 CET

search this site