To mount inside the /dev seems a very good idea. Something like /dev/compatxx, /dev/stddev, /dev/old, /dev/original or else.
About the fhs ... standards can change. But the unixes fhs is uglier enougth as it is. :) Em Qua 09 Fev 2005 20:42, David Mandelberg escreveu: > GOMBAS Gabor wrote: > > ... which would mean that it would become unaccessible (and thus > > meaningless) as the real /var gets mounted later in the boot process. > > You cannot reliably put it under a directory that is not guaranteed to > > be on the root file system; that leaves roughly /, /etc, /bin, /lib and > > /sbin. Pick your favourite :-) > > What about this: > > TMPDEV="`mktemp -d /tmp/devXXXXXX || { mkdir /.dev; echo -n /.dev; }`" > mount -o bind /dev $TMPDEV > mount -t tmpfs none /dev > mkdir /dev/orig > mount -o bind $TMPDEV /dev/orig > umount $TMPDEV > rm -rf $TMPDEV > > This way there's no clutter in / and the original dev is mounted in a valid > place that won't get overmounted later. It's also fhs compliant I think. -- Lucas de Sousa ================================================ e-mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] Cell: (48) 9102-6650 / Trabalho: (48) 216-9249 msn: [EMAIL PROTECTED] / icq: 1859216 / aol: lcs589 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]