LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] How to copy some files

[ILUG] How to copy some files

Ronan Cunniffe ronan at cunniffe.net
Mon Jul 22 19:18:22 IST 2002


Quoting kevin lyda <kevin+dated+1027734126.560c2e at linux.ie>:

> uh, i wouldn't.  i was referring to the previous message which discussed
> the idea of a symlink that referred to a 64 bit device id and the inode
> of the file.  i gave two examples of why it wouldn't work.

If you want an example of such a "symlink" - loopback fs's.  The original data
is referred to by major:minor devno + inode.  There is a static (64 byte?)
buffer that gets filled with as much of the filename will fit, but I don't think
it's used for anything except displaying to users.  There's no protection
against deleting the original file while it's still losetup'd or even mounted. 
Just don't reuse the inode before losetup -d.... or else.

Ronan





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell