[Initng] Mount point sometimes isn't mounted soon enough

Jorge Peixoto de Morais Neto jorgepeixotomorais at gmail.com
Sun Jul 29 19:57:45 CEST 2007


> It looks ok te me, assuming your fstab is correct and you are using a 
> filesystem that supports symlinks on different partitions. :P Anyway, I 
> just wanna say that some daemons do not work/start if they can't access 
> their log files, just a note.
Yes, some daemons do complain. And this problem has happened again
today; I typed "mount" and verified that /mnt/hdc2 is indeed not
mounted. 

Oh, and I have changed the physical location of the hard disk and it is
now hdc2; I have chaged fstab and have created a symlink from /mnt/hdb2
to /mnt/hdc2. If you want to see my fstab here it is (I have stripped
some comments)

/dev/hda2		/		reiserfs	noatime,notail			0 1
/dev/hdc2		/mnt/hdc2	reiserfs	noatime,notail,user		0 0
/dev/hda1		none		swap		sw,pri=1		     	0 0
/dev/hdc1		none		swap		sw,pri=0	     		0 0
/dev/hdb		/mnt/cdrom1	auto		noauto,user,ro			0 0
/dev/fd0		/mnt/floppy	auto		noauto,user			0 0
/dev/sda1		/media/camera	vfat		noauto,user			0 0

none			/var/tmp 	tmpfs		size=10000M,defaults		0 0

none                    /tmp      	tmpfs          	size=128M,defaults              0 0

# NOTE: The next line is critical for boot!
none			/proc		proc		defaults			0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
none			/dev/shm	tmpfs		nodev,nosuid,noexec		0 0

Some more information you may want to know:

initng-ifiles is straight from cvs, updated yesterday

sudo ngc -h
 initNGControl (0.6.8svn ) by Jimmy Wennlund http://www.initng.org/
[snipped]

Note: the version of initng in my PC is modified; I put kexec support
in it (I just had to add a few lines in initng_main.c). By the way,
when will the official initng have kexec support??


file /mnt/hd*
/mnt/hdb2: symbolic link to `hdc2'
/mnt/hdc2: directory

file /var/{cache,log} /usr/portage
/var/cache:   symbolic link to `/mnt/hdb2/var/cache'
/var/log:     symbolic link to `/mnt/hdb2/var/log'
/usr/portage: symbolic link to `/mnt/hdb2/usr/portage'

uname -a
Linux jorge 2.6.22-gentoo-r1 #4 PREEMPT Mon Jul 23 10:23:46 BRT 2007 i686 AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux


More information about the Initng mailing list