Sponsored Content
Top Forums UNIX for Advanced & Expert Users Mounting ntfs through network??? Post 21046 by auswipe on Thursday 9th of May 2002 11:08:05 AM
Old 05-09-2002
You just need to set the Windows share at the root dir of the partition in question. Under NT/2000 there is an administrative share such as c$, d$, etc.

At the house, I setup the Win98 machines with shares at the root level with names like "c_drive". You can then mount the share with samba and have full access to the drive.

Here is a sample of mounting another machine in the house with samba for full drive access:

Code:
FreeBSD:joeuser:/home/joeuser $ su
Password:
FreeBSD:root:/home/joeuser $ mount -t smbfs //targetmachine/c_drive /targetmachine/
Password:
FreeBSD:root:/home/joeuser $ cd /targetmachine/
FreeBSD:root:/targetmachine $ ls -al
total 6023
drwxr-xr-x   1 root  wheel    16384 Dec 31  1969 .
drwxr-xr-x  23 root  wheel      512 Apr 24 09:15 ..
-rwxr-xr-x   1 root  wheel       24 Sep  1  2001 AUTOEXEC.001
-rwxr-xr-x   1 root  wheel       72 Nov 12 18:11 AUTOEXEC.BAT
drwxr-xr-x   1 root  wheel    16384 Sep  1  2001 BC5
drwxr-xr-x   1 root  wheel    16384 Dec 21 14:01 BDE
drwxr-xr-x   1 root  wheel    16384 Sep  1  2001 BDE32
-rwxr-xr-x   1 root  wheel    56288 Nov 11 16:34 BOOTLOG.PRV
-rwxr-xr-x   1 root  wheel    57847 Nov 11 17:54 BOOTLOG.TXT
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 Banshee
drwxr-xr-x   1 root  wheel    16384 Apr  4 21:13 CDNOW
drwxr-xr-x   1 root  wheel    16384 Oct 31  2001 CHEESE
-rwxr-xr-x   1 root  wheel    93890 Apr 23  1999 COMMAND.COM
-rwxr-xr-x   1 root  wheel        0 Feb  5  2001 CONFIG.SYS
-rwxr-xr-x   1 root  wheel    68748 Jan  1  1997 DETLOG.TXT
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 EPSON
drwxr-xr-x   1 root  wheel    16384 Feb 19  2001 FOX
-rwxr-xr-x   1 root  wheel     1012 Jan  1  1997 FRUNLOG.TXT
-rwxr-xr-x   1 root  wheel   222390 Apr 23  1999 IO.SYS
drwxr-xr-x   1 root  wheel    16384 Jan  1 20:11 Images
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 Internet
drwxr-xr-x   1 root  wheel    16384 Nov 12 18:11 KPCMS
-rwxr-xr-x   1 root  wheel  1047960 Nov 11 17:53 LANCopyFile.txt
-rwxr-xr-x   1 root  wheel      118 Nov 11 18:08 LANTest.Log
-rwxr-xr-x   1 root  wheel    24576 Nov 11 19:41 LANTest.exe
drwxr-xr-x   1 root  wheel    16384 Nov 11 14:21 Lantest
-rwxr-xr-x   1 root  wheel       22 Dec 31  1996 MSDOS.---
-rwxr-xr-x   1 root  wheel     1676 Jan  1  1997 MSDOS.SYS
drwxr-xr-x   1 root  wheel    16384 Dec 21 12:59 Music Videos
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 My Documents
drwxr-xr-x   1 root  wheel    16384 Feb 19  2001 My Music
-rwxr-xr-x   1 root  wheel     9014 Feb  5  2001 NETLOG.TXT
drwxr-xr-x   1 root  wheel    16384 Dec 31  1996 Program Files
drwxr-xr-x   1 root  wheel    16384 Feb  5  2001 RECYCLED
FreeBSD:root:/targetmachine $ cd /
FreeBSD:root:/ $ umount /targetmachine/
FreeBSD:root:/ $ cd targetmachine/
FreeBSD:root:/targetmachine $ ls -al
total 4
drwxr-xr-x   2 root  wheel  512 Apr 24 09:14 .
drwxr-xr-x  23 root  wheel  512 Apr 24 09:15 ..
FreeBSD:root:/targetmachine $

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mounting across network

Ok I have 3 unix boxes all running Solaris 7 , 2 of them have storeedge a1000s on them. I want a nfsmount from the third system to both the a1000s accross the network. can this be done and if so how. i want to remote mount these so i can transwer data faster and easyer for backups. (3 Replies)
Discussion started by: Thump
3 Replies

2. UNIX for Dummies Questions & Answers

Mounting a Windows Network Drive on Solaris 10

Hi, I have a Solaris 10 OS. I would like to map a network drive to a Windows machine. I have typed the following command #mount 192.1.1.1:/content_dir /windows 192.1.1.1 - ip address of my windows box content_dir - directory that I have shared out to others users on my windows box... (3 Replies)
Discussion started by: annointed3
3 Replies

