Re: how to detect a hard link in Java?



Jussi Piitulainen wrote:

> So a symbolic link is at least not hard. I think symbolic links may
> also be called soft, sometimes.

Yes, "symbolic link" (sometimes shortened to "symlink") and "soft link" mean
the same thing. "Hard link" is really something a misnomer since there is no
"link" involved at all, at least no link between the two names, it's just that
the same data on disk can have more than one name in the file system.

(Or indeed no name at all -- which used to be a favourite way of creating
temporary files to hold ephemeral data, I don't know if it still is.)

-- chris



.



Relevant Pages

  • Re: Reproducing du/ls in Java
    ... > return the proper length of directories (whether on a FAT or reiserfs ... > file system) or a symbolic link in UNIX. ... The length of a UNIX ...
    (comp.lang.java.programmer)
  • Re: [opensuse] odd /usr/bin thing
    ... I admit it's been a while since I last used a Unix machine, but back in the time when I did every single kind of Unix I knew ... least one shell) is required to be on the root file system, while /usr/bin might be on another file system. ... For Linux, see also the File System Hierarchy standard: ... I work with Solaris and AIX on a regular basis, and /bin is a symbolic link to /usr/sbin. ...
    (SuSE)
  • Re: Root filesystem full
    ... >>Filesystem Size Used Avail Capacity Mounted on ... > Perhaps /home isn't a symbolic link to another file system and you've ... I know that my home directory does have alot of files but when I execute ...
    (comp.unix.bsd.freebsd.misc)
  • Re: KDE 3.3 fixing screensavers
    ... Shortcuts are an odd kind of very fancy symbolic link ... contexts such as Windows Explorer and file open and save dialogs. ... SuSE Linux currently supports these file system types for primary use: ... NTFS (r/o) ...
    (alt.os.linux.suse)
  • Re: For Cat.
    ... >> A symbolic link is something on your web site, ... A symbolic link is something that happens a file system level, ... So there is no way that Google can see the actual organization of your ...
    (alt.internet.search-engines)