Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Mounting my W95 partition



>>>>> "Scott" == Scott H Perlman <perlman@example.com> writes:

    Scott> Just to be nitpicky.

    Scott> #mount
    Scott> /dev/hdb1 on /crap type ext2 (rw)
    Scott> /dev/hdb3 on /usr/local type ext2 (rw)
    Scott> #ls /crap
    Scott> file1.txt   file2.txt
    Scott> #ls -l crap
    Scott> -rw-r--r--   1 perlman  staff        1489 Feb 16 14:30 file1.txt
    Scott> lrwxrwxrwx   1 perlman  staff        1024 Feb 16 14:30 file2.txt -> 
    Scott> 	/usr/local/file2.txt

    Scott> But they won't actually both LIVE there.  (You could even
    Scott> hard link them if you were UID 0 and very masochistic)

If you define "masochistic" as "I don't care if the right file gets
dereferenced" I suppose so.  You probably can't do it with ln(1)
though.  According to link(2):

NOTES
       Hard links, as created by link, cannot  span  filesystems.
       Use symlink if this is required.

This is because a directory entry refers to an inode, and the inode
must be unique.  But that's not going to be true on different file
systems.

---------------------------------------------------------------
Next TLUG Meeting: 11 April Sat, Tokyo Station Yaesu gate 12:30
Featuring Tague Griffith of Netscape i18n talking on source code
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links