> Michael Larocque wrote:
> >
> > Speaking of swap... When I boot and the 'Enabling swap' message (not
> > sure of the exact wording) is displayed, at the end of the line the
> > following is added: (Priority -1)
> >
> > Does anyone know what this means?
>
> $ man swapon
>
> [ ... snip ... ]
>
> -p priority
> Specify priority for swapon. This option is only
> available if swapon was compiled under and is used
> under a 1.3.2 or later kernel. priority is a value
> between 0 and 32767. See swapon(2) for a full
> description of swap priorities. Add pri=value to
> the option field of /etc/fstab for use with swapon
> -a.
>
> [ ... snip ... ]
>
> Follow that with 'man 2 swapon' for details - as the man sez. :-)
Yup, that's the first thing I did 'way back when' when I first noticed
this. ;-> The message on boot is something like:
Enabling swap: 256MB (Priority -1)
Since the man page says that priority is a value between 0 and 32K,
why is a *negative* number being reported? It's the fact that it's
report -1 that I'm curious about.
Sorry, I'm not at my system now, nor do we have any linux boxes at
work :-( so I can't check any details 'til tonight.
<*> Michael Larocque : mrl@riscan.com <*>
- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2
mQCNAzLc/0oAAAEEAJ6qHzuY7KUAE19EksW+EaH0gR1Z53BjeFx1z/fWoMmHlrUS
NavWTvXQbP5bnFzdjXU6hy28aRtv9umBDw8RSimZvrvF4g68rM331+w6X0ZKxMWB
JIZnfcowxxtdEe883bQYLFyNV0reQQbHHvLLGi6QwuAROqy4WZjKIrVKuYC5AAUR
tCRNaWNoYWVsIFIuIExhcm9jcXVlIDxtcmxAcmlzY2FuLmNvbT4=
=CCsD
- -----END PGP PUBLIC KEY BLOCK-----
-- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
Copyright © 1995-1997 Red Hat Software. Legal notices