John Stile wrote:
On the client, I only see reference to '/dev ' in the client.

/etc/systemimager/mounted_filesystems
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)

Once the client is running, and I run 'mount -l', /dev does not show up
as mounted tmpfs.


Maybe I've not understood well... you don't see the /dev entry when you launch "mount" in your running client?

Very strange... because inside prepareclient script the "mounted_filesystems" file is generated with a simple "mount":

system("mount > /etc/systemimager/mounted_filesystems");

I've searched for tmpfs in the other scripts, but haven't found anything
that would exclude all tmpfs mounts.


A piece of code from getimage:

open (FINAL_EXCLUDE_FILE, ">$file") || die "$program_name: Couldn't open $file for writing!\n";
    @mounted_filesystems = grep (!/\s+ext2\s+/, @mounted_filesystems);
    @mounted_filesystems = grep (!/\s+ext3\s+/, @mounted_filesystems);
    @mounted_filesystems = grep (!/\s+reiserfs\s+/, @mounted_filesystems);
    @mounted_filesystems = grep (!/\s+jfs\s+/, @mounted_filesystems);
    @mounted_filesystems = grep (!/\s+xfs\s+/, @mounted_filesystems);
    @mounted_filesystems = grep (!/\s+vfat\s+/, @mounted_filesystems);
    @mounted_filesystems = grep (!/\s+fat\s+/, @mounted_filesystems);
print FINAL_EXCLUDE_FILE "\n# Automatic exclusions made by SystemImager.\n";

    foreach (@mounted_filesystems) {
      /\S+\s+\S+\s+(\S+)\s+/;
      my $mount_point=$1;
      print FINAL_EXCLUDE_FILE "$mount_point/*\n";
    }

As you can see all the mount points that are not recognized as a known filesystem are automatically excluded from the image.

So also the tmpfs mount points will be excluded. And I think it should be the right solution, becuase you must not have in you images files stored in RAM...

I've not used gentoo yet, so I'm not sure about this, but you should try to umount the /dev dir to see if under the previous /dev (the dir in the same file system of /) there are some block devices... I imagine that when the system boots, before running udev, you need some basic special block/char files (at least /dev/console -needed by the kernel- and /dev/null...).

Unfortunately I think you will be not allowed to umount the /dev directory when the system is running...

Anyway, a solution like adding the "devfs=mount" parameter or running MAKEDEV under the /dev directory in the image should resolve the problem...

Regards,
-Andrea

--
Andrea Righi
System Management Group - CINECA - http://www.cineca.it
Via Magnanelli 6/3
40033 Casalecchio di Reno (BO) - Italy


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to