Sponsored Content
Full Discussion: data resolution
Operating Systems Linux Red Hat data resolution Post 302419366 by pludi on Friday 7th of May 2010 02:40:31 AM
Old 05-07-2010
Yes, use something other than the time for modification check (cryptographic hashes for instance [md5sum, sha256sum]), or copy the files in an container (eg tar them):
Code:
$ touch test.txt
$ LANG=C stat test.txt
  File: `test.txt'
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 801h/2049d      Inode: 622770      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/      pludi)   Gid: (  100/   users)
Access: 2010-05-07 08:35:37.000000000 +0200
Modify: 2010-05-07 08:35:37.000000000 +0200
Change: 2010-05-07 08:35:37.000000000 +0200
$ tar -cf /tmp/test.tar test.txt
$ cd /tmp
$ tar xf test.tar
$ LANG=C stat test.txt
  File: `test.txt'
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: 801h/2049d      Inode: 1724286     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/      pludi)   Gid: (  100/   users)
Access: 2010-05-07 08:36:23.000000000 +0200
Modify: 2010-05-07 08:35:37.000000000 +0200
Change: 2010-05-07 08:36:23.000000000 +0200

 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Resolution..??

When i start my pc after the installation of suse linux it ask me for resolution but not for graphical interface, for console, can i run a command to change it again? Thanx! (3 Replies)
Discussion started by: Linux_fan
3 Replies

2. UNIX for Advanced & Expert Users

TCP/IP name resolution

We have 2 Unix boxes. AIX 4.3 RS/6000 Linux RedHat 6.1 Intel There is a name server running on the linux machine. This is not used on the AIX machine ( it simply uses /etc/hosts ). Now i have rsh permission denied problems and i suspect our AIX and tcp/ip name resolution. I was told to... (2 Replies)
Discussion started by: progressdll
2 Replies

3. UNIX for Advanced & Expert Users

Monitor Resolution

My machine (Sun Blade 100) has just had it's OS reinstalled (solaris 8). For some reason the monitor resolution has changed (decreaded so that I have less monitor real esate). Does anybody know the command to change monitor resolution in Solaris? Cheers AreaMan (2 Replies)
Discussion started by: AreaMan
2 Replies

4. UNIX for Advanced & Expert Users

Monitor Resolution

Guys, We are going to order the wide screen monitor with 1920*1200 resolution for one U60 in our client side, that their current graphic card is Elite3D-m6 and the higher resolution which this card supports is 1280*1024. I just want to make sure wehther we are able to work with this monitor via... (1 Reply)
Discussion started by: nikk
1 Replies

5. Solaris

DNS name resolution

Hi, I got solaris 10 installed on a E250 and i am expericing issues resolving dns. from some research i think it's becuase where i haven't set-up NIS and i don't intend too as i am just setting up a box to poke communigate pro. Any help or advice please? Thanks in advance Alan (1 Reply)
Discussion started by: e250user
1 Replies

6. IP Networking

Problem with name resolution?

I have an AIX4.3 box on our subnet, called LIMEST3.OURDOMAIN.CO.UK, with IP address 10.103.1.13 It has the following entry in its own /etc/hosts: 10.103.1.13 limest3 limest3.ourdomain.co.uk Now, if I ping limest3.ourdomain.co.uk or ping 10.103.1.13, the result is instant. However if I ping... (4 Replies)
Discussion started by: grimbleshanks
4 Replies

7. Solaris

Desktop Resolution

Hi friends, i had small problem in my home pc i install solaris 10 but GUI is very big cannot view any thing, but i can open terminal where with very difficulty is there any command to re size my resolution some thing like 1024. if not i want to log in default console other than GUI only terminal... (5 Replies)
Discussion started by: kurva
5 Replies

8. Solaris

screen resolution

how to change screen resolution in CDE prompt (2 Replies)
Discussion started by: tirupathi
2 Replies

9. Solaris

Screen Resolution

Hi all. I have a very peculiar problem in Solaris 10. The output of the m64config -prconf command with regards the Card Adapter is the following. Card possible resolutions: 720x400x85, 640x480x60, 640x480x72, 640x480x75 800x600x56, 800x600x60, 800x600x72, 800x600x75, 1024x768x60 ... (0 Replies)
Discussion started by: lynxman
0 Replies

10. Windows & DOS: Issues & Discussions

netbios name resolution + w7

Hello guys, At windows 7, when multiple ip addresses used on one nic, starting "network" from desktop is able to resolve samba machine's name (freebsd + samba3.5.9 from ports) but does not want to open machine (error: unexisting) nor ping it by name. Works fine if specified by ipv4/ipv6 address... (2 Replies)
Discussion started by: hachik
2 Replies
LFC_ACCESSR(3)						       LFC Library Functions						    LFC_ACCESSR(3)

NAME
lfc_accessr - check existence/accessibility of a file replica SYNOPSIS
Under Unix: #include <sys/types.h> #include <unistd.h> #include "lfc_api.h" Under Windows/NT: #include <sys/types.h> #define R_OK 4 #define W_OK 2 #define X_OK 1 #define F_OK 0 #include "lfc_api.h" int lfc_accessr (const char *sfn, int amode); DESCRIPTION
lfc_accessr checks in the name server database the existence or the accessibility of the file replica sfn according to the bit pattern in amode using the real user ID. sfn is either the Site URL or the Physical File Name for the replica. amode the bit pattern is built by an OR of the constants defined in <unistd.h> under Unix or to be explicitly defined under Windows/NT: R_OK test for read permission W_OK test for write permission X_OK test for search/execute permission F_OK test for existence of the file. RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately. ERRORS
ENOENT The named file does not exist. EACCES Search permission is denied on a component of the parent file prefix, the specified access to the file itself is denied or W_OK is requested but the replica status is not 'P' (cannot modify an existing file). EFAULT sfn is a NULL pointer. EINVAL amode is invalid. ENAMETOOLONG The length of sfn exceeds CA_MAXSFNLEN. SENOSHOST Host unknown. SENOSSERV Service unknown. SECOMERR Communication error. ENSNACT Name server is not running or is being shutdown. SEE ALSO
Castor_limits(4), lfc_chmod(3), lfc_statr(3) AUTHOR
LCG Grid Deployment Team LFC
$Date: 2010-04-05 09:51:26 +0200 (Mon, 05 Apr 2010) $ LFC_ACCESSR(3)
All times are GMT -4. The time now is 11:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy