View previous topic :: View next topic |
Author |
Message |
gtr-xu1 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Nov 2004 Posts: 88 Location: Australia
|
Posted: Tue Dec 21, 2004 12:10 pm Post subject: can manually mount but no fstab <solved> |
|
|
I am sure this issue would been covered before so thanks for any suggestions.
I can mount my ntfs drive manually but i cannot get it to auto mount through fstab. Do I have to add anything to the <opts> section? i will post part of my fstab below.
Also, once that is done, what is the easiest way (cli) to set permissions on that drive - (write access for a non-root user).
Is it as simple as adding the user to a specific group?
Laters
Code: |
# <fs> <mountpoint> <type> <opts> <dump/pass>
#SATA Drive
/dev/sda1 /mnt/sata/windows ntfs noatime 0 0
/dev/sda5 /mnt/sata/storage ntfs noatime 0 0
/dev/sda3 /mnt/sata/fat_drv vfat noatime 0 0
|
Last edited by gtr-xu1 on Wed Dec 22, 2004 12:10 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neotyk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Chinese.jpg)
Joined: 23 Mar 2004 Posts: 37 Location: Mind?
|
Posted: Tue Dec 21, 2004 1:18 pm Post subject: |
|
|
hi gtr-xu1,
You probably can mount it from fstab, but you can't see files on this device if you aren't root, because: man mount wrote: | Mount options for ntfs
iocharset=name
Character set to use when returning file names. Unlike VFAT, NTFS suppresses names that contain
unconvertible characters.
utf8 Use UTF-8 for converting file names.
uni_xlate=[0|1|2]
For 0 (or `no' or `false'), do not use escape sequences for unknown Unicode characters. For 1 (or
`yes' or `true') or 2, use vfat-style 4-byte escape sequences starting with ":". Here 2 give a lit-
tle-endian encoding and 1 a byteswapped bigendian encoding.
posix=[0|1]
If enabled (posix=1), the file system distinguishes between upper and lower case. The 8.3 alias
names are presented as hard links instead of being suppressed.
uid=value, gid=value and umask=value
Set the file permission on the filesystem. The umask value is given in octal. By default, the
files are owned by root and not readable by somebody else.
|
By useing uid, gid, and masks, you can change permissions, and as far as ntfs goes you should *not* use write feature, it's very limited and insecure.
Good luck,
H. _________________ yes, yes, no, no
[img:5b0d5ae295]http://jobble.uaznia.net/images/antypixel/Jobblemap.png[/img:5b0d5ae295] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gtr-xu1 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Nov 2004 Posts: 88 Location: Australia
|
Posted: Tue Dec 21, 2004 9:51 pm Post subject: |
|
|
thanks neotyk
Quote: |
You probably can mount it from fstab, but you can't see files on this device if you aren't root |
No and Yes - the drive is not mounting from fstab I get the following bootup messages:
"special device sda5 does not exist" and "some filesystems failed to mount"
After bootup I can mount all drives manually and browse them as root without any problems. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neotyk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Chinese.jpg)
Joined: 23 Mar 2004 Posts: 37 Location: Mind?
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gtr-xu1 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 Nov 2004 Posts: 88 Location: Australia
|
Posted: Wed Dec 22, 2004 12:09 pm Post subject: |
|
|
yep fixed it now thanks a lot for pointing out the gid and uid stuff. I did some extra reading up on it and have also managed (after a lot more trouble) to get a friends Fedora to read his ntfs as well.
Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neotyk n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/South_Park_-_Chinese.jpg)
Joined: 23 Mar 2004 Posts: 37 Location: Mind?
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|