Re: /etc/fstab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rui Miguel Seabra wrote:

On Thu, 2003-02-06 at 09:12, David Sudjiman wrote:

Dear Senior,

I'm using rh80 and curious about the /etc/fstab (I did man fstab)
1. I found
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
what are that for?

System virtual devices you usually need.
tmpfs is a filesystem that resides in RAM.


2. I have my win partition and I need it to be available on linux. Then I
add this line to my /etc/fstab
/dev/hda1 /mnt/win vfat defaults 0 0

but then I found that only root can write to this partition.. how can I make
every user in can write to this?

TIMTOWTDI...

edit /etc/security/console.perms and base upon floppy and disk...
Add this to # device classes -- these are shell-style globs
<windows>=/dev/hda1,/mnt/win

And then add this to # permission definitions
<console> 0660 <windows> 0660 root.disk

change your fstab entry to:

/dev/hda1 /mnt/win vfat defaults,owner,rw 0 0

Now, I'm saying this by heart, so there may still be some rough edge to
adjust, but it's a good starting point.

Another (faster) way to do it, is:
/dev/hda1 /mnt/win vfat defaults,user,uid=YOURUID,gid=YOURGID 0
0

But this is not so neat :)


A shorter one:
  /dev/hda1    /mnt/win    vfat    noauto,user    0    0

Then everybody can mount it and xrw the files.



JD





--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux