The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Windows machine with NFS-Client jagnikam UNIX for Advanced & Expert Users 1 02-12-2008 01:10 AM
CIFS Code Opened for Windows File Sharing - Redmond Developer News iBot UNIX and Linux RSS News 0 12-16-2007 10:20 AM
VPN client (windows Box),and Server (Unix Box) zillah UNIX for Advanced & Expert Users 0 05-10-2005 12:10 AM
ntp client windows xp bubba112557 Windows & DOS: Issues & Discussions 1 02-01-2005 06:36 AM
X-Client for Windows? cyberbloodgoat UNIX for Dummies Questions & Answers 4 09-07-2001 08:48 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-08-2007
Registered User
 

Join Date: Apr 2007
Posts: 74
a question on CIFS on windows client.

Hi, this might be a little off-topic (since it involves windows)

1) I mounted a volume using cifs on windows. That volume has a symbolic link (which was created using a solaris client) Is there anyway to know from my windows client that a particular file is actually a symbolic link ??

2) The volume has a sparse file so that the logical size of the file is very big compared to its actual size on disk. However on my windows client, RightClick->Properties shows size of the file same as its size on disk. Is there anyway from my windows client to know that the file is sparse and has holes ?

Any help will be appreciated !! Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-08-2007
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,422
Quote:
Originally Posted by the_learner View Post
1) I mounted a volume using cifs on windows. That volume has a symbolic link (which was created using a solaris client) Is there anyway to know from my windows client that a particular file is actually a symbolic link ??
Personally I don't think so. CIFS is a Microsoft protocol. Microsoft does not have the notion of symbolic links (Windows shortcuts is closest in concept but it is mostly desktop-oriented and is like other ordinary file and bears no special significance even on MS filesystems). So, it is reasonable that the Unix driver needs to mask this too. The filesystem on Unix will not prevent you from creating links, but the driver needs to interpret it as either following the link, or denying access subject to configuration.

Someone actually contrived an even more innovative question similar to yours before for masking symbolic links as shortcuts:

http://lists.samba.org/archive/samba...il/013312.html
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:01 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0