3. Red Hat

Mounting NTFS filesystem

I'm currently running dual boot Linux & Windows. Linux is Fedora core 3. I've downloaded and installed the rmp that was needed so that I could mount a NTFS filesystem. But when I go to mount the filesystem I'm still getting error's stating it does not support the NTFS filesystem. Also the... (9 Replies)
Discussion started by: woofie
9 Replies

4. BSD

Mounting ext3 & NTFS on PC-BSD!!

I'm having problem mounting ext3 & ntfs partitions on my PC-BSD OS. Can anyone please help me out here. What are the changes required to be done in fstab?? Are there any patches to be installed?? (1 Reply)
Discussion started by: void_man()
1 Replies

5. OS X (Apple)

Mounting USB NTFS External Disk R/W on OSX

Does anyone know an easy way to mount an NTFS (NT File System) external backup drive R/W on OSX? I use one backup drive for both my XP and OSX files via a USB interface. On XP it mounts R/W. On OSX it mounts Read Only :-( I'm growing weary of using flash drives and burning CDs to... (4 Replies)
Discussion started by: Neo
4 Replies

6. Solaris

Mounting a NFS network file system across platforms - Solaris to AIX

Hi all, Kind of an emergency situation, I have to NFS mount an AIX filesystem on to a Sun Solaris OS (5.10). Typically from Sun to Sun is: mount -F nfs <remote file system>/dir <mount point> Which of course doesn't work if the remote file system is another OS (like AIX). Is there... (1 Reply)
Discussion started by: jeffpas
1 Replies

7. Red Hat

mounting ntfs volume in RHEL5

Need a little help here. I am having trouble mounting an NTFS volume in RHEL5, here are the commands. root # mount -t ntfs-3g /dev/sda1 /media/my-volume FATAL: Module fuse not found. ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root root # modprobe fuse FATAL: Module fuse... (5 Replies)
Discussion started by: etcpasswd
5 Replies

8. Emergency UNIX and Linux Support

Problem mounting NTFS file System in REDHAT Enterprise 5

When I am trying to mount my windows partitions in REDHAT Enterprise Linux 5 using these command mount -t ntfs-3g /dev/sda1 /mnt/ntfs I have encountered with the problem mentioned below FATAL: Module fuse not found. ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root I have... (3 Replies)
Discussion started by: dearanik
3 Replies

9. Red Hat

Mounting NTFS Drive through JBOD

Very green to the world of Linux/Unix computing, as I have recently been tasked with getting out internal network set up for incoming data sets we are receiving. Unfortunately our system is Linux/Unix mainly, and the drives that are coming in are SATA NTFS formatted. I'm wondering if there... (0 Replies)
Discussion started by: cbrowne20
0 Replies
SXID(1) 						      General Commands Manual							   SXID(1)

NAME
sxid - check for changes in s[ug]id files and directories SYNOPSIS
sxid [ --config <file> ] [ --nomail ] [ --spotcheck ] [ --listall ] DESCRIPTION
Sxid checks for changes in suid and sgid files and directories based on its last check. Logs are stored by default in /var/log/sxid.log. The changes are then emailed to the address specified in the configuration file. The default location for the config file is /etc/sxid.conf but this can be overridden with the --config option and specifying an alternate location. OUTPUT
The program outputs several different checks concerning the current status of the suid and sgid files and directories on the system on which it was run. This is a basic overview of the format. In the add remove section, new files are preceded by a '+', old ones are preceded by a '-' NOTE: that removed does not mean gone from the filesystem, just that it is no longer sgid or suid. Most of it is pretty easy to understand. On the sections that show changes in the file's info (uid, gid, modes...) the format is old->new. So if the old owner was 'mail' and it is now 'root' then it shows it as mail->root. The list of files in the checks is in the following format: /full/path *user.group MODE (MODE is the 4 digit mode, as in 4755) In the changes section, if the line is preceded by an 'i' then that item has changed inodes since the last check (regardless of any s[ug]id change), if there is an 'm' then the md5sum has changed. If a user or group entry is preceded by a '*' then it's execution bit is set (ie. *root.wheel is suid, root.*wheel is sgid, *root.*wheel is +s). On the forbidden directories, if ENFORCE is enabled an 'r' will precede forbidden items that were succesfully -s'd, and an '!' will show that it was unsuccesfully -s'd (for what ever reason). OPTIONS
-c, --config <file> specifies an alternate configuration file -n, --nomail sends output to stdout instead of emailing, useful for spot checks -k, --spotcheck Checks for changes by recursing the current working directory. Log files will not be rotated and no email sent. All output will go to stdout. -l, --listall Useful when doing --spotcheck or --nomail to list all files that are logged, regardless of changes. AUTHOR
Ben Collins <bcollins@debian.org> REPORTING BUGS
Report bugs to current maintainer Timur Birsh <taem@linukz.org>. SEE ALSO
sxid.conf(5) sXid 4.0.5 January 2002 SXID(1)
All times are GMT -4. The time now is 08:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy