Hi all!
I'd like to know the differences between hard links and soft links. I've already read the ln manpage, but i'm not quite sure of what i understood.
Does a hard link sort of copy the file to a new name, give it the same inode number and same rights?
What exactly should I do to do this:... (3 Replies)
I am curious about one thing.
Lets say I have a file file-a to which new generations are created on demand by simply archiving it (ex: file-a.tar.gz) and having the new one created with the same original filename file-a.
Now what I want to know is if I create a hard/soft link to file-a, what... (1 Reply)
Hi
PLease let me know the usage of Hard Link vs Soft Link
i.e what is the basic difference and what happens when one file is changed or deleted in both the cases???
thanks (3 Replies)
Hi Experts,
Please help me out to find out difference between a hard link and a soft link.
I am new in unix plz help me with some example commands ( for creating such links).
Regards
S.Kamakshi :) (2 Replies)
Hi guys,
Good day to all. I have a question that how to remove all unavialable soft link in one folder?
Because I moved orginal (source) folder and the soft links which I created have been not available at all. And then how do I remove the soft links in one time?
Any idea?
Thanks &... (3 Replies)
Hi ,
When installing oracle software a set of directories are created under
the home directories.
Since the home directory is usually not big , i would like to create a soft link
from the home directory to mount point with alot of free space , that way the logs will not be wriiten under the... (1 Reply)
hi
i have create a soft link using below command.
ln -s <filename> <dirmane>where file name i use is t1 and dir name was t2.
i deleted the dir t2 using command rm -rf to remove the soft link .
however again i create a file a using the name t2 and when i just try to link t1 to t2 ... (1 Reply)
Hi All,
I tried creating a soft link with the file itself. It got created successfully.
bash-3.2$ ls -l a
lrwxrwxrwx 1 ebrigup other 1 Oct 5 19:14 a -> a
bash-3.2$
Can anyone explain what is the possible use of it. I dont see any except practically wasting an inode... (2 Replies)
Discussion started by: brij123
2 Replies
LEARN ABOUT FREEBSD
mqueuefs
MQUEUEFS(5) BSD File Formats Manual MQUEUEFS(5)NAME
mqueuefs -- POSIX message queue file system
SYNOPSIS
To link into kernel:
options P1003_1B_MQUEUE
To load as a kernel loadable module:
kldload mqueuefs
DESCRIPTION
The mqueuefs module will permit the FreeBSD kernel to support POSIX message queue. The module contains system calls to manipulate POSIX mes-
sage queues. It also contains a file system to implement a view for all message queues of the system. This helps users to keep track of
their message queues and make it more easily usable without having to invent additional tools.
The most common usage is as follows:
mount -t mqueuefs null /mnt/mqueue
where /mnt/mqueue is a mount point.
It is possible to define an entry in /etc/fstab that looks similar to:
null /mnt/mqueue mqueuefs rw 0 0
This will mount mqueuefs at the /mnt/mqueue mount point during system boot. Using /mnt/mqueue as a permanent mount point is not advised as
its intention has always been to be a temporary mount point. See hier(7) for more information on FreeBSD directory layout.
Some common tools can be used on the file system, e.g.: cat(1), chmod(1), chown(8), ls(1), rm(1), etc. To use only the message queue system
calls, it is not necessary for user to mount the file system, just load the module or compile it into the kernel. Manually creating a file,
for example, ``touch /mnt/mqueue/myqueue'', will create a message queue named myqueue in the kernel, default message queue attributes will be
applied to the queue. It is not advised to use this method to create a queue; it is better to use the mq_open(2) system call to create a
queue as it allows the user to specify different attributes.
To see the queue's attributes, just read the file:
cat /mnt/mqueue/myqueue
SEE ALSO mq_open(2), nmount(2), unmount(2), mount(8), umount(8)AUTHORS
This manual page was written by David Xu <davidxu@FreeBSD.org>.
BSD November 30, 2005 BSD