cddrec(1) General Commands Manual cddrec(1)NAME
cddrec - Read Directory Record from CD-ROM directory
SYNOPSIS
/usr/bin/cddrec [-s number] [-b] file
OPTIONS
Specifies the File Section for which the Directory Record is to be read. The numbering starts with one and can be any whole number. If
this option is not used, the last file section of the named file is assumed. Copies the entire Directory Record from a CD-ROM in binary
format to standard output. Names a file within the CD-ROM file hierarchy of a mounted CD-ROM File System.
DESCRIPTION
The cddrec command reads the Directory Record associated with a file or directory on a mounted CD-ROM and lists its contents on standard
output.
The output is formatted in a table that contains the name of each field of the Directory Record and the corresponding contents of the entry
as recorded on the CD-ROM. Note that the System Use field is not listed because it may contain non-printable characters.
Users must have read permission for file in order to execute the command.
EXIT STATUS
The following exit values are returned: The command was successful. The named file was not found, or was not within the CD-ROM hierarchy,
or access permission was denied. The File Section indicated by file does not exist.
SEE ALSO
Functions: cd_cdrec(3), cd_drec(3)cddrec(1)
Check Out this Related Man Page
cdsuf(1) General Commands Manual cdsuf(1)NAME
cdsuf - read the System Use Fields from a System Use Area
SYNOPSIS
cdsuf [-s number] [-b] file
OPTIONS
The following options are available: Specifies the File Section for the System Use Area to be read. The numbering starts with one. If this
option is omitted the last File Section of that file is assumed. Copies all of the System Use Fields of the System Use Area from the CD-
ROM to standard output in binary format. The name of any file or directory within the CD-ROM file hierarchy.
DESCRIPTION
This command is used to access the System Use Fields of the System Use Area associated with a File Section of a file or directory on a Rock
Ridge formatted CD-ROM and to list its contents on standard output, following any Continuation Fields that may be present.
The output is formatted in the form of a table that contains an entry for each System Use Field in the System Use Area as recorded on the
CD-ROM. Each table entry has the fields Signature, Length, Version, and Data as specified in the System Use Sharing Protocol. If the -b
option is used, the contents of the full System Use Area are written to standard output in binary format as it is recorded on the CD-ROM.
RESTRICTIONS
The user must have read permission for file to execute the command successfully.
EXIT STATUS
The following exit values are returned: Successful completion. File not found, file is not a file or directory within a CD-ROM file hier-
archy, or access denied. File Section indicated by -s does not exist. File Section indicated by -s has no System Use Area.
SEE ALSO cd_suf(3)cdsuf(1)
Something very weird has been happening when I'm creating files and directories. When I create a directory, at times depending on the directory name and depth, it becomes hidden and can only be seen typing "ls -a". When I say the name of the directory matters, "my_c++" will be hidden but using... (10 Replies)
Dear All,
I have text file like this:
Header
Record 1
Record 2
.......
Record n
Tail
This line of code :
awk '{ if ( NR == 1 ) { head=substr($0,1,300);} else { last = substr($0,1,300);}END{printf "Header is : %-300s Trailer is : %-300s\n", head, last}' filename
converted Header... (11 Replies)
Actually I want to display the entire output fired by ps command. My output gets trucated after 80 chars.
Thus, i am not able to see the entire command running when i give a ps -eaf ....
Does anyone know how do i display the entire output fired by ps command .. (i.e the command along with... (5 Replies)
Hi,
If I have a directory full of say 100 random files, and I would like to organize them, for example: FILE001, FILE002, FILE003, FILE004, etc.
How would I do this from Terminal, instead of manually changing each file? I'm using Mac OS X, if that makes a difference.
Thank you in advance... (8 Replies)
Hi all:
I have a directory where all of the subdirectories are named by the convention "images_#1:#2_Date." My goal is to get an array for each subdirectory that has the structure (#1,#2, int). I am able to use awk to print each subdirectory's values, but cannot figure out how to get them into an... (6 Replies)
Hi,
I just got a new Ultra 5 and replaced the CD-ROM with an LG DVD-ROM (approved and listed in Sun HCL). Got the DVD-ROM installed to install Solaris 10. Im just learning and new to Solaris installation.
When I insert a Solaris 10 DVD I see that it gets mounted and File Manager opens and... (8 Replies)
I want to keep only records contain length is 10 other records should remove from my original file without redirecting to other output file.
Source
1234567890
123456789011234
abcdefghil
Expected Result
1234567890
abcdefghil (9 Replies)
HI ,
I am having a huge comma delimiter file, I have to append the following four lines before the starting of the file through a shell script.
FILE NAME = TEST_LOAD
DATETIME = CURRENT DATE TIME
LOAD DATE = CURRENT DATE
RECORD COUNT = TOTAL RECORDS IN FILE
Source data
1,2,3,4,5,6,7... (7 Replies)
Hi,
I am using the below query to find files from a Directory:
SOURCE_DIR--Directory
Files in the Directory:
ABC.log
XYZ.out
The SOURCE_DIR has subdirectory....
when i use the below command...
find /apps/informatica/node1/scripts/test '(' -name '*.log' -o -name '*.out'... (12 Replies)
Hi All,
I am currently coding for a requirement(LINUX OS) where I am supposed to move a file (Lets Call it Employee.txt) from Directory A to Directory B based on 2 date fields as below,
Date_Current = 20120620
Date_Previous = 20120610
Source Directory : /iis_data/source
Target... (11 Replies)
How would someone save a file such as /etc/vpnc/test.conf locally into a temp file, so it can be queried? So for example if I used rsync to copy this file locally, how would I add that to a temp_file variable and discard it using unlink?
#include <stdio.h>
#include "error.h"
... (15 Replies)