UML question

David A. Bandel david
Mon May 17 11:57:46 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 2 Jan 2004 19:56:21 -0500 (EST)
Net Llama! <netllama at linux-sxs.org> wrote:

> On Fri, 2 Jan 2004, David A. Bandel wrote:
> > Folks,
> >
> > Any UML wizards out there know what I've doing wrong here?
> >
> > Kernel command line: ubd1=swap2
> > eth0=daemon,,,/var/run/uml-utilities/uml_switch.ctl ubd0=uml2
> > root=/dev/ubd0
> >
> > the swap file, swap2, can be mounted by the host just fine. 
> > However, in UML I get this:
> > uml2:~# swapon /dev/ubd1
> > swapon: /dev/ubd1: No such device
> >
> > Any ideas?
> 
> Yup.  The swap device in UML must be specified as /dev/ubd7.  Anything
> else is treated as some other filesystem (ext3, XFS, etc).

First, where did you find that (referring to the udb7 <-> swap)?
Second, it doesn't work any differently: 

Kernel command line: ubd7=swap2
eth0=daemon,,,/var/run/uml-utilities/uml_switch.ctl ubd0=uml2
root=/dev/ubd0

uml2:~# swapon /dev/ubd7
swapon: /dev/ubd7: No such device
uml2:~# ls -al /dev/ubd7
brw-rw----    1 root     disk      98,   7 Dec 30 18:09 /dev/ubd7

Thanx anyway,

David A. Bandel
- -- 
Focus on the dream, not the competition.
		Nemesis Racing Team motto
GPG key autoresponder:  mailto:david_key at pananix.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/9hUxj31PLQNUbV4RAsjoAKDCYhxTfHxsLGW2tXEcfUWvDpwDqACfUtAR
sEkyCjiCEtH6VWllBbNLQGc=
=Zh4H
-----END PGP SIGNATURE-----


More information about the Linux-users mailing list