I did rm /dev/ad0s1f HELP?

DoubleF doublef at tele-kom.ru
Sat Jun 14 05:14:14 PDT 2003

> I did rm /dev/ad0s1f witch is my /tmp partition. And now ofcourse when
> it boots it says that it can't stat ad0s1f because it isn't there. And
> then I asked for the path of sh with as default /bin/sh. Or in other
> words it doesn't boot anymore. I tried sh MAKEDEV ad0s1f, but it replied
> with rm: ad0s1: read-only file system. Can I get the ad0s1f file or
> whatever it is back in to that /dev/ directory? Because I really do not
> want to start all over again.

You first need to mount root for writing:

#mount /

And then you will be able to make the node.


More information about the freebsd-questions mailing list