Re: [Samba] FAT32 format HDD recognizes as NTFS

2009-08-27 Thread Helmut Hullen
Hallo, Sallow,

Du meintest am 27.08.09:

 3. Using Map Network Drive of Windows XP to map the HDD to a
 windows network drive.
 4.Open the mapped network drive, can see NTFS file system on the
 left details.

[...]

 Why samba has this purpose? I think it shows right info that can make
 user more clearly.

As John H. Terpstra has already told:
man smb.conf

shows the option fstype; its default is NTFS.

Viele Gruesse!
Helmut
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] FAT32 format HDD recognizes as NTFS

2009-08-26 Thread Sallow Yang
Hi,

The following are my steps:
1. Insert a FAT32 format HDD into usb port of Linux PC.
2. After HDD mounted successfully, configure and start samba to share the
HDD.
3. Using Map Network Drive of Windows XP to map the HDD to a windows network
drive.
4.Open the mapped network drive, can see NTFS file system on the left
details.

It shows the wrong info, could anybody help me?
Thanks in advance!!

-- 
Best Regards,
Sallow Yang
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] FAT32 format HDD recognizes as NTFS

2009-08-26 Thread Jonathon Doran

Quoting Sallow Yang sallow.y...@gmail.com:


Hi,

The following are my steps:
1. Insert a FAT32 format HDD into usb port of Linux PC.
2. After HDD mounted successfully, configure and start samba to share the
HDD.
3. Using Map Network Drive of Windows XP to map the HDD to a windows network
drive.
4.Open the mapped network drive, can see NTFS file system on the left
details.

It shows the wrong info, could anybody help me?
Thanks in advance!!


Samba allows a directory your Linux box to appear to be an NTFS  
volume.  That is its purpose.  It really doesn't matter what the  
original filesystem is:  you can export an ext3 filesystem, ext4, xfs,  
FAT32... whatever the original filesystem is, the Samba clients (for  
example your XP machine) will see it as an NTFS volume.


This isn't really all that different (in my opinion) from the way that  
NFS will make directories appear as NFS volumes.  It didn't matter  
what the original filesystem was in that case either.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] FAT32 format HDD recognizes as NTFS

2009-08-26 Thread Michael Heydon



4.Open the mapped network drive, can see NTFS file system on the left
details.

It shows the wrong info, could anybody help me?
Thanks in advance!!
My theory is that it has to do with the capabilities of the file system. 
Samba is presenting a FS that has ownership and permission capabilities, 
Windows only knows of one FS that supports those capabilities, therefore 
it must be NTFS.


I doubt it has any real effect, it's not like Windows will try to run 
chkdsk on it or anything.
Samba allows a directory your Linux box to appear to be an NTFS 
volume.  That is its purpose.  It really doesn't matter what the 
original filesystem is:  you can export an ext3 filesystem, ext4, xfs, 
FAT32... whatever the original filesystem is, the Samba clients (for 
example your XP machine) will see it as an NTFS volume.

The client should really see it as a SMB or CIFS volume rather than NTFS.

This isn't really all that different (in my opinion) from the way that 
NFS will make directories appear as NFS volumes.  It didn't matter 
what the original filesystem was in that case either.
I would have said it was closer to exporting an ext3 FS over NFS and the 
client reporting that it is reiser.


*Michael Heydon - IT Administrator *
micha...@jaswin.com.au mailto:micha...@jaswin.com.au

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] FAT32 format HDD recognizes as NTFS

2009-08-26 Thread Sallow Yang
2009/8/27 Jonathon Doran j...@doransw.com

 Quoting Sallow Yang sallow.y...@gmail.com:

  Hi,

 The following are my steps:
 1. Insert a FAT32 format HDD into usb port of Linux PC.
 2. After HDD mounted successfully, configure and start samba to share the
 HDD.
 3. Using Map Network Drive of Windows XP to map the HDD to a windows
 network
 drive.
 4.Open the mapped network drive, can see NTFS file system on the left
 details.

 It shows the wrong info, could anybody help me?
 Thanks in advance!!


 Samba allows a directory your Linux box to appear to be an NTFS volume.
  That is its purpose.  It really doesn't matter what the original filesystem
 is:  you can export an ext3 filesystem, ext4, xfs, FAT32... whatever the
 original filesystem is, the Samba clients (for example your XP machine) will
 see it as an NTFS volume.

Why samba has this purpose? I think it shows right info that can make user
more clearly.

Is the display error easy to be fixed by samba?


 This isn't really all that different (in my opinion) from the way that NFS
 will make directories appear as NFS volumes.  It didn't matter what the
 original filesystem was in that case either.
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba


Thanks for your reply!

-- 
Best Regards,
Sallow Yang
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] FAT32 format HDD recognizes as NTFS

