[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: devices for debian axp/sparc/ppc ?



Tom Dyas wrote:
> [...]
> You would also want to add /dev/openprom to that list as well.
Oops, sorry I forgot it :-(

> > I need a device for nfs-root partition. Actually I use /dev/nfs declared
> > as
> > block device, major 0, minor 1, but I don't know if these attributes are
> > really used.  Kernel documentation about nfsroot says that it's not a real
> > device but just a synonym to tell the kernel to use NFS instead of a real
> > device.  To be able to boot via network on Sparc, I have to create this
> > device
> > on the server's mount point (I put it in a root.tgz image that looks like
> > root.bin from boot floppies).
> 
> You shouldn't need to have a /dev/nfs. When you do a "root=/dev/nfs" on
> the kernel command line, the kernel just checks an array of device names.
> There is no attempt to open any userland file at all. See the routine
> parse_root_dev() in linux/init/main.c for more information.

Ok, but I don't pass root=/dev/nfs to the kernel.  I just enter "boot net" at
monitor prompt to boot my Sparc over the network.  Now I want to know which
device the client root partition is mounted from (local disk or nfsroot ?).
"block_device /" command can then return /dev/nfs if this device exists.  It
can further be used to indicate if installation starts from a NFS mounted root
partition.
Furthermore, I want to see the root partition when I use mount command
(without arguments) and would want to manipulate it (mount -o remount...).
I'm not sure mount displays a block device if it does not exists?
A named block can help in this process, I guess.

Regards.

-- 
 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-sparc-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: