Symantec logo

Querying named data streams

In the following example, a file named_stream_file was created with 20 named data streams using the API calls.

The named data streams are not displayed by the ls command. When named data streams are created, they are organized in a hidden directory. For example:

# ls -al named_stream_file

-r-xr-lr-x 1 root other 1024 Aug 12 09:49 named_stream_file

 To query named data streams

Attribute Directory contents for

/vxfstest1/named_stream_file

0x1ff root other 1K Thu Aug 12 09:49:17 2004 .

0x565 root other 1K Thu Aug 12 09:49:17 2004 ..

0x177 root other 1K Thu Aug 12 09:49:17 2004 stream0

0x177 root other 1K Thu Aug 12 09:49:17 2004 stream1

0x177 root other 1K Thu Aug 12 09:49:17 2004 stream2

.

.

.

0x177 root other 1K Thu Aug 12 09:49:17 2004 stream17

0x177 root other 1K Thu Aug 12 09:49:17 2004 stream18

0x177 root other 1K Thu Aug 12 09:49:17 2004 stream19