Re: automount based devfs replacement

From: Chip Salzenberg (chip@valinux.com)
Date: Thu Apr 27 2000 - 20:32:34 EST


According to A. Haumer:
> > cp -a /dev/* /mnt > /dev/null 2>&1
> > umount /dev/ram1 > /dev/null 2>&1
> > mount /dev/ram1 /dev -t minix -o rw > /dev/null 2>&1
> > echo "done."
>
> Well, that's what I consider a real "hack". Not what *I* want to
> have in my production systems... :-)

I use it in a production system. 100% reliable.

> What if you want to change something in your device structure,
> e.g. when a new device driver is loaded? You have to rebuild
> your device ramdisk!

I do the copy in /etc/init.d at each boot. The ramdisk image is
not stored anywhere.

-- 
Chip Salzenberg              - a.k.a. -              <chip@valinux.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:14 EST