If you just want to share a folder on one partition to a folder on
another partition, (or a single file) you might be out of luck.
However, it's common practice on unix systems to mount several
partitions into various places in the file system which of course
makes those files available to the host os, regardless of where they
may be on the drive.
Most unix servers have multiple drives mounted in various locations on
the file system, especially for backup or file serving purposes.
On my linux box, I have 3 hard drives. One is the main drive, and
mounted at the root of the file system.
A second drive is mounted under the /home folder, thereby giving me an
entire drive for user directories, and removing the most used piece of
any server off the main drive.
In addition, I have a third drive mounted under the /usr/local
directory, thereby allowing me to put any programs I like in the /usr/
local/ folder, and the entire hiearchy will be completely independent
of the main linux drive. If I were running this server for general
internet usage, and I'd have various users logging in regularly, I'd
probably add a fourth drive, and mount it in the /var/mail location,
so that user email boxes wouldn't eat system resources that could
otherwise be used for system specific functions. Much better than
quotas, and the system won't crash if the drive gets full, since all
the mail files are on their own drive, and thus won't affect the main
system functionality.
Beyond mounting entire drives, the only way to get files to show up in
other locations (such as on other partitions) is to link the files
into that location. However, this raises it's own set of issues, as
depending on your unix version, permission settings, kind of link, and
partition types, it's very possible that you won't be able to see the
newly linked file.
All of these issues are of course resolvable, but it helps to have
knowledge of unix file systems before trying to do such a thing.
Unfortunately, I don't have any links to tutorials or the like about
unix file systems and how to care for and organize them, but a quick
read of the mount umount ln and cp man pages (although rather dry
reading in places) should give you a firm grounding in various file
linkage methods.
One note though, Do not use the mv command to move files from one
partition to another under osx. Most unix versions handle this type
of thing quite well, (first copying the file to the new device before
removing it from the old one, or simply altering the file allocation
table to point to the new file location if the file is on the same
logical partition.) However, for some reason, osx does not always do
this, and it is possible to lose a file entirely if mv commands are
used cross device boundaries. Copying files of course does not have
this problem.
hth
<--- Mac Access At Mac Access Dot Net --->
To reply to this post, please address your message to [email protected]
You can find an archive of all messages posted to the Mac-Access forum at
the list's public Mail Archive:
<http://www.mail-archive.com/[email protected]/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/[email protected]/maillist.xml>
As the Mac Access Dot Net administrators, we always strive to ensure that the
Mac-Access E-Mal list remains malware, spyware, Trojan, virus and worm-free.
However, this should in no way replace your own security strategy. We assume
neither liability nor responsibility should something unpredictable happen.
Please remember to update your membership preferences periodically by visiting
the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>