- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File links
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 03:18 AM
12-21-2004 03:18 AM
File links
I have a hard link to this file in my other directory (called as send) and i FTP it to another server.
Since every time the file is recreated the the files are not linked. I end up sending the old file it self.
I dotn want to use a soft link (-s).
Any ideas?
Thanks
Singaram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 03:19 AM
12-21-2004 03:19 AM
Re: File links
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 03:33 AM
12-21-2004 03:33 AM
Re: File links
It is not a single file. It is a variable directory aswell. I need to use only link..
Thanks
Singaram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 08:02 PM
12-21-2004 08:02 PM
Re: File links
Why don't you want to use a sym link?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 01:12 AM
12-22-2004 01:12 AM
Re: File links
Try this:
# touch realfile
# ln realfile linkfile
# ls -il realfile linkfile
(note the same inode on both files)
It doesn't matter which one you delete, the inode stays until the last one is deleted.
A sym link is just a link; when the ftp process deletes and re-creates the file, the symlink still points to the name, not the old or new inode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 01:17 AM
12-22-2004 01:17 AM
Re: File links
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 01:25 AM
12-22-2004 01:25 AM
Re: File links
Thanks for all your reply.
May be i have to settle down with symbolic link.
I validate the received file based on the date and time of the file size to check it is a fresh file or the same old file.
But sym link doesnt change when new file arrives.
I should change my logic to diff the current file with last processed file for validataion.
Singaram