Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab i mtab a montowanie partycji
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
kotecek
n00b
n00b


Joined: 15 Jul 2013
Posts: 5

PostPosted: Tue Aug 13, 2013 12:34 pm    Post subject: fstab i mtab a montowanie partycji Reply with quote

Czesc!

mam problem zwiazany z podmontowaniem partycji windowsowej (ntfs). moj fstab jest moim zdaniem poprawny ale mtab pokazuje inne opcje etc.

fstab:
Quote:

# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sdb1 /boot ext2 noauto,noatime 1 2
/dev/sdb3 / ext4 noatime 0 1
/dev/sdb2 none swap sw 0 0
#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0

/dev/sda2 /mnt/C ntfs rw,users,nosuid,auto 0 0
/dev/sda3 /mnt/D ntfs rw,users,nosuid,auto 0 0
/dev/sda4 /mnt/E ntfs rw,users,nosuid,auto 0 0


mtab:
Quote:

rootfs / rootfs rw 0 0
proc /proc proc rw,relatime 0 0
udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=501070,mode=755 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
/dev/sdb3 / ext4 rw,noatime,commit=0 0 0
tmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
cgroup_root /sys/fs/cgroup tmpfs rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755 0 0
openrc /sys/fs/cgroup/openrc cgroup rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc 0 0
cpuset /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cpuacct /sys/fs/cgroup/cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpuacct 0 0
/dev/sda2 /mnt/C ntfs ro,nosuid,noexec,nodev 0 0
/dev/sdb1 /boot ext2 rw,noatime 0 0
/dev/sda1 /run/media/tomek/34AC5C61AC5C2022 ntfs ro,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177,uhelper=udisks2 0 0
/dev/sda3 /mnt/D ntfs ro 0 0
/dev/sda4 /mnt/E ntfs ro,nosuid,noexec,nodev 0 0



to u gory to z poziomu zwyklego uzytkownika pod kde.

spod roota dostep (przez terminal oczywiscie) do tych partycji mam tam gdzie jest podmontowalem ale nie wiem nawet jakie opcje maja one ustawione (w kazdym razie na pewno nie te z fstaba bo sa tylko do odczytu).


moge was prosic o pomoc zwiazana z ustawieniem tych partycji jako mozliwe do odczytu i zapisu dla kazdego usera?

z gory bardzo dziekuje za pomoc.
Back to top
View user's profile Send private message
SlashBeast
Moderator
Moderator


Joined: 23 May 2006
Posts: 2825

PostPosted: Tue Aug 13, 2013 3:24 pm    Post subject: Reply with quote

Z tego co pamietam, sterownik ntfs w kernelu ogarnia tylko read-only, to raz. Dwa, opcja mode= dla mountpointu pozwoli ustawic prawa, podobnie user= i group=.

Jak chcesz read-write i dostep przez innych, musisz chyba uzyc ntfs-3g, pamietaj o opcji allow_others, inaczej moze byc zonk (fuse).
_________________
BitBucket -- better-initramfs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
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