problem with midnight commander

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

problem with midnight commander

Postby arminius » Aug 2nd, '12, 11:31

I'm trying to transfer files using midnight commander, but "cannot make the hardlink" keeps coming up, I enclose a screenshot.

no idea what it means let alone the solution, last time I heard of a hardlink was when it was cut in the matrix.
Attachments
snapshot1.png
snapshot1.png (87 KiB) Viewed 977 times
arminius
 
Posts: 82
Joined: Jul 2nd, '12, 07:16

Re: problem with midnight commander

Postby wintpe » Aug 2nd, '12, 17:29

Ok a hard link as opposed to a softlink.


If i have a file called xxx and i run ln -s xxx file1 ill end up with a pointer or link to xxx that can be used to access xxx

This is often used to add compatibilty names or make a file appear by multiple names, but its obvios that its a link in an ls -al.


A hard link we create usinf a similar comand, but without the -s.

Looking at it it looks like a normal file.

But again its just a pointer.

Chech out its inode number using ls - ali


Its the same as the origional file.


Why use one over the other, well one can cross file systems, i think from memory and one cant.

Also with a hard link i dont think you can delete the origional file till all the hardlinks have been removed, whereas with softlinks you can.

Ive written all this from memory, so read the man pages to confirm that ive got it all correct.

Regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest