Try rebooting and comming up in single user mode, then
run the mknod
I have the same major/minor on my Linux machine
How did you know the major/minor numbers for /dev/null?
Please let me know, thanks!
--
http://ftp.opensysmon.com is a shell script archive site with an
opensource system monitoring and network monitoring software package.
Many platforms are supplied already compiled.
Why do you not try the fsck (file system checker utility)?
> I tried to remove it and to recreate with
> "mknod /dev/null c 1 3" but it failed
> because by calling "rm /dev/null" I
> get the error message:
> "Cannot remove /dev/null : Read-only file system"
> My root partition is mounted read/write.
> What can I do now ?
Are you using the Linux OS?
In some Linuxes /dev is special FS called as devfs.
Can you tell what is the mount command issue?
Just start mount without any parameters
> I do also not understand why I'm unable to
> remove the file.
--
With Best Regards,
Andy Shevchenko mailto:an...@smile.org.ua
It's possible your hard drive may be damaged. Try
mount -n /dev/(whatever) / -o remount,rw
If that doesn't work, reboot.
Also, the usual way to recreate a /dev file is MAKEDEV.
>> a "character special" device on my linux box, but
>> "mknod /dev/null c 1 3" but it failed
>I have the same major/minor on my Linux machine
>How did you know the major/minor numbers for /dev/null?
they are usually the same on all systems of the same type, in this case
`linux'.
--
bringing you boring signatures for 17 years
And thus the `devfs' filesystem whereby devices may be accessed by name
rather than by minor/major mappings. These are specific generally
to the OS, sorry.
--
J. S. Jensen, Cu.H.
http://www.xepoch.com