Forum Home
Press F1
 
Thread ID: 53893 2005-01-30 11:25:00 Explain Samba Shares Ash M (46) Press F1
Post ID Timestamp Content User
319452 2005-01-30 11:25:00 Hey,

Not a problem, but I was wondering if someone could explain to me how, I can read and write to a directory on my Linux box from my Windows XP PC when the directory is mounted as a network share.

It appears to XP as an NTFS partition....

How come I can do this yet not write to ext3 etc partitions if they were in the same PC?
Ash M (46)
319453 2005-01-30 13:13:00 The way I understand it when networked:

Windows box tells the Linux box what it wants to do then the Linux box does it.

The way I understand it when Linux and Windows is installed on the same computer:

Windows cannot see the Linux partition :(
Linux does not have these limitations
Rob99 (151)
319454 2005-01-30 18:09:00 How come I can do this yet not write to ext3 etc partitions if they were in the same PC?


Are you asking that because Windows can write to Linux over a network, why can't Windows write to Linux when it's on the same PC (seperate partitions?)

The network is due to Samba and the SMB protocol which Microsoft use for filesharing - as far as Windows is conerned, the shared folder on the Linux machine is just more Windows shares shared over a network - because it doesn't see the filesystem it's writing to and also because Samba does the conversion from the SMB protocol to Ext2.

In comparison, when the filesystems are in the same PC, Linux can write to Windows because it has the ability to read NTFS/FAT32 filesystems, however because Microsoft haven't included the ability to read/write EXT2/ReiserFS file systems with Windows, Windows has no idea what the filesystems are and can't read them.
I know there is a program which you can use in Windows to read the Ext2 and ReiserFS filesystems, so I'm assuming some bright person somewhere has found a way to write to them as well.
CyberChuck (6906)
1