You are not logged in.
Hello you guys! I'm new to arch, moved from Ubuntu...
First of all, congrats to the devs, this is a really great distro!!
Well, I don't know how to make my ntfs partition to mount only when I want (not on boot). Here is my fstab:
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0/dev/fd0 /mnt/fd0 vfat user,noauto 0 0
/dev/sda5 / ext3 defaults 0 1
/dev/sda6 swap swap defaults 0 0
/dev/sda2 /mnt/Arquivos ext3 defaults 0 2
/dev/sda1 /mnt/Windows ntfs-3g users,noauto,uid=0,gid=100,fmask=0113,dmask=0002,locale=pt_BR.utf8 0 0
I want to set root as the owner of the ntfs partition, but users could mount it too. May you guys help me on this?
PS: sorry for my english, I'm brazilian...
Last edited by pain of salvation (2007-05-22 01:18:20)
Offline
I think udev does this. Mine is set to noauto as well and they still mount (I don't mind though).
Matt
"It is very difficult to educate the educated."
Offline
if you have hal starting at boot, chances are that it( tool like gnome-voulme-mnager,etc) mounts it automatically ...
Last edited by raeven (2007-05-22 14:06:17)
Offline
Yeah, I have hal starting at boot.
So I will take that "noauto" off my fstab..
anyway, thanks!
Offline
Hi,
This is a guess thought but it works in my Arch so it might works with you. This is a extract of my fstab and I confirm you that the Windows partition (my Windows partition is the C drive, only the OS, since my personal data is in a D drive) is not auto mounted but only when I want. The only difference is that regular users can't do it, only root. But, do you really need that, I mean, everyone being able to access the Windows OS files?
/
dev/hda1 /media/WINDOWS ntfs noauto,nls=utf8,umask=0222 0 0
PS: I've noticed that your are Brazilian but my answer in English because everyone here uses it (no entanto eu sou Português)...
Um abraço.
DerA (pt_PT)
What one fool can do, another can. - Ancient Simian Proverb
Offline
oh, i forgot .... if you have gnome-volume-manager installed ... then you should be able to configure auto mounting, etc.. via /usr/bin/gnome-volume-properties
Offline
Three noob questions:
1. Why /media and not /mnt? Whats the difference?
2. Should I put my /dev/sda2 to mount in /media/Arquivos instead of /mnt/Arquivos?
3. Is "0222" the same thing of "222"? Why the zero?
Dera, it worked, but I set umask=022, not 0222, 'cause I want root to have permission to write (I have installed ntfs-3g)
Last edited by pain of salvation (2007-05-23 18:57:26)
Offline
Hello you guys! I'm new to arch, moved from Ubuntu...
First of all, congrats to the devs, this is a really great distro!!
Well, I don't know how to make my ntfs partition to mount only when I want (not on boot).
I want to set root as the owner of the ntfs partition, but users could mount it too. May you guys help me on this?
Use this trick: http://wiki.archlinux.org/index.php/HAL … le_devices
to live is to die
Offline
Three noob questions:
1. Why /media and not /mnt? Whats the difference?
2. Should I put my /dev/sda2 to mount in /media/Arquivos instead of /mnt/Arquivos?
3. Is "0222" the same thing of "222"? Why the zero?
Dera, it worked, but I set umask=022, not 0222, 'cause I want root to have permission to write (I have installed ntfs-3g)
1. FHS (Filesystem Hierarchy Standard) says that /media should be used for mounting removable media, while /mnt - for (temporary) mounting of other filesystems.
2. mount other local partitions to /mnt
3. I don't know, I always use 3-digit umask/dmask/fmask.
To allow any user write to vfat and get correct file/dir permissions I use:
quiet,nodev,nosuid,noexec,noatime,dmask=000,fmask=111
Last edited by Romashka (2007-05-24 09:24:59)
to live is to die
Offline
Ubuntu mounts everything on /media
Offline
Ok, now its working as it should be (I think).
ntfs is not automounting at boot, and its in /mnt now.
My fstab:
/dev/sda5 / ext3 defaults 0 1
/dev/sda6 swap swap defaults 0 0
/dev/sda2 /mnt/arquivos ext3 rw,auto,users, 0 2
/dev/sda1 /mnt/windows ntfs-3g noauto,noexec,nls=utf8,umask=0022 0 0
Last edited by pain of salvation (2007-05-24 17:34:34)
Offline