04-09-2008
Okay - let's hope a Sun filesystem person comes by. Have you tried the equivalent of fsck?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Good day
Does anyone have an idea on how I can rcp a file together with its attributes. owner,group, permissions ?
Regards
J (2 Replies)
Discussion started by: jhansrod
2 Replies
2. Shell Programming and Scripting
how do we set file attributes at shell prompt (2 Replies)
Discussion started by: hytechpro
2 Replies
3. UNIX for Dummies Questions & Answers
hi,
i am very- very new to unix
i have os - sun solaris 5.9 and i want to learn more about system attributes for example, the make - model of machine , operating system & patch versions
can somebody tell me a usefull command to learn these?
any help would be apreciated,
regards to all,... (3 Replies)
Discussion started by: merope
3 Replies
4. Shell Programming and Scripting
How to retrieve file attributes in a sh/bash script (modification time, access time, size, etc.)? (1 Reply)
Discussion started by: Hitori
1 Replies
5. Shell Programming and Scripting
i have a file with contents
test123
qwwww
sdsad
asdasd
asdad
adadsw
sasfar
sfaf
a
afasf
OPERATION END
i need to grep all the contents from test123 and OPERATION END.Can somebody help me how to do it ? (7 Replies)
Discussion started by: giri_luck
7 Replies
6. Shell Programming and Scripting
I am migrating from a host to another and I am trying to mimic the attributes on the old server.
Only problem is I can't figure out a fast way. Any recommendations?
Initially I thought about listing all my files on my previous host, but for some reason the listing of all files produced... (2 Replies)
Discussion started by: raykon
2 Replies
7. UNIX for Advanced & Expert Users
Hi Gurus,
I am trying to create a FS using SVM but system is throwing the following error.
newfs /dev/md/rdsk/d1002
newfs: construct a new file system /dev/md/rdsk/d1002: (y/n)? y
/usr/sbin/clri: can't get execution attributes (1 Reply)
Discussion started by: rama krishna
1 Replies
8. AIX
SOS Guys...
Is there any way to determine the user attributes, mainly if that userid is set as never expire?
I do not have admin rights, and I'm working on AIX 5.3
I've tried :
lsuser -f <username>
but no luck on that (2 Replies)
Discussion started by: freakygs
2 Replies
9. UNIX for Dummies Questions & Answers
In a directory I have many *.dat *.f files and also binary files created from Fortran compilation that doesn't have a filename extension.
Is it possible to delete these binary files according to its attributes?
Thanks. (4 Replies)
Discussion started by: lost.identity
4 Replies
10. UNIX for Beginners Questions & Answers
I'm trying to sort out the charing of a problem folder, in the 'ls -l' list is shows as:
d???????????? ? ? ? ? ? Pi-Share
PiShare is the name of the directory, all the ??s make no sense to me at all, and no user (there are only two, pi and root) can make any changes to it.... (4 Replies)
Discussion started by: MuntyScrunt
4 Replies
libAF(3) Library Functions Manual libAF(3)
NAME
libAF - Provides Attribute File Library functions to manipulate file attributes
LIBRARY
Attribute File Library (libAF.a)
SYNOPSIS
#include <AFdefs.h>
void AFclose( AFILE_t af);
ATTR_t AFgetatr( ENT_t entry, char *name);
ENT_t AFgetent( AFILE_t af, char *name);
ENT_t AFgetent( AFILE_t af, char *name);
char *AFgetval( ATTR_t attr);
ATTR_t AFnxtatr( ENT_t entry);
ENT_t AFnxtent( AFILE_t af);
char *AFnxtval( ATTR_t attr);
AFILE_t AFopen( char *filename, int maxrecsiz, int maxnumatr);
int AFread( af);
void AFrewind( AFILE_t af);
void AFsetdflt( AFILE_t af, char *dflt);
PARAMETERS
Specifies the attribute file to be closed. Specifies the entry name. Specifies the name of an attribute value. Specifies the attribute
value in the attribute list. Specifies the attribute filename. Specifies the maximum size of a record in bytes. Specifies the maximum
number of attributes per record. Points to the character name string of an attribute file structure.
DESCRIPTION
The libAF functions are provided for programs that use attribute files. These functions perform the following: Closes the specified
attribute file. Gets the attribute value matching name from the attribute list. Returns a pointer entry to the value of name. Finds the
first entry in an attribute file which has the specified name. Returns a pointer af to an attribute structure. Gets the next attribute
value from the attribute list for the specified attribute value. Returns a pointer attr to the character string of the first value in the
attribute list. Gets the next attribute from the entry list for the attribute file entry. Returns a pointer to an attribute structure.
Gets the next entry from an attribute file. Merges in any default entry that proceeds it. Returns a pointer to an attribute structure.
Gets the next attribute value from the attribute list for the current attribute. Returns a pointer to the next string value in the
attribute list. Opens the specified attribute file. Returns a pointer to an attribute file structure. Reads the next entry from an
attribute file. Fills in the current attribute table and buffer. Moves to the beginning of the specified attribute file. Sets the
default entry name for the specified attribute file.
RELATED INFORMATION
stanza(4) delim off
libAF(3)