IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New "Symbolic links" in FAT-32
Can anybody point me to some information of how "symbolic links" are implemented in the FAT-32 file system. We have an embedded system that has a file system based on FAT-32 (we bought it from SanDisk) and I'd like to implement symbolic links on it. I could implement something really k3wl, but then it dawned on me that files written by me on this device might actually have to be read on a Windoze machine. <sigh> so I'm stuck implementing the Windoze hallucination they call "symbolic links".

What I'm particularly interested in is whether a Micros~1 link is internally recognizeable (e.g. with metadata or some internal format) or if you have to have an .lnk extension (which would really render it brain-dead...oh, waiddaminnit...I am talking about Micros~1 here....)

Any info greatly appreciated.
jb4
shrub\ufffdbish (Am., from shrub + rubbish, after the derisive name for America's 43 president; 2003) n. 1. a form of nonsensical political doubletalk wherein the speaker attempts to defend the indefensible by lying, obfuscation, or otherwise misstating the facts; GIBBERISH. 2. any of a collection of utterances from America's putative 43rd president. cf. BULLSHIT

New Brain-dead.
New What?
what is brain-dead? FAT-32? Symbolic links? Symbolic links in FAT-32?


(I'd vote for 1 and 3)
jb4
shrub\ufffdbish (Am., from shrub + rubbish, after the derisive name for America's 43 president; 2003) n. 1. a form of nonsensical political doubletalk wherein the speaker attempts to defend the indefensible by lying, obfuscation, or otherwise misstating the facts; GIBBERISH. 2. any of a collection of utterances from America's putative 43rd president. cf. BULLSHIT

New You got it.
New now linux can be installed to a fat-32 partition
can it not make symbolic links? a file allocation table symbolic link is just a pointer to the correct file. I beleive its the OS thats incapable not the partitioning schema.
[link|http://www.wipro.com/uwin/KBinfo/links.html|http://www.wipro.com...KBinfo/links.html]
Symlinks on FAT file systems are implemented as regular files with a special header and the SYSTEM file attribute set for these files.

hope that helps,
regards,
daemon
that way too many Iraqis conceived of free society as little more than a mosh pit with grenades. ANDISHEH NOURAEE
clearwater highschool marching band [link|http://www.chstornadoband.org/|http://www.chstornadoband.org/]
New For Linux, maybe.
For Windows? It'll puke on it.
"Here at Ortillery Command we have at our disposal hundred megawatt laser beams, mach 20 titanium rods and guided thermonuclear bombs. Some people say we think that we're God. We're not God. We just borrowed his 'SMITE' button for our fire control system."
New I don't think that Wipro link is all that helpful.
It only talks about how the UWIN environment handles links.

Windows' .lnk files are probably what you want, but they really only work right from the Explorer GUI, IIRC.

From [link|http://www.google.com/search?q=%22lnk+file+format%22&sourceid=opera&num=0&ie=utf-8&oe=utf-8|Google]:
[link|http://www.stdlib.com/art6-Shortcut-File-Format-lnk-.html|http://www.stdlib.co...-Format-lnk-.html]
[link|http://www.moon-soft.com/program/FORMAT/windows/Lnk.htm|http://www.moon-soft...T/windows/Lnk.htm]

Wade.

Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please

-- "Anything but Ordinary" by Avril Lavigne.

Expand Edited by static Dec. 20, 2004, 10:00:30 PM EST
New Good stuff!
Thanks, Wade!
jb4
shrub\ufffdbish (Am., from shrub + rubbish, after the derisive name for America's 43 president; 2003) n. 1. a form of nonsensical political doubletalk wherein the speaker attempts to defend the indefensible by lying, obfuscation, or otherwise misstating the facts; GIBBERISH. 2. any of a collection of utterances from America's putative 43rd president. cf. BULLSHIT

New Many moons ago...
...I implemented a FAT system on an embedded pc board.... but that was 15 years ago, and definitely didn't involve symbolic links.

In haste, all I can see is that symbolic links appear to be implemented by a kludge known as [link|http://www.cs.vu.nl/~ast/books/mos2/sample-11.pdf|Reparse Points]. Something about using exceptions to trap into another file.

[Edit Note: Scratch that idea, I think that's an NTFS only mechanism].
Expand Edited by ChrisR Dec. 20, 2004, 11:17:01 PM EST
     "Symbolic links" in FAT-32 - (jb4) - (8)
         Brain-dead. -NT - (inthane-chan) - (6)
             What? - (jb4) - (5)
                 You got it. -NT - (inthane-chan) - (4)
                     now linux can be installed to a fat-32 partition - (daemon) - (3)
                         For Linux, maybe. - (inthane-chan)
                         I don't think that Wipro link is all that helpful. - (static) - (1)
                             Good stuff! - (jb4)
         Many moons ago... - (ChrisR)

Why do you pepper spray me so often?
116 ms