Re: What's the weirdest filesystem out there?
- From: Peter Ammon <gershwin@xxxxxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 01:16:31 -0800
Ian Pilcher wrote:
Asking here, because I can't think of a more appropriate place...
Background:
I'm working on code which needs to break the pathname in a Java File object into its component parts:
1. An optional filesystem identifier (such as a drive letter). 2. An optional root directory. 3. Zero or more subdirectories. 4. An optional filename.
Depending on the platform and filesystem, 1 and 2 may or may not be separable.
Question:
Is there any platform out there that uses something than its directory separator to signify a root directory? (To put it another way, what's the weirdest hierarchical filesystem out there?)
TIA
It's been a long time since I've done any Mac Toolbox programming, but if I remember correctly, the Mac Toolbox only enforces unique pathnames within a single volume, and distinguishes volumes by their volume ID.
That is, you can have multiple volumes with the same name, and so you can have multiple files with the same volume name and path. Which, if you think about it, makes some sense - you don't want the computer to rename a floppy just because you're connected to a network share with the same name.
-Peter
-- Pull out a splinter to reply. .
- Follow-Ups:
- References:
- What's the weirdest filesystem out there?
- From: Ian Pilcher
- What's the weirdest filesystem out there?
- Prev by Date: Re: MAC to IP Resolving In Local Area Network
- Next by Date: Re: General structure of disassembler
- Previous by thread: Re: What's the weirdest filesystem out there?
- Next by thread: Re: What's the weirdest filesystem out there?
- Index(es):
Relevant Pages
|
|