Hi,

attached is the source of a test program.

With the CD of my ISDN card it produces:

{0} <FreeBSD 4.0-CURRENT>
(15) netch...@ttyp1 > ./dirtest /cdrom

/cdrom:
.                                        (type: unknown)
..                                       (type: unknown)
autorun.inf                              (type: unknown)
cardware                                 (type: unknown)
doku                                     (type: unknown)
fritz.ico                                (type: unknown)
fritz!                                   (type: unknown)
intro.hlp                                (type: unknown)
online                                   (type: unknown)
tools                                    (type: unknown)
winport                                  (type: unknown)

{0} <FreeBSD 4.0-CURRENT>
(16) netch...@ttyp1 > ls -l /cdrom
total 173
-r-xr-xr-x  1 root  wheel     54 22 Mai  1998 autorun.inf
dr-xr-xr-x  1 root  wheel   2048 27 Mai  1998 cardware
dr-xr-xr-x  1 root  wheel   2048 27 Mai  1998 doku
dr-xr-xr-x  1 root  wheel   2048 27 Mai  1998 fritz!
-r-xr-xr-x  1 root  wheel    766 15 Mai  1998 fritz.ico
-r-xr-xr-x  1 root  wheel  75833 22 Mai  1998 intro.hlp
dr-xr-xr-x  1 root  wheel   2048 27 Mai  1998 online
dr-xr-xr-x  1 root  wheel   2048 27 Mai  1998 tools
dr-xr-xr-x  1 root  wheel   2048 27 Mai  1998 winport


Every other CD I tried shows similar results. With ufs or msdos it
displays the correct type (dir, reg, ...).

FreeBSD 4.0-CURRENT #0: Thu Jan 21

Bye,
Alexander.

-- 
http://netchild.home.pages.de     A.Leidinger @ wurzelausix.cs.uni-sb.de

Attachment: binmYSTwHnzqq.bin
Description: dirtest.c

Reply via email to