Re: using sys/fusefs-ntfs as the home dir

2008-08-25 Thread Alejandro Pulver
On Wed, 20 Aug 2008 20:27:17 +0200
Polytropon [EMAIL PROTECTED] wrote:

 On Tue, 19 Aug 2008 22:59:31 -0400, Aryeh Friedman [EMAIL PROTECTED] 
 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.)
 

fusefs-ntfs can be used for writing.

 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.
 
 

Firefox, Thunderbird and Opera can share preferences and data with
Windows (I don't know about the first 2, but for Opera some files have
to be different and others can be symlinks, there is a tutorial around).

Ale


signature.asc
Description: PGP signature


Re: using sys/fusefs-ntfs as the home dir

2008-08-25 Thread Alejandro Pulver
On Wed, 20 Aug 2008 20:31:41 -0400
Aryeh Friedman [EMAIL PROTECTED] wrote:

  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.)
 
 Actual sysutils/fusefs-ntfs (or ntfsprogs with less stable support)
 allows you to read and write I am the unofficial (I am not sure
 if Ale has put my name on the maintainer line of the make file with
 his or not) fusefs-ntfs the only issue it has on the fb side is in
 some cases (happens to me but Ale can't seem to reproduce so we are at
 a lost of how to fix it) is any attempt to mount it from anywhere in
 /etc/rc or with non-delayed option in fstab will fail (non-fatally and
 repeating the attempt after your in full multiuser mode works just
 fine)... I was asking about how to structure the dir's and from what
 you described I don't think it solves the problem completely because
 the Desktop dir/folder has two completely different means under both
 OS's and besides many symlinks (most not documented anywhere) are
 likelly needed so the purpose of the question was attempting to
 automate this and/or minimize the number of symlinks (because to
 windows the will not translate to shortcuts if I understand the guts

The sharing of the home directory can only be done per-application and
only for some of them. You can't just use the same home directory. For
the applications that work that way, you could symlink their
configuration/data directories (there are tutorials describing it for
Firefox/Thunderbird/Opera).

Ale


signature.asc
Description: PGP signature


Re: using sys/fusefs-ntfs as the home dir

2008-08-20 Thread Polytropon
On Tue, 19 Aug 2008 22:59:31 -0400, Aryeh Friedman [EMAIL PROTECTED] 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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using sys/fusefs-ntfs as the home dir

2008-08-20 Thread Aryeh Friedman
 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.)

Actual sysutils/fusefs-ntfs (or ntfsprogs with less stable support)
allows you to read and write I am the unofficial (I am not sure
if Ale has put my name on the maintainer line of the make file with
his or not) fusefs-ntfs the only issue it has on the fb side is in
some cases (happens to me but Ale can't seem to reproduce so we are at
a lost of how to fix it) is any attempt to mount it from anywhere in
/etc/rc or with non-delayed option in fstab will fail (non-fatally and
repeating the attempt after your in full multiuser mode works just
fine)... I was asking about how to structure the dir's and from what
you described I don't think it solves the problem completely because
the Desktop dir/folder has two completely different means under both
OS's and besides many symlinks (most not documented anywhere) are
likelly needed so the purpose of the question was attempting to
automate this and/or minimize the number of symlinks (because to
windows the will not translate to shortcuts if I understand the guts
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using sys/fusefs-ntfs as the home dir

2008-08-19 Thread Aryeh Friedman
On Tue, Aug 19, 2008 at 10:59 PM, Aryeh Friedman
[EMAIL PROTECTED] wrote:
 For the last couple of months I have stopped using a dual boot machine due to:

 1. Not having an activated copy of vista (fixed)
 2. Wine handling 90% of my common needs up to last week (NBC is
 broadcasting the olympics in a format wine can't handle and most of my
 games don't work [and the ones that do have no audio])

 thus I am going back to a dual boot setup with the following config (I hope):

 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)?

 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


Forgot one big qualifier to thue question... I want it so my firefox
and thunderbird folders are the same location on both OS's and that if
I dl mail/add a bookmark/etc that both OS's will handle it correctly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]