2009-08-26 Thread Sallow Yang
2009/8/27 Michael Heydon micha...@jaswin.com.au


  4.Open the mapped network drive, can see NTFS file system on the left
 details.

 It shows the wrong info, could anybody help me?
 Thanks in advance!!

 My theory is that it has to do with the capabilities of the file system.
 Samba is presenting a FS that has ownership and permission capabilities,
 Windows only knows of one FS that supports those capabilities, therefore it
 must be NTFS.


But I think windows NTFS supports ownership and permission that is different
from the samba's, am I right? How do they correspond?


 I doubt it has any real effect, it's not like Windows will try to run
 chkdsk on it or anything.


I don't know if there is any effect or not.


  Samba allows a directory your Linux box to appear to be an NTFS volume.
  That is its purpose.  It really doesn't matter what the original filesystem
 is:  you can export an ext3 filesystem, ext4, xfs, FAT32... whatever the
 original filesystem is, the Samba clients (for example your XP machine) will
 see it as an NTFS volume.

 The client should really see it as a SMB or CIFS volume rather than NTFS.

  This isn't really all that different (in my opinion) from the way that NFS
 will make directories appear as NFS volumes.  It didn't matter what the
 original filesystem was in that case either.

 I would have said it was closer to exporting an ext3 FS over NFS and the
 client reporting that it is reiser.

 *Michael Heydon - IT Administrator *
 micha...@jaswin.com.au mailto:micha...@jaswin.com.au


 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba


Thanks for your reply!

-- 
Best Regards,
Sallow Yang
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] FAT32 format HDD recognizes as NTFS

2009-08-26 Thread John Drescher
 Why samba has this purpose? I think it shows right info that can make user
 more clearly.

 Is the display error easy to be fixed by samba?


In my opinion the display error is on the windows side. It should not
be guessing what filesystem type a remote server is using.

-- 
John M. Drescher
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] FAT32 format HDD recognizes as NTFS

2009-08-26 Thread John H Terpstra - Samba Team
On 08/26/2009 08:58 PM, Jonathon Doran wrote:
 Quoting Sallow Yang sallow.y...@gmail.com:
 
 Hi,

 The following are my steps:
 1. Insert a FAT32 format HDD into usb port of Linux PC.
 2. After HDD mounted successfully, configure and start samba to share the
 HDD.
 3. Using Map Network Drive of Windows XP to map the HDD to a windows
 network
 drive.
 4.Open the mapped network drive, can see NTFS file system on the left
 details.

 It shows the wrong info, could anybody help me?
 Thanks in advance!!
 
 Samba allows a directory your Linux box to appear to be an NTFS volume. 
 That is its purpose.  It really doesn't matter what the original
 filesystem is:  you can export an ext3 filesystem, ext4, xfs, FAT32...
 whatever the original filesystem is, the Samba clients (for example your
 XP machine) will see it as an NTFS volume.
 
 This isn't really all that different (in my opinion) from the way that
 NFS will make directories appear as NFS volumes.  It didn't matter what
 the original filesystem was in that case either.

Please refer to the man page for smb.conf. Look up the parameter fstype.

- John T.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] FAT32 format HDD recognizes as NTFS

2009-08-26 Thread Sallow Yang
2009/8/27 John H Terpstra - Samba Team j...@samba.org

 On 08/26/2009 08:58 PM, Jonathon Doran wrote:
  Quoting Sallow Yang sallow.y...@gmail.com:
 
  Hi,
 
  The following are my steps:
  1. Insert a FAT32 format HDD into usb port of Linux PC.
  2. After HDD mounted successfully, configure and start samba to share
 the
  HDD.
  3. Using Map Network Drive of Windows XP to map the HDD to a windows
  network
  drive.
  4.Open the mapped network drive, can see NTFS file system on the left
  details.
 
  It shows the wrong info, could anybody help me?
  Thanks in advance!!
 
  Samba allows a directory your Linux box to appear to be an NTFS volume.
  That is its purpose.  It really doesn't matter what the original
  filesystem is:  you can export an ext3 filesystem, ext4, xfs, FAT32...
  whatever the original filesystem is, the Samba clients (for example your
  XP machine) will see it as an NTFS volume.
 
  This isn't really all that different (in my opinion) from the way that
  NFS will make directories appear as NFS volumes.  It didn't matter what
  the original filesystem was in that case either.

 Please refer to the man page for smb.conf. Look up the parameter fstype.


 fstype (S)

This parameter allows the administrator to configure the string that
specifies the type of filesystem a share is using that is reported by smbd
(8) http://sepp.oetiker.ch/samba-3.0.23c-to/help/manpages/smbd.8.html when
a client queries the filesystem type for a share. The default type is
NTFSfor compatibility with Windows NT but this can be changed to other
strings
such as Samba or FAT if required.

Default: *fstype = NTFS *

Example: *fstype = Samba *

 When I set fstype = FAT32 in smb.conf, it can show FAT32 file system in
the Windows side.
 It's the right result, thanks John T!!


 - John T.
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/options/samba




-- 
Best Regards,
Sallow Yang
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba