Computing.Net > Forums > Solaris > hard and symbolic link

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

hard and symbolic link

Reply to Message Icon

Name: sue
Date: January 12, 2003 at 05:53:32 Pacific
OS: Sun Solaris
CPU/Ram: p4/1G
Comment:

What are hard and symbolic links??

and why do we need to use RAW devices..? what is it??



Sponsored Link
Ads by Google

Response Number 1
Name: jmiturbe
Date: January 13, 2003 at 04:40:27 Pacific
Reply:

Hello,

Iīm suposing that you know what a link is, and what you want to know is the difference between hard and symbolic. Do you?

A hard link is a link made at inode level, that is at a filesystem level. You can only hard link files of the same filesystem.

A symbolic link is just another file which content is just the path to the "original" file. It can be on another filesystem (and on another computer if it is imported via nfs....) If the source file is removed, the link is broken....

Bye,

jmiturbe


0

Response Number 2
Name: jmiturbe
Date: January 13, 2003 at 07:25:19 Pacific
Reply:

Hello again,

I donīt know too much about the other question, but seeing that nobody replies, here is my explanation about raw devices.

You can access a device (for example a disk drive) in two modes: normal mode (donīt know how to call this mode) and raw mode.

If you access normal mode (for example /dev/dsk/c0t0d0s0) you use the filesystem logic, that is, itīs Solarisīfile system mechanism who manages disks writes/reads.

Sometimes itīs necesary to access the drive in a more raw mode (to repair the filesystem with fsck because itīs not OK, because you are using a software that does not use Solaris filesystem logic and uses itīs own logic to write onto disks like some installations of Oracle, etc...). In these cases you use /dev/rdsk/cXtXdXsX instead of /dev/dsk/cXtXdXsX.

The way to access the drive depends on the aplication that is going to perform the access.
Bye,

jmiturbe


0

Response Number 3
Name: sue
Date: January 13, 2003 at 08:14:20 Pacific
Reply:

Thank you so much for your help!!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: hard and symbolic link

Copy symbolic link www.computing.net/answers/solaris/copy-symbolic-link/3483.html

Symbolic Links with Jumpstart www.computing.net/answers/solaris/symbolic-links-with-jumpstart/1043.html

Space Problem installing gcc on Sun www.computing.net/answers/solaris/space-problem-installing-gcc-on-sun/3751.html