On 3/31/06, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote:
>
> See my previously-ignored message:
>
> http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2006-March/056447.html

>From the above post:

for DEVICE in /sys/block/*/dev /sys/block/*/*/dev ; do
     IFS=: read MAJOR MINOR <$DEVICE
     mknod /dev/`basename ${DEVICE%/dev}` b $MAJOR $MINOR
done

To me, this looks interesting and educational.  I'd rather see this
approach or something like MAKEDEV than using mount --bind.  I don't
have a solid reason for that, but I just prefer to see the nodes
created.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to