I experience problems in trying to make devfs work.
I have a very ordinary PC on which SuSE Linux 8.0 is installed, kernel
2.4.18-4GB.
Following very closely the instructions written down in a few articles by
Daniel Robbins (Advanced filesystems implementors guide,
http://www-106.ibm.com/developerworks/library/l-fs4.html) I changed the
kernel to make it support devfs. So in file .config the options
CONFIG_EXPERIMENTAL=y, CONFIG_DEVFS_FS=y, CONFIG_DEVFS_MOUNT=n,
CONFIG_DEVFS_DEBUG=n, and CONFIG_DEVPTS_FS=n were used.
The next line in /etc/fstab I commented out:
#devpts /dev/pts devpts defaults 0 0
After booting, a few things happened that I don't understand.
In file /var/log/kdm.log the following lines were present that suggest
things were not quite all right:
/sbin/init: devfsd: command not found
Usage: init.system 0123456SsQqAaBbCcUu
fs type devfs not supported by kernel
In directory /dev, the entry .devfs was not present.
That program devfsd could not be found is surprising, because simply typing
this command showed it was present (in /sbin to be exact).
In /var/log/boot.msg I found the following lines that suggest that devfs was
enabled somehow:
devfs: v1.10 (20020120) Richard Gooch (rgooch@xxxxxxxxxxxxx)
devfs: boot_options: 0x0
Before I try to go any further and start to edit boot scripts to mount devfs
(in fact I tried that once but I was left with a system in which only the
proc filesystem and a read-only / were mounted), I would like to know what
is going on here. Are the messages above somehow familiar to anyone? I went
through many internet pages to find out more about this but so far without
result.
Ed Vaessen
Besides: a bit annoying is the fact that in /etc/mtab the line
devpts /dev/pts devpts rw 0 0
is present. Looking through a few boot scripts I see that several of them
indeed like to mount this filesystem. It is very strange that they seem to
succeed in this, since both disabling devpts in the kernel AND commenting
out the corresponding line in /etc/fstab should be enough to prevent this
filesystem from showing up in /etc/mtab ??
===============================
E.M.J. Vaessen
Senior Systeemspecialist
Afdeling Remote Sensing en Fotogrammetrie (GAR)
Meetkundige Dienst van Rijkswaterstaat
Postbus 5023, 2600 GA Delft
Kanaalweg 3b, 2628 EB Delft
Telefoon: (015) 26 91 277
E-mail e.m.j.vaessen@xxxxxxxxxxxxxxxxxx
===============================
Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend.
Dit bericht is uitsluitend bestemd voor de geadresseerde.
Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te
vernietigen en de afzender te informeren.
Wij adviseren u om bij twijfel over de juistheid of de volledigheid van
de mail contact met afzender op te nemen.
************************************************************************
|