automatically mounted filesysystems in /media



Hello,

I just partitioned an external USB hard drive, creating one 40GB vfat
(/dev/sdb1) and on 40GB ext3 (/dev/sdb2) filesystem. When I'm logged
into KDE, the system automatically mounts the two filesystems as /
media/disk (/dev/sdb1) and /media/disk-1 (/dev/sdb2).

How do I change the names that these are automatically mounted with?
I realize I could manually mount them using the fstab, but this
external storage is attaching to a laptop and will not always be
connected.

The vfat filesystem (/dev/sdb1) mounts with permissions set to 755 and
the ext3 filesystem (/dev/sdb2) mounts with 777. I tried performing
"chmod 777 disk" as root to modify the vfat filesystems but it doesn't
change. Any thoughts on why these filesystems mount with different
permissions? Any ideas on how to change the permissions to 777 for
both filesystems?

It also seems that files I create within these filesystems have
different permissions; my umask is 0022. Files I create in the vfat
filesystem have permissions 755 and files I create in the ext3
filesystem have 644. Any thoughts on why this is?

Thanks!

Rob Ramsey

.



Relevant Pages

  • Re: [patch 7/8] allow unprivileged mounts
    ... into an rlimit early. ... between caring about rlimits and user mounts. ... Going a little farther any filesystem that is safe to put on a usb ... But with block filesystems, the user would still need access to the ...
    (Linux-Kernel)
  • Re: VFS + path walktrough
    ... That you have quite forgotten about mounts. ... Only for those filesystems who *really* want to do it by ... than no chance of fast lookups at all. ... Patches / Fixes for a lot dozens of packages in dozens of versions: ...
    (Linux-Kernel)
  • Re: Solaris 9 does not want to boot anymore -- SOLVED
    ... you normally only see NFS mounts in /etc/vfstab if those ... filesystems are essential to the system starting up, ... Automount maps can be shared across a network if you have several ...
    (comp.unix.solaris)
  • Re: Solaris 9 does not want to boot anymore -- SOLVED
    ... you normally only see NFS mounts in /etc/vfstab if those ... filesystems are essential to the system starting up, ... Automount maps can be shared across a network if you have several ...
    (comp.sys.sun.admin)
  • Odd NFS issues
    ... I basically mounting some filesystems off another Debian box (also ... The mounts have myteriously turned into hyphons and I cannot access them ... with the same options on the server side. ... Interestingly, I have several clients all mounting the same stuff, and ...
    (Debian-User)