Denys Vlasenko wrote: >> This is blkid from my desktop system copied over to the thinclient. >> The command exits immediately printing the blkid for hda1, so, that >> works a treat. > > Can you run "strace -o LOG /system/blkid" and post LOG file?
See attached file gnu-blkid.out.gz. >> [usenet-test - ~ #] blkid >> ---- now I have to wait for approx. 4m30s ---- >> /dev/ram0: LABEL="Compressed" TYPE="cramfs" >> /dev/hda1: LABEL="LXTC_BOOT" UUID="9406c03b-e4dc-4cbe-867a-b18d3fceec15" >> SEC_TYPE="ext2" TYPE="ext3" >> [usenet-test - ~ #] >> >> So, 4m30s is a bit tough in this case. > > Can you produce a strace of this one too? See attached file busybox-blkid.out.gz. >> Additionally, why does BB blkid show /dev/ram0 whereas the GNU(?) blkid >> doesn't? > > busybox's blkid scans all block devices present in /dev. > Please provide more info, I might be able to add > code which probes for precense of removable media > and skips it if not present. What info do you need? I will be happy to provide as much information as is necessary for that issue to get resolved. I'm using mdev to populate my /dev directory. >> And, SEC_TYPE is also only in the BB output by default. > > What SEC_TYPE? I see no SEC_TYPE in busybox output. In my above mentioned example, there was one, see my quote above. When running that again now to produce the strace output, I haven't seen that again. A bit strange, though, because I cannot reproduce that again, so let's leave that for now. So, this is the current difference: [testlxtc1 - ~ #] blkid /dev/hda1: LABEL="LXTC_BOOT" UUID="d780043e-272c-4e3c-bfb8-14837e0c6a7e" /dev/ram0: LABEL="Compressed" [testlxtc1 - ~ #] /system/blkid /dev/hda1: LABEL="LXTC_BOOT" UUID="d780043e-272c-4e3c-bfb8-14837e0c6a7e" TYPE="ext2" [testlxtc1 - ~ #] busybox blkid shows hda1 _AND_ ram0, GNU blkid doesn't show ram0 but it shows an additional TYPE attribute which busybox blkid doesn't. ciao, -- Alexander Griesser (Netzwerkadministration) E-Mail: [email protected] | Web: http://www.lkh-vil.or.at KABEG LKH Villach | Nikolaigasse 43 | 9500 Villach Tel.: +43 4242 208 3061 | Fax.: +43 4242 208 971 2061
gnu-blkid.out.gz
Description: GNU Zip compressed data
busybox-blkid.out.gz
Description: GNU Zip compressed data
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
