questions with links

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers questions with links
# 1  
Old 09-26-2002
questions with links

hard links
1) why isnt it possible to link across file system boundaries

2) when we removed one link , how will the other link be affected?

symbolic links
1) why is it possible to create symbolic links but not hard links across file system boundaries?

# 2  
Old 09-26-2002

Please describe the UNIX system you are working on in the context of your job responsibilities. Thanks, Neo.
# 3  
Old 09-28-2002
I know in AIX 4.3.3
1)When you create a link in the same file-system (Hard link)

both the parent-file and linked file use the same i-node

You can think of a file as some space occupier on the Hard-disk

Now you have two links to that space.When you remove either

one of them one link is gone,The other is not affected

2) Since hard link uses same inode ,it's not possible across file-systems.that's why soft link

when you remove parent file all the linked files are of no use

They just show in ls

Hope this clears some doubts you are having

Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. AIX

List all the soft links and hard links

Hi I'm logged in as root in an aix box Which command will list all the soft links and hard links present in the server ? (2 Replies)
Discussion started by: newtoaixos
2 Replies

2. Solaris

Hard Links and Soft or Sym links

When loooking at files in a directory using ls, how can I tell if I have a hard link or soft link? (11 Replies)
Discussion started by: Harleyrci
11 Replies

3. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

4. UNIX for Advanced & Expert Users

About links

why directory has two links as default. what's the purpose? (1 Reply)
Discussion started by: nagalenoj
1 Replies

5. HP-UX

HP-UX Links

Manufacturer Links Homepage: Hewlett Packard Enterprise (HPE) (the is for the consumer market) Documentation: HPE QuickSpecs Support: Community: FreeWare The HP-UX Porting and Archive Centre (UK) FTP Servers... (0 Replies)
Discussion started by: Perderabo
0 Replies
Login or Register to Ask a Question