02-26-2009
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hie,
Im having 2 Questions. Please help.
- Do Anyone know how to accessanother HDD using Linux? Ive tried many ways before but unable to do so. Im using 2 HDD, The main Hdd/Partition where my unix is are using Seagate HDD 20GB , another HDD is using Maxtor 20GB. From my seagate Hdd where my... (8 Replies)
Discussion started by: killerserv
8 Replies
2. IP Networking
Ok, here at work, we have Windows computers which login into a MS domain server.
Some of us also have Linux boxes which get a ip address
from the dhcp server. We can see other boxes and see the internet until about 1 week ago.
Now, we still get a ip address but can't see anything within our... (3 Replies)
Discussion started by: natter
3 Replies
3. Programming
I have a struct as follows...
struct A
{
int a;
ucontext_t X; //ucontext_t is another structure
}
How do I define a pointer to the above structure variable X of the type ucontext_t from within another function?
eg. void foo()
{
struct A a;
/////WHAT COMES IN... (1 Reply)
Discussion started by: jacques83
1 Replies
4. Shell Programming and Scripting
Hi All,
Just recently started using a program in Unix for a client. I was sent a script to use but for some reason it's not working. The person who created the script first suggested I may need to edit the first line of the script so that it has the correct path for the csh file: #!/bin/csh -f... (3 Replies)
Discussion started by: gmalt
3 Replies
5. Solaris
Hi, I'm having a problem when attempting to define the OCR location for my 10g RAC setup on Solaris 10. I get the following error:
The specified shared raw partition /dev/did/rdsk/d1s0 may not have the correct permission. Verify that the partition is owned by Oracle user.
As per the Oracle10g... (15 Replies)
Discussion started by: michael.chow
15 Replies
6. Shell Programming and Scripting
Hi,
I have a shell script wherein i am doing some file operations and storing the data in some variables. I am exporting these variables as i need to use them outside shell. Then within the shell i am launching GDB session hoping that i will be able to access the exported variables in the GDB... (2 Replies)
Discussion started by: jsantosh
2 Replies
7. Solaris
Hello,
Wondering if anyone can help me with mounting a file share from my Sun T2000 server running Solaris 10 to my connected 2530 disk array?
I believe I've connected the disk array correctly and I have created a volume on the array using the filesystem (Sun_SAM-FS, RAID-5).
The T2000... (15 Replies)
Discussion started by: DundeeDancer
15 Replies
8. Filesystems, Disks and Memory
Hello
I am having a problem with being able to use my 2nd hard drive as my new os doesn't recognize it. it is /dev/hdb2 and it shows as It is still in my system. it is a 73 gb hard drive and it is useless to me now. I used to have windows XP and had no problem with it,I have since changed to... (2 Replies)
Discussion started by: Donald Spauldin
2 Replies
9. Shell Programming and Scripting
Hi all,
I can’t resolve an array element access issue on (Linux/pdksh) .. So I’m positing for advice.By the way - a friend demonstrated to me - same script works as expected under Solaris.
I have been working on a documentation project where many *.jpg screen shots are used in the... (4 Replies)
Discussion started by: njdpo
4 Replies
10. IP Networking
I hope I'm posting this in the right forum...
Hi, I'm a newbie trying to set up my own home web server. I have an old laptop where I have a LAMP set up.
Virgin Media won't give me a static IP so I am using dyndns, my IP hasn't changed for months anyway...
So the problem is this...
The... (5 Replies)
Discussion started by: Percyval
5 Replies
LEARN ABOUT NETBSD
mount_ntfs
MOUNT_NTFS(8) BSD System Manager's Manual MOUNT_NTFS(8)
NAME
mount_ntfs -- mount an NTFS file system
SYNOPSIS
mount_ntfs [-a] [-i] [-u uid] [-g gid] [-m mask] special node
DESCRIPTION
The mount_ntfs command attaches the NTFS filesystem residing on the device special to the global filesystem namespace at the location indi-
cated by node. Both special and node are converted to absolute paths before use. This command is normally executed by mount(8) at boot
time, but can be used by any user to mount an NTFS file system on any directory that they own (provided, of course, that they have appropri-
ate access to the device that contains the file system).
The supported NTFS versions include both NTFS4, as used by Microsoft Windows NT 4.0, and NTFS5, as used by Microsoft Windows 2000 and XP.
The options are as follows:
-a Force behaviour to return MS-DOS 8.3 names also on readdir().
-i Make name lookup case insensitive for all names except POSIX names.
-u uid Set the owner of the files in the file system to uid. The default owner is the owner of the directory on which the file system is
being mounted.
-g gid Set the group of the files in the file system to gid. The default group is the group of the directory on which the file system is
being mounted.
-m mask
Specify the maximum file permissions for files in the file system.
FEATURES
NTFS file attributes
NTFS file attributes can be accessed in the following way:
foo[[:ATTRTYPE]:ATTRNAME]
'ATTRTYPE' is one of identifier listed in $AttrDef file of volume. Default is $DATA. 'ATTRNAME' is an attribute name. Default is none.
Examples:
To get volume name (in Unicode):
# cat /mnt/$Volume:$VOLUME_NAME
To read directory raw data:
# cat /mnt/foodir:$INDEX_ROOT:$I30
Limited support for writing
There is limited writing ability for files. Limitations:
o file must be non-resident
o file must not contain any holes (uninitialized areas)
o file can't be compressed
Note that it's not currently possible to create or remove files on NTFS filesystems.
Warning: do not mount NTFS filesystems read-write. The write support is not very useful and is not tested well. It's not safe to write to
any file on NTFS; you might damage the filesystem. Unless you want to debug NTFS filesystem code, mount the NTFS filesystem read-only.
SEE ALSO
mount(2), unmount(2), fstab(5), disklabel(8), mbrlabel(8), mount(8)
HISTORY
Support for NTFS first appeared in FreeBSD 3.0. It was ported to NetBSD and first appeared in NetBSD 1.5.
AUTHORS
NTFS kernel implementation, mount_ntfs and this manual were originally written by Semen Ustimenko <semenu@FreeBSD.org>.
The NetBSD port was done by
Christos Zoulas <christos@NetBSD.org> and
Jaromir Dolecek <jdolecek@NetBSD.org>.
BUGS
The write support should be enhanced to actually be able to change file size, and to create and remove files and directories. It's not very
useful right now.
If the attempt to mount NTFS gives you an error like this:
# mount -t ntfs /dev/wd0k /mnt
mount_ntfs: /dev/wd0k on /mnt: Invalid argument
make sure that appropriate partition has correct entry in the disk label, particularly that the partition offset is correct. If the NTFS
partition is the first partition on the disk, the offset should be '63' on i386 (see disklabel(8)). mbrlabel(8) could help you to set up the
disk label correctly.
If the NTFS partition is marked as 'dynamic' under Microsoft Windows XP, it won't be possible to access it under NetBSD anymore.
BSD
October 31, 2001 BSD