[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what is /.udev for ?



Adam Heath wrote:
> On Wed, 9 Feb 2005, David Mandelberg wrote:
>>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
>
>
> Unless of course /tmp is mounted /tmpfs later.
That's why nothing is used in /tmp for very long, the $TMPDEV dir is unmounted.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: