using sys/fusefs-ntfs as the home dir

Polytropon freebsd at edvax.de
Wed Aug 20 18:27:21 UTC 2008


On Tue, 19 Aug 2008 22:59:31 -0400, "Aryeh Friedman" <aryeh.friedman at gmail.com> wrote:
> 500 GB internal drive in 2 partions (min. for vista [c:] and the rest
> for fbsd [8-current])
> 250 GB external (usb) that will be ntfs formated [d: for windows and
> /mnt/d on fbsd)
> 
> My question how do I set it up so my windows user's dir is the same as
> my home dir on fbsd? (assume it will be on the ext. drive)?

The solution would be very simple, but because you're insisting
on having the "D:" partition formatted as NTFS, a problem occurs:
As far as I know, FreeBSD's NTFS support is okay for reading, but
not for writing. (I'm not 100% sure because I don't have any
"Windows" stuff around to check.)

The solution would be to automount the external USB harddisk
via /etc/fstab into /home, or into your individual home directory.
With a FAT / MS-DOS formatted disk, this would look like this:

/dev/da0s1	/home/aryeh	msdosfs	rw	0	0

Note that /dev/da0 has to be this designated USB disk or startup
or login would be able to fail.

Of course, it would be much easier if "Windows" could access
an simple stupid UFS file system. :-)

Other problems could occur if you're using a FreeBSD and a
"Windows" version of the same program that behave differently,
for example a browser which's "Windows" version destroys the
configuration files - your settings of the FreeBSD version
would be gone.




> Secondary question which I know is answered at WineHQ so no need to
> answer unless there is a BSD specific issue is how do I make it so
> wine will treat the first partion of the 500 GB as ~/.wine/drive_c and
> the same for the external

Just a guess: First mount them, then put the mountpoint paths
into wine's configuration file.



